GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "fMatrix.h"
Public Types | |
typedef FloatColumnVector | column_vector_type |
typedef bool(* | compare_fcn_type )(typename ref_param< float >::type, typename ref_param< float >::type) |
typedef ref_param< float >::type | crefT |
typedef float | element_type |
typedef FloatRowVector | row_vector_type |
typedef void(* | solve_singularity_handler )(float rcon) |
Static Public Member Functions | |
static Array< float > | cat (int dim, octave_idx_type n, const Array< float > *array_list) |
Protected Attributes | |
dim_vector | dimensions |
Array< float >::ArrayRep * | rep |
float * | slice_data |
octave_idx_type | slice_len |
Private Member Functions | |
FloatMatrix | finverse (MatrixType &mattype, octave_idx_type &info, float &rcon, int force, int calc_cond) const |
FloatMatrix | fsolve (MatrixType &typ, const FloatMatrix &b, octave_idx_type &info, float &rcon, solve_singularity_handler sing_handler, bool calc_cond=false) const |
FloatMatrix | ltsolve (MatrixType &typ, const FloatMatrix &b, octave_idx_type &info, float &rcon, solve_singularity_handler sing_handler, bool calc_cond=false, blas_trans_type transt=blas_no_trans) const |
FloatMatrix | tinverse (MatrixType &mattype, octave_idx_type &info, float &rcon, int force, int calc_cond) const |
FloatMatrix | utsolve (MatrixType &typ, const FloatMatrix &b, octave_idx_type &info, float &rcon, solve_singularity_handler sing_handler, bool calc_cond=false, blas_trans_type transt=blas_no_trans) const |
Friends | |
class | FloatComplexMatrix |
OCTAVE_API FloatMatrix | imag (const FloatComplexMatrix &a) |
OCTAVE_API std::ostream & | operator<< (std::ostream &os, const FloatMatrix &a) |
OCTAVE_API std::istream & | operator>> (std::istream &is, FloatMatrix &a) |
OCTAVE_API FloatMatrix | real (const FloatComplexMatrix &a) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
explicit |
Definition at line 242 of file fMatrix.cc.
|
explicit |
Definition at line 247 of file fMatrix.cc.
|
explicit |
Definition at line 252 of file fMatrix.cc.
References DiagArray2< T >::elem(), Array< float >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 259 of file fMatrix.cc.
References Array< float >::elem(), PermMatrix::is_col_perm(), PermMatrix::pvec(), and PermMatrix::rows().
|
explicit |
Definition at line 274 of file fMatrix.cc.
|
explicit |
Definition at line 279 of file fMatrix.cc.
References Array< T >::cols(), Array< T >::elem(), Array< float >::elem(), and Array< T >::rows().
FloatMatrix FloatMatrix::abs | ( | void | ) | const |
Definition at line 2816 of file fMatrix.cc.
Referenced by finverse(), fsolve(), and rcond().
boolMatrix FloatMatrix::all | ( | int | dim = -1 | ) | const |
Definition at line 2774 of file fMatrix.cc.
References mx_inline_all().
Definition at line 2727 of file fMatrix.cc.
References Array< float >::test_all(), and xis_int_or_inf_or_nan().
Definition at line 2736 of file fMatrix.cc.
References Array< float >::elem(), Array< float >::nelem(), and xisinteger().
Referenced by elem_xpow(), and octave_float_diag_matrix::save_binary().
boolMatrix FloatMatrix::any | ( | int | dim = -1 | ) | const |
Definition at line 2780 of file fMatrix.cc.
References mx_inline_any().
Definition at line 2715 of file fMatrix.cc.
References mx_inline_all_finite().
Referenced by Fsvd(), and FloatEIG::init().
Definition at line 2709 of file fMatrix.cc.
References mx_inline_any_nan().
Referenced by operator!().
Definition at line 2695 of file fMatrix.cc.
References mx_inline_any_negative(), Array< float >::test_all(), and xnegative_sign().
Referenced by elem_xpow().
Definition at line 2702 of file fMatrix.cc.
References mx_inline_any_positive(), Array< float >::test_all(), and xpositive_sign().
Definition at line 2721 of file fMatrix.cc.
References Array< float >::test_all(), and xis_one_or_zero().
FloatMatrix FloatMatrix::append | ( | const FloatMatrix & | a | ) | const |
Definition at line 448 of file fMatrix.cc.
References Array< float >::cols(), Array< T >::cols(), FloatMatrix(), insert(), Array< float >::rows(), and Array< T >::rows().
FloatMatrix FloatMatrix::append | ( | const FloatRowVector & | a | ) | const |
Definition at line 466 of file fMatrix.cc.
References Array< float >::cols(), FloatMatrix(), insert(), Array< T >::length(), and Array< float >::rows().
FloatMatrix FloatMatrix::append | ( | const FloatColumnVector & | a | ) | const |
Definition at line 484 of file fMatrix.cc.
References Array< float >::cols(), FloatMatrix(), insert(), Array< T >::length(), and Array< float >::rows().
FloatMatrix FloatMatrix::append | ( | const FloatDiagMatrix & | a | ) | const |
Definition at line 502 of file fMatrix.cc.
References DiagArray2< T >::cols(), Array< float >::cols(), insert(), DiagArray2< T >::rows(), and Array< float >::rows().
|
inherited |
|
inherited |
|
inlineinherited |
|
inherited |
Reimplemented in DiagArray2< float >.
|
inlineinherited |
|
staticinherited |
Reimplemented in FloatNDArray.
|
inherited |
|
inherited |
Reimplemented in DiagArray2< float >.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Reimplemented in DiagArray2< float >.
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
Reimplemented in DiagArray2< float >.
Definition at line 313 of file Array.h.
Referenced by append(), column_max(), column_min(), determinant(), diag(), fill(), finverse(), fourier(), fourier2d(), fsolve(), ifourier(), ifourier2d(), insert(), is_symmetric(), lssolve(), ltsolve(), operator+=(), operator-=(), operator==(), pseudo_inverse(), rcond(), row_max(), row_min(), stack(), tinverse(), and utsolve().
FloatColumnVector FloatMatrix::column | ( | octave_idx_type | i | ) | const |
Reimplemented from Array< float >.
Definition at line 633 of file fMatrix.cc.
References idx_vector::colon, and Array< float >::index().
Referenced by FloatQR::insert_col(), solve(), FloatQR::update(), FloatLU::update(), and FloatLU::update_piv().
FloatRowVector FloatMatrix::column_max | ( | void | ) | const |
Definition at line 3010 of file fMatrix.cc.
FloatRowVector FloatMatrix::column_max | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 3017 of file fMatrix.cc.
References Array< float >::cols(), Array< T >::elem(), Array< float >::elem(), octave_Float_NaN, FloatRowVector::resize(), Array< T >::resize(), Array< float >::rows(), and xisnan().
FloatRowVector FloatMatrix::column_min | ( | void | ) | const |
Definition at line 2955 of file fMatrix.cc.
FloatRowVector FloatMatrix::column_min | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 2962 of file fMatrix.cc.
References Array< float >::cols(), Array< T >::elem(), Array< float >::elem(), octave_Float_NaN, FloatRowVector::resize(), Array< T >::resize(), Array< float >::rows(), and xisnan().
|
inlineinherited |
Reimplemented in DiagArray2< float >.
Definition at line 314 of file Array.h.
Referenced by inverse().
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
FloatMatrix FloatMatrix::cumprod | ( | int | dim = -1 | ) | const |
Definition at line 2786 of file fMatrix.cc.
References mx_inline_cumprod().
FloatMatrix FloatMatrix::cumsum | ( | int | dim = -1 | ) | const |
Definition at line 2792 of file fMatrix.cc.
References mx_inline_cumsum().
Reimplemented in DiagArray2< float >.
Definition at line 465 of file Array.h.
Referenced by FloatRowVector::operator==(), FloatColumnVector::operator==(), and operator==().
|
inherited |
|
inherited |
|
inherited |
Definition at line 1224 of file fMatrix.cc.
Referenced by determinant(), and Fdet().
FloatDET FloatMatrix::determinant | ( | octave_idx_type & | info | ) | const |
Definition at line 1232 of file fMatrix.cc.
References determinant().
FloatDET FloatMatrix::determinant | ( | octave_idx_type & | info, |
float & | rcon, | ||
int | calc_cond = 1 |
||
) | const |
Definition at line 1239 of file fMatrix.cc.
References determinant().
FloatDET FloatMatrix::determinant | ( | MatrixType & | mattype, |
octave_idx_type & | info, | ||
float & | rcon, | ||
int | calc_cond = 1 |
||
) | const |
Definition at line 1247 of file fMatrix.cc.
References Array< float >::cols(), Array< float >::elem(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), MatrixType::Full, MatrixType::Hermitian, MatrixType::Lower, MatrixType::mark_as_unsymmetric(), MatrixType::Rectangular, Array< float >::rows(), base_det< T >::square(), MatrixType::type(), MatrixType::Unknown, MatrixType::Upper, and xnorm().
FloatMatrix FloatMatrix::diag | ( | octave_idx_type | k = 0 | ) | const |
Reimplemented from Array< float >.
Definition at line 2822 of file fMatrix.cc.
Referenced by octave_float_matrix::diag().
FloatDiagMatrix FloatMatrix::diag | ( | octave_idx_type | m, |
octave_idx_type | n | ||
) | const |
Reimplemented from Array< float >.
Definition at line 2828 of file fMatrix.cc.
References Array< float >::cols(), current_liboctave_error_handler, and Array< float >::rows().
|
inlineinherited |
Reimplemented in DiagArray2< float >.
|
inlineinherited |
Reimplemented in DiagArray2< float >.
|
inlineinherited |
|
inlineinherited |
Reimplemented in DiagArray2< float >.
Definition at line 321 of file Array.h.
Referenced by FloatNDArray::concat(), FloatNDArray::fourier(), FloatNDArray::fourier2d(), FloatNDArray::fourierNd(), FloatNDArray::ifourier(), FloatNDArray::ifourier2d(), and FloatNDArray::ifourierNd().
|
inlineinherited |
Definition at line 366 of file Array.h.
Referenced by FloatNDArray::all_integers(), all_integers(), column_max(), column_min(), FloatNDArray::concat(), determinant(), FloatRowVector::extract(), FloatColumnVector::extract(), FloatRowVector::extract_n(), FloatColumnVector::extract_n(), FloatMatrix(), is_symmetric(), FloatRowVector::max(), FloatColumnVector::max(), FloatRowVector::min(), FloatColumnVector::min(), operator+=(), operator-=(), row_max(), and row_min().
|
inlineinherited |
Reimplemented in DiagArray2< float >.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Reimplemented in DiagArray2< float >.
|
inlineinherited |
|
inlineinherited |
FloatMatrix FloatMatrix::extract | ( | octave_idx_type | r1, |
octave_idx_type | c1, | ||
octave_idx_type | r2, | ||
octave_idx_type | c2 | ||
) | const |
Definition at line 608 of file fMatrix.cc.
References Array< float >::index().
Referenced by pseudo_inverse().
FloatMatrix FloatMatrix::extract_n | ( | octave_idx_type | r1, |
octave_idx_type | c1, | ||
octave_idx_type | nr, | ||
octave_idx_type | nc | ||
) | const |
Definition at line 618 of file fMatrix.cc.
References Array< float >::index().
FloatMatrix & FloatMatrix::fill | ( | float | val | ) |
Definition at line 401 of file fMatrix.cc.
References Array< float >::cols(), Array< float >::make_unique(), Array< float >::rows(), and Array< float >::xelem().
Referenced by insert().
FloatMatrix & FloatMatrix::fill | ( | float | val, |
octave_idx_type | r1, | ||
octave_idx_type | c1, | ||
octave_idx_type | r2, | ||
octave_idx_type | c2 | ||
) |
Definition at line 419 of file fMatrix.cc.
References Array< float >::cols(), Array< float >::make_unique(), r2, Array< float >::rows(), and Array< float >::xelem().
|
inherited |
|
private |
Definition at line 737 of file fMatrix.cc.
References abs(), Array< float >::cols(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), MatrixType::mark_as_rectangular(), FloatRowVector::max(), Array< T >::resize(), row(), Array< float >::rows(), and sum().
Referenced by inverse().
Reimplemented in DiagArray2< float >.
Definition at line 467 of file Array.h.
Referenced by FloatNDArray::fourier(), fourier(), FloatNDArray::fourier2d(), fourier2d(), FloatNDArray::fourierNd(), ltsolve(), rcond(), and utsolve().
Reimplemented in DiagArray2< float >.
FloatComplexMatrix FloatMatrix::fourier | ( | void | ) | const |
Definition at line 897 of file fMatrix.cc.
References Array< float >::cols(), octave_fftw::fft(), Array< T >::fortran_vec(), Array< float >::fortran_vec(), and Array< float >::rows().
FloatComplexMatrix FloatMatrix::fourier2d | ( | void | ) | const |
Definition at line 956 of file fMatrix.cc.
References Array< float >::cols(), octave_fftw::fftNd(), Array< T >::fortran_vec(), Array< float >::fortran_vec(), and Array< float >::rows().
|
private |
Definition at line 1756 of file fMatrix.cc.
References abs(), Array< float >::cols(), Array< T >::cols(), current_liboctave_error_handler, F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), MatrixType::Full, MatrixType::Hermitian, MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), FloatRowVector::max(), row(), Array< T >::rows(), Array< float >::rows(), sum(), MatrixType::type(), and xisnan().
Referenced by solve().
Reimplemented from Array< float >.
|
inherited |
|
inherited |
FloatComplexMatrix FloatMatrix::ifourier | ( | void | ) | const |
Definition at line 926 of file fMatrix.cc.
References Array< float >::cols(), Array< T >::fortran_vec(), octave_fftw::ifft(), and Array< float >::rows().
FloatComplexMatrix FloatMatrix::ifourier2d | ( | void | ) | const |
Definition at line 968 of file fMatrix.cc.
References Array< float >::cols(), Array< T >::fortran_vec(), octave_fftw::ifftNd(), and Array< float >::rows().
|
inherited |
Referenced by column(), extract(), extract_n(), and row().
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inherited |
FloatMatrix & FloatMatrix::insert | ( | const FloatMatrix & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 319 of file fMatrix.cc.
FloatMatrix & FloatMatrix::insert | ( | const FloatRowVector & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 327 of file fMatrix.cc.
References Array< float >::cols(), Array< T >::elem(), Array< T >::length(), Array< float >::make_unique(), Array< float >::rows(), and Array< float >::xelem().
FloatMatrix & FloatMatrix::insert | ( | const FloatColumnVector & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 350 of file fMatrix.cc.
References Array< float >::cols(), Array< T >::elem(), Array< T >::length(), Array< float >::make_unique(), Array< float >::rows(), and Array< float >::xelem().
FloatMatrix & FloatMatrix::insert | ( | const FloatDiagMatrix & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 373 of file fMatrix.cc.
References DiagArray2< T >::cols(), Array< float >::cols(), DiagArray2< T >::elem(), fill(), DiagArray2< T >::length(), Array< float >::make_unique(), DiagArray2< T >::rows(), Array< float >::rows(), and Array< float >::xelem().
|
inherited |
|
inherited |
FloatMatrix FloatMatrix::inverse | ( | void | ) | const |
Definition at line 639 of file fMatrix.cc.
Referenced by Finv(), inverse(), pseudo_inverse(), and xpow().
FloatMatrix FloatMatrix::inverse | ( | octave_idx_type & | info | ) | const |
Definition at line 648 of file fMatrix.cc.
References inverse().
FloatMatrix FloatMatrix::inverse | ( | octave_idx_type & | info, |
float & | rcon, | ||
int | force = 0 , |
||
int | calc_cond = 1 |
||
) | const |
Definition at line 656 of file fMatrix.cc.
References inverse().
FloatMatrix FloatMatrix::inverse | ( | MatrixType & | mattype | ) | const |
Definition at line 664 of file fMatrix.cc.
References inverse().
FloatMatrix FloatMatrix::inverse | ( | MatrixType & | mattype, |
octave_idx_type & | info | ||
) | const |
Definition at line 672 of file fMatrix.cc.
References inverse().
FloatMatrix FloatMatrix::inverse | ( | MatrixType & | mattype, |
octave_idx_type & | info, | ||
float & | rcon, | ||
int | force = 0 , |
||
int | calc_cond = 1 |
||
) | const |
Definition at line 819 of file fMatrix.cc.
References Array< float >::columns(), finverse(), FloatMatrix(), FloatCHOL::inverse(), MatrixType::is_hermitian(), MatrixType::Lower, MatrixType::mark_as_unsymmetric(), octave_Float_Inf, FloatCHOL::rcond(), Array< float >::rows(), tinverse(), MatrixType::type(), MatrixType::Unknown, and MatrixType::Upper.
|
inlineinherited |
Reimplemented from Array< float >.
Definition at line 92 of file Array-f.cc.
References ASCENDING, Array< T >::data(), DESCENDING, Array< T >::numel(), UNSORTED, and xisnan().
Definition at line 456 of file Array.h.
Referenced by is_symmetric().
Definition at line 303 of file fMatrix.cc.
References Array< float >::cols(), Array< float >::elem(), Array< float >::is_square(), and Array< float >::rows().
Referenced by FloatEIG::init().
|
inlineinherited |
|
inlineinherited |
Reimplemented in DiagArray2< float >.
Definition at line 274 of file Array.h.
Referenced by FloatRowVector::append(), FloatRowVector::fill(), FloatColumnVector::fill(), FloatRowVector::insert(), FloatColumnVector::insert(), FloatRowVector::max(), FloatColumnVector::max(), FloatRowVector::min(), FloatColumnVector::min(), FloatRowVector::operator==(), FloatColumnVector::operator==(), operator==(), and FloatColumnVector::stack().
|
inherited |
|
inherited |
|
inherited |
FloatMatrix FloatMatrix::lssolve | ( | const FloatMatrix & | b | ) | const |
Definition at line 2257 of file fMatrix.cc.
FloatMatrix FloatMatrix::lssolve | ( | const FloatMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2266 of file fMatrix.cc.
References lssolve().
FloatMatrix FloatMatrix::lssolve | ( | const FloatMatrix & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 2274 of file fMatrix.cc.
References lssolve().
FloatMatrix FloatMatrix::lssolve | ( | const FloatMatrix & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank, | ||
float & | rcon | ||
) | const |
Definition at line 2282 of file fMatrix.cc.
References Array< T >::cols(), Array< float >::cols(), current_liboctave_error_handler, Array< T >::elem(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_FUNC(), F77_XFCN, FloatMatrix(), Array< T >::fortran_vec(), resize(), Array< T >::resize(), Array< T >::rows(), Array< float >::rows(), and xilaenv().
FloatComplexMatrix FloatMatrix::lssolve | ( | const FloatComplexMatrix & | b | ) | const |
Definition at line 2419 of file fMatrix.cc.
References FloatComplexMatrix::lssolve().
FloatComplexMatrix FloatMatrix::lssolve | ( | const FloatComplexMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2429 of file fMatrix.cc.
References FloatComplexMatrix::lssolve().
FloatComplexMatrix FloatMatrix::lssolve | ( | const FloatComplexMatrix & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 2438 of file fMatrix.cc.
References FloatComplexMatrix::lssolve().
FloatComplexMatrix FloatMatrix::lssolve | ( | const FloatComplexMatrix & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank, | ||
float & | rcon | ||
) | const |
Definition at line 2447 of file fMatrix.cc.
References FloatComplexMatrix::lssolve().
FloatColumnVector FloatMatrix::lssolve | ( | const FloatColumnVector & | b | ) | const |
Definition at line 2455 of file fMatrix.cc.
References lssolve().
FloatColumnVector FloatMatrix::lssolve | ( | const FloatColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2464 of file fMatrix.cc.
References lssolve().
FloatColumnVector FloatMatrix::lssolve | ( | const FloatColumnVector & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 2472 of file fMatrix.cc.
References lssolve().
FloatColumnVector FloatMatrix::lssolve | ( | const FloatColumnVector & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank, | ||
float & | rcon | ||
) | const |
Definition at line 2480 of file fMatrix.cc.
References Array< float >::cols(), current_liboctave_error_handler, Array< T >::elem(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_FUNC(), F77_XFCN, Array< T >::fortran_vec(), Array< T >::length(), FloatColumnVector::resize(), Array< T >::resize(), Array< float >::rows(), and xilaenv().
FloatComplexColumnVector FloatMatrix::lssolve | ( | const FloatComplexColumnVector & | b | ) | const |
Definition at line 2576 of file fMatrix.cc.
References FloatComplexMatrix::lssolve().
FloatComplexColumnVector FloatMatrix::lssolve | ( | const FloatComplexColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2586 of file fMatrix.cc.
References FloatComplexMatrix::lssolve().
FloatComplexColumnVector FloatMatrix::lssolve | ( | const FloatComplexColumnVector & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 2596 of file fMatrix.cc.
References FloatComplexMatrix::lssolve().
FloatComplexColumnVector FloatMatrix::lssolve | ( | const FloatComplexColumnVector & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank, | ||
float & | rcon | ||
) | const |
Definition at line 2605 of file fMatrix.cc.
References FloatComplexMatrix::lssolve().
|
private |
Definition at line 1655 of file fMatrix.cc.
References Array< float >::cols(), Array< T >::cols(), current_liboctave_error_handler, F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< float >::fortran_vec(), Array< T >::fortran_vec(), get_blas_char(), MatrixType::Lower, norm(), MatrixType::Permuted_Lower, Array< T >::rows(), Array< float >::rows(), MatrixType::type(), and xisnan().
Referenced by solve().
Definition at line 110 of file Array.h.
Referenced by FloatRowVector::fill(), FloatColumnVector::fill(), fill(), FloatRowVector::insert(), FloatColumnVector::insert(), and insert().
Definition at line 473 of file Array.h.
Referenced by FloatNDArray::matrix_value().
|
inlineinherited |
Reimplemented in DiagArray2< float >.
Definition at line 275 of file Array.h.
Referenced by FloatNDArray::all_integers(), and all_integers().
|
inherited |
Reimplemented in MDiagArray2< float >.
|
inlineinherited |
Reimplemented in DiagArray2< float >.
Definition at line 276 of file Array.h.
Referenced by FloatNDArray::concat(), FloatNDArray::fourier(), FloatNDArray::fourier2d(), FloatNDArray::ifourier(), and FloatNDArray::ifourier2d().
boolMatrix FloatMatrix::operator! | ( | void | ) | const |
Definition at line 2657 of file fMatrix.cc.
References any_element_is_nan(), gripe_nan_to_logical_conversion(), and mx_inline_not().
bool FloatMatrix::operator!= | ( | const FloatMatrix & | a | ) | const |
Definition at line 297 of file fMatrix.cc.
|
inlineinherited |
|
inlineinherited |
Reimplemented in DiagArray2< float >.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Reimplemented in DiagArray2< float >.
|
inlineinherited |
|
inlineinherited |
FloatMatrix & FloatMatrix::operator+= | ( | const FloatDiagMatrix & | a | ) |
Definition at line 2613 of file fMatrix.cc.
References DiagArray2< T >::cols(), Array< float >::cols(), DiagArray2< T >::elem(), Array< float >::elem(), gripe_nonconformant(), DiagArray2< T >::length(), DiagArray2< T >::rows(), and Array< float >::rows().
FloatMatrix & FloatMatrix::operator-= | ( | const FloatDiagMatrix & | a | ) |
Definition at line 2634 of file fMatrix.cc.
References DiagArray2< T >::cols(), Array< float >::cols(), DiagArray2< T >::elem(), Array< float >::elem(), gripe_nonconformant(), DiagArray2< T >::length(), DiagArray2< T >::rows(), and Array< float >::rows().
|
inline |
Definition at line 79 of file fMatrix.h.
References MArray< T >::operator=().
bool FloatMatrix::operator== | ( | const FloatMatrix & | a | ) | const |
Definition at line 288 of file fMatrix.cc.
References Array< float >::cols(), Array< T >::cols(), Array< T >::data(), Array< float >::data(), Array< float >::length(), mx_inline_equal(), Array< float >::rows(), and Array< T >::rows().
|
inherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
Reimplemented from Array< float >.
Reimplemented in DiagArray2< float >.
FloatMatrix FloatMatrix::prod | ( | int | dim = -1 | ) | const |
Definition at line 2798 of file fMatrix.cc.
References mx_inline_prod().
FloatMatrix FloatMatrix::pseudo_inverse | ( | float | tol = 0.0 | ) | const |
Definition at line 858 of file fMatrix.cc.
References Array< float >::cols(), SVD::economy, Array< T >::elem(), FloatColumnVector::extract(), extract(), FloatDiagMatrix::extract_diag(), FloatMatrix(), inverse(), FloatSVD::left_singular_matrix(), Array< T >::length(), FloatSVD::right_singular_matrix(), Array< float >::rows(), FloatComplexSVD::sigma, FloatSVD::singular_values(), transpose(), and V.
Referenced by Fpinv().
Definition at line 1384 of file fMatrix.cc.
Referenced by Frcond().
float FloatMatrix::rcond | ( | MatrixType & | mattype | ) | const |
Definition at line 1391 of file fMatrix.cc.
References abs(), Array< float >::cols(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), Array< float >::fortran_vec(), MatrixType::Full, MatrixType::Hermitian, MatrixType::Lower, MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), FloatRowVector::max(), norm(), octave_Inf, MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, row(), Array< float >::rows(), sum(), MatrixType::type(), MatrixType::Unknown, and MatrixType::Upper.
|
inlineinherited |
Reimplemented from Array< float >.
|
inlineinherited |
|
inline |
Definition at line 136 of file fMatrix.h.
References Array< T >::resize().
Referenced by FloatQR::delete_col(), FloatQR::delete_row(), FloatCHOL::delete_sym(), gammainc(), FloatQR::init(), FloatQRP::init(), FloatCHOL::init(), FloatSVD::init(), FloatQR::insert_col(), FloatQR::insert_row(), FloatCHOL::insert_sym(), and lssolve().
|
inlineinherited |
|
inlineinherited |
Reimplemented in DiagArray2< float >.
|
inlineinherited |
Reimplemented in DiagArray2< float >.
|
inherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
FloatRowVector FloatMatrix::row | ( | octave_idx_type | i | ) | const |
Definition at line 627 of file fMatrix.cc.
References idx_vector::colon, and Array< float >::index().
Referenced by DEFUN_DLD(), finverse(), FloatComplexMatrix::finverse(), fsolve(), FloatComplexMatrix::fsolve(), and rcond().
FloatColumnVector FloatMatrix::row_max | ( | void | ) | const |
Definition at line 2900 of file fMatrix.cc.
FloatColumnVector FloatMatrix::row_max | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 2907 of file fMatrix.cc.
References Array< float >::cols(), Array< T >::elem(), Array< float >::elem(), octave_Float_NaN, FloatColumnVector::resize(), Array< T >::resize(), Array< float >::rows(), and xisnan().
FloatColumnVector FloatMatrix::row_min | ( | void | ) | const |
Definition at line 2845 of file fMatrix.cc.
FloatColumnVector FloatMatrix::row_min | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 2852 of file fMatrix.cc.
References Array< float >::cols(), Array< T >::elem(), Array< float >::elem(), octave_Float_NaN, FloatColumnVector::resize(), Array< T >::resize(), Array< float >::rows(), and xisnan().
|
inlineinherited |
Reimplemented in DiagArray2< float >.
Definition at line 312 of file Array.h.
Referenced by append(), column_max(), column_min(), determinant(), diag(), fill(), finverse(), fourier(), fourier2d(), fsolve(), ifourier(), ifourier2d(), insert(), inverse(), is_symmetric(), lssolve(), ltsolve(), operator+=(), operator-=(), operator==(), pseudo_inverse(), rcond(), row_max(), row_min(), stack(), tinverse(), and utsolve().
FloatMatrix FloatMatrix::solve | ( | MatrixType & | typ, |
const FloatMatrix & | b | ||
) | const |
Definition at line 1942 of file fMatrix.cc.
Referenced by solve(), xdiv(), and xleftdiv().
FloatMatrix FloatMatrix::solve | ( | MatrixType & | typ, |
const FloatMatrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 1950 of file fMatrix.cc.
References solve().
FloatMatrix FloatMatrix::solve | ( | MatrixType & | typ, |
const FloatMatrix & | b, | ||
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 1958 of file fMatrix.cc.
References solve().
FloatMatrix FloatMatrix::solve | ( | MatrixType & | typ, |
const FloatMatrix & | b, | ||
octave_idx_type & | info, | ||
float & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
bool | singular_fallback = true , |
||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 1965 of file fMatrix.cc.
References blas_conj_trans, blas_trans, FloatMatrix(), fsolve(), MatrixType::Full, MatrixType::Hermitian, MatrixType::Lower, lssolve(), ltsolve(), MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, MatrixType::Rectangular, solve(), transpose(), MatrixType::type(), MatrixType::Unknown, MatrixType::Upper, and utsolve().
FloatComplexMatrix FloatMatrix::solve | ( | MatrixType & | typ, |
const FloatComplexMatrix & | b | ||
) | const |
Definition at line 2003 of file fMatrix.cc.
References solve().
FloatComplexMatrix FloatMatrix::solve | ( | MatrixType & | typ, |
const FloatComplexMatrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 2011 of file fMatrix.cc.
References solve().
FloatComplexMatrix FloatMatrix::solve | ( | MatrixType & | typ, |
const FloatComplexMatrix & | b, | ||
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 2019 of file fMatrix.cc.
References solve().
FloatComplexMatrix FloatMatrix::solve | ( | MatrixType & | typ, |
const FloatComplexMatrix & | b, | ||
octave_idx_type & | info, | ||
float & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
bool | singular_fallback = true , |
||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 2054 of file fMatrix.cc.
References solve(), stack_complex_matrix(), and unstack_complex_matrix().
FloatColumnVector FloatMatrix::solve | ( | MatrixType & | typ, |
const FloatColumnVector & | b | ||
) | const |
Definition at line 2065 of file fMatrix.cc.
References solve().
FloatColumnVector FloatMatrix::solve | ( | MatrixType & | typ, |
const FloatColumnVector & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 2072 of file fMatrix.cc.
References solve().
FloatColumnVector FloatMatrix::solve | ( | MatrixType & | typ, |
const FloatColumnVector & | b, | ||
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 2080 of file fMatrix.cc.
References solve().
FloatColumnVector FloatMatrix::solve | ( | MatrixType & | typ, |
const FloatColumnVector & | b, | ||
octave_idx_type & | info, | ||
float & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 2088 of file fMatrix.cc.
FloatComplexColumnVector FloatMatrix::solve | ( | MatrixType & | typ, |
const FloatComplexColumnVector & | b | ||
) | const |
Definition at line 2099 of file fMatrix.cc.
References FloatComplexMatrix::solve().
FloatComplexColumnVector FloatMatrix::solve | ( | MatrixType & | typ, |
const FloatComplexColumnVector & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 2106 of file fMatrix.cc.
References FloatComplexMatrix::solve().
FloatComplexColumnVector FloatMatrix::solve | ( | MatrixType & | typ, |
const FloatComplexColumnVector & | b, | ||
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 2114 of file fMatrix.cc.
References FloatComplexMatrix::solve().
FloatComplexColumnVector FloatMatrix::solve | ( | MatrixType & | typ, |
const FloatComplexColumnVector & | b, | ||
octave_idx_type & | info, | ||
float & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 2122 of file fMatrix.cc.
References FloatComplexMatrix::solve().
FloatMatrix FloatMatrix::solve | ( | const FloatMatrix & | b | ) | const |
Definition at line 2132 of file fMatrix.cc.
References solve().
FloatMatrix FloatMatrix::solve | ( | const FloatMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2140 of file fMatrix.cc.
References solve().
FloatMatrix FloatMatrix::solve | ( | const FloatMatrix & | b, |
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 2147 of file fMatrix.cc.
References solve().
FloatMatrix FloatMatrix::solve | ( | const FloatMatrix & | b, |
octave_idx_type & | info, | ||
float & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 2154 of file fMatrix.cc.
References solve().
FloatComplexMatrix FloatMatrix::solve | ( | const FloatComplexMatrix & | b | ) | const |
Definition at line 2163 of file fMatrix.cc.
References FloatComplexMatrix::solve().
FloatComplexMatrix FloatMatrix::solve | ( | const FloatComplexMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2170 of file fMatrix.cc.
References FloatComplexMatrix::solve().
FloatComplexMatrix FloatMatrix::solve | ( | const FloatComplexMatrix & | b, |
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 2177 of file fMatrix.cc.
References FloatComplexMatrix::solve().
FloatComplexMatrix FloatMatrix::solve | ( | const FloatComplexMatrix & | b, |
octave_idx_type & | info, | ||
float & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 2185 of file fMatrix.cc.
References FloatComplexMatrix::solve().
FloatColumnVector FloatMatrix::solve | ( | const FloatColumnVector & | b | ) | const |
Definition at line 2195 of file fMatrix.cc.
References solve().
FloatColumnVector FloatMatrix::solve | ( | const FloatColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2202 of file fMatrix.cc.
References solve().
FloatColumnVector FloatMatrix::solve | ( | const FloatColumnVector & | b, |
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 2209 of file fMatrix.cc.
References solve().
FloatColumnVector FloatMatrix::solve | ( | const FloatColumnVector & | b, |
octave_idx_type & | info, | ||
float & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 2216 of file fMatrix.cc.
References solve().
FloatComplexColumnVector FloatMatrix::solve | ( | const FloatComplexColumnVector & | b | ) | const |
Definition at line 2225 of file fMatrix.cc.
References FloatComplexMatrix::solve().
FloatComplexColumnVector FloatMatrix::solve | ( | const FloatComplexColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2232 of file fMatrix.cc.
References FloatComplexMatrix::solve().
FloatComplexColumnVector FloatMatrix::solve | ( | const FloatComplexColumnVector & | b, |
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 2240 of file fMatrix.cc.
References FloatComplexMatrix::solve().
FloatComplexColumnVector FloatMatrix::solve | ( | const FloatComplexColumnVector & | b, |
octave_idx_type & | info, | ||
float & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 2248 of file fMatrix.cc.
References FloatComplexMatrix::solve().
|
inherited |
Reimplemented from Array< float >.
Reimplemented in FloatNDArray.
FloatMatrix FloatMatrix::stack | ( | const FloatMatrix & | a | ) | const |
Definition at line 520 of file fMatrix.cc.
References Array< float >::cols(), Array< T >::cols(), FloatMatrix(), insert(), Array< float >::rows(), and Array< T >::rows().
FloatMatrix FloatMatrix::stack | ( | const FloatRowVector & | a | ) | const |
Definition at line 539 of file fMatrix.cc.
References Array< float >::cols(), FloatMatrix(), insert(), Array< T >::length(), and Array< float >::rows().
FloatMatrix FloatMatrix::stack | ( | const FloatColumnVector & | a | ) | const |
Definition at line 558 of file fMatrix.cc.
References Array< float >::cols(), FloatMatrix(), insert(), Array< T >::length(), and Array< float >::rows().
FloatMatrix FloatMatrix::stack | ( | const FloatDiagMatrix & | a | ) | const |
Definition at line 577 of file fMatrix.cc.
References DiagArray2< T >::cols(), Array< float >::cols(), FloatMatrix(), insert(), DiagArray2< T >::rows(), and Array< float >::rows().
FloatMatrix FloatMatrix::sum | ( | int | dim = -1 | ) | const |
Definition at line 2804 of file fMatrix.cc.
References mx_inline_sum().
Referenced by finverse(), FloatComplexMatrix::finverse(), fsolve(), FloatComplexMatrix::fsolve(), rcond(), and FloatComplexMatrix::rcond().
FloatMatrix FloatMatrix::sumsq | ( | int | dim = -1 | ) | const |
Definition at line 2810 of file fMatrix.cc.
References mx_inline_sumsq().
Definition at line 687 of file Array.h.
Referenced by FloatNDArray::all_elements_are_int_or_inf_or_nan(), all_elements_are_int_or_inf_or_nan(), FloatNDArray::all_elements_are_zero(), FloatNDArray::all_integers(), FloatNDArray::any_element_is_negative(), any_element_is_negative(), FloatNDArray::any_element_is_positive(), any_element_is_positive(), FloatNDArray::any_element_not_one_or_zero(), and any_element_not_one_or_zero().
|
private |
Definition at line 679 of file fMatrix.cc.
References Array< float >::cols(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), MatrixType::Lower, OCTAVE_LOCAL_BUFFER, Array< float >::rows(), and MatrixType::type().
Referenced by inverse().
Definition at line 2766 of file fMatrix.cc.
|
inline |
Reimplemented from MArray< float >.
Definition at line 120 of file fMatrix.h.
References MArray< T >::transpose().
Referenced by DEFUN_DLD(), FloatSVD::init(), pseudo_inverse(), solve(), Sylvester(), and xdiv().
|
private |
Definition at line 1554 of file fMatrix.cc.
References Array< float >::cols(), Array< T >::cols(), current_liboctave_error_handler, F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< float >::fortran_vec(), Array< T >::fortran_vec(), get_blas_char(), norm(), MatrixType::Permuted_Upper, Array< float >::rows(), Array< T >::rows(), MatrixType::type(), MatrixType::Upper, and xisnan().
Referenced by solve().
|
inlineinherited |
Definition at line 339 of file Array.h.
Referenced by FloatRowVector::fill(), FloatColumnVector::fill(), fill(), FloatNDArray::FloatNDArray(), FloatRowVector::insert(), FloatColumnVector::insert(), and insert().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Reimplemented in DiagArray2< float >.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
friend |
|
friend |
Definition at line 602 of file fMatrix.cc.
|
friend |
Definition at line 3065 of file fMatrix.cc.
|
friend |
Definition at line 3080 of file fMatrix.cc.
|
friend |
Definition at line 596 of file fMatrix.cc.
|
protectedinherited |
|
protectedinherited |