Public Types |
typedef ColumnVector | column_vector_type |
typedef RowVector | row_vector_type |
typedef void(* | solve_singularity_handler )(double rcon) |
Public Member Functions |
| Matrix (void) |
| Matrix (octave_idx_type r, octave_idx_type c) |
| Matrix (octave_idx_type r, octave_idx_type c, double val) |
| Matrix (const dim_vector &dv) |
| Matrix (const dim_vector &dv, double val) |
| Matrix (const Matrix &a) |
template<class U > |
| Matrix (const MArray< U > &a) |
template<class U > |
| Matrix (const Array< U > &a) |
| Matrix (const RowVector &rv) |
| Matrix (const ColumnVector &cv) |
| Matrix (const DiagMatrix &a) |
| Matrix (const PermMatrix &a) |
| Matrix (const boolMatrix &a) |
| Matrix (const charMatrix &a) |
Matrix & | operator= (const Matrix &a) |
bool | operator== (const Matrix &a) const |
bool | operator!= (const Matrix &a) const |
bool | is_symmetric (void) const |
Matrix & | insert (const Matrix &a, octave_idx_type r, octave_idx_type c) |
Matrix & | insert (const RowVector &a, octave_idx_type r, octave_idx_type c) |
Matrix & | insert (const ColumnVector &a, octave_idx_type r, octave_idx_type c) |
Matrix & | insert (const DiagMatrix &a, octave_idx_type r, octave_idx_type c) |
Matrix & | fill (double val) |
Matrix & | fill (double val, octave_idx_type r1, octave_idx_type c1, octave_idx_type r2, octave_idx_type c2) |
Matrix | append (const Matrix &a) const |
Matrix | append (const RowVector &a) const |
Matrix | append (const ColumnVector &a) const |
Matrix | append (const DiagMatrix &a) const |
Matrix | stack (const Matrix &a) const |
Matrix | stack (const RowVector &a) const |
Matrix | stack (const ColumnVector &a) const |
Matrix | stack (const DiagMatrix &a) const |
Matrix | transpose (void) const |
Matrix | extract (octave_idx_type r1, octave_idx_type c1, octave_idx_type r2, octave_idx_type c2) const |
Matrix | extract_n (octave_idx_type r1, octave_idx_type c1, octave_idx_type nr, octave_idx_type nc) const |
RowVector | row (octave_idx_type i) const |
ColumnVector | column (octave_idx_type i) const |
void | resize (octave_idx_type nr, octave_idx_type nc, double rfv=resize_fill_value()) |
Matrix | inverse (void) const |
Matrix | inverse (octave_idx_type &info) const |
Matrix | inverse (octave_idx_type &info, double &rcon, int force=0, int calc_cond=1) const |
Matrix | inverse (MatrixType &mattype) const |
Matrix | inverse (MatrixType &mattype, octave_idx_type &info) const |
Matrix | inverse (MatrixType &mattype, octave_idx_type &info, double &rcon, int force=0, int calc_cond=1) const |
Matrix | pseudo_inverse (double tol=0.0) const |
ComplexMatrix | fourier (void) const |
ComplexMatrix | ifourier (void) const |
ComplexMatrix | fourier2d (void) const |
ComplexMatrix | ifourier2d (void) const |
DET | determinant (void) const |
DET | determinant (octave_idx_type &info) const |
DET | determinant (octave_idx_type &info, double &rcon, int calc_cond=1) const |
DET | determinant (MatrixType &mattype, octave_idx_type &info, double &rcon, int calc_cond=1) const |
double | rcond (void) const |
double | rcond (MatrixType &mattype) const |
Matrix | solve (MatrixType &typ, const Matrix &b) const |
Matrix | solve (MatrixType &typ, const Matrix &b, octave_idx_type &info) const |
Matrix | solve (MatrixType &typ, const Matrix &b, octave_idx_type &info, double &rcon) const |
Matrix | solve (MatrixType &typ, const Matrix &b, octave_idx_type &info, double &rcon, solve_singularity_handler sing_handler, bool singular_fallback=true, blas_trans_type transt=blas_no_trans) const |
ComplexMatrix | solve (MatrixType &typ, const ComplexMatrix &b) const |
ComplexMatrix | solve (MatrixType &typ, const ComplexMatrix &b, octave_idx_type &info) const |
ComplexMatrix | solve (MatrixType &typ, const ComplexMatrix &b, octave_idx_type &info, double &rcon) const |
ComplexMatrix | solve (MatrixType &typ, const ComplexMatrix &b, octave_idx_type &info, double &rcon, solve_singularity_handler sing_handler, bool singular_fallback=true, blas_trans_type transt=blas_no_trans) const |
ColumnVector | solve (MatrixType &typ, const ColumnVector &b) const |
ColumnVector | solve (MatrixType &typ, const ColumnVector &b, octave_idx_type &info) const |
ColumnVector | solve (MatrixType &typ, const ColumnVector &b, octave_idx_type &info, double &rcon) const |
ColumnVector | solve (MatrixType &typ, const ColumnVector &b, octave_idx_type &info, double &rcon, solve_singularity_handler sing_handler, blas_trans_type transt=blas_no_trans) const |
ComplexColumnVector | solve (MatrixType &typ, const ComplexColumnVector &b) const |
ComplexColumnVector | solve (MatrixType &typ, const ComplexColumnVector &b, octave_idx_type &info) const |
ComplexColumnVector | solve (MatrixType &typ, const ComplexColumnVector &b, octave_idx_type &info, double &rcon) const |
ComplexColumnVector | solve (MatrixType &typ, const ComplexColumnVector &b, octave_idx_type &info, double &rcon, solve_singularity_handler sing_handler, blas_trans_type transt=blas_no_trans) const |
Matrix | solve (const Matrix &b) const |
Matrix | solve (const Matrix &b, octave_idx_type &info) const |
Matrix | solve (const Matrix &b, octave_idx_type &info, double &rcon) const |
Matrix | solve (const Matrix &b, octave_idx_type &info, double &rcon, solve_singularity_handler sing_handler, blas_trans_type transt=blas_no_trans) const |
ComplexMatrix | solve (const ComplexMatrix &b) const |
ComplexMatrix | solve (const ComplexMatrix &b, octave_idx_type &info) const |
ComplexMatrix | solve (const ComplexMatrix &b, octave_idx_type &info, double &rcon) const |
ComplexMatrix | solve (const ComplexMatrix &b, octave_idx_type &info, double &rcon, solve_singularity_handler sing_handler, blas_trans_type transt=blas_no_trans) const |
ColumnVector | solve (const ColumnVector &b) const |
ColumnVector | solve (const ColumnVector &b, octave_idx_type &info) const |
ColumnVector | solve (const ColumnVector &b, octave_idx_type &info, double &rcon) const |
ColumnVector | solve (const ColumnVector &b, octave_idx_type &info, double &rcon, solve_singularity_handler sing_handler, blas_trans_type transt=blas_no_trans) const |
ComplexColumnVector | solve (const ComplexColumnVector &b) const |
ComplexColumnVector | solve (const ComplexColumnVector &b, octave_idx_type &info) const |
ComplexColumnVector | solve (const ComplexColumnVector &b, octave_idx_type &info, double &rcon) const |
ComplexColumnVector | solve (const ComplexColumnVector &b, octave_idx_type &info, double &rcon, solve_singularity_handler sing_handler, blas_trans_type transt=blas_no_trans) const |
Matrix | lssolve (const Matrix &b) const |
Matrix | lssolve (const Matrix &b, octave_idx_type &info) const |
Matrix | lssolve (const Matrix &b, octave_idx_type &info, octave_idx_type &rank) const |
Matrix | lssolve (const Matrix &b, octave_idx_type &info, octave_idx_type &rank, double &rcon) const |
ComplexMatrix | lssolve (const ComplexMatrix &b) const |
ComplexMatrix | lssolve (const ComplexMatrix &b, octave_idx_type &info) const |
ComplexMatrix | lssolve (const ComplexMatrix &b, octave_idx_type &info, octave_idx_type &rank) const |
ComplexMatrix | lssolve (const ComplexMatrix &b, octave_idx_type &info, octave_idx_type &rank, double &rcon) const |
ColumnVector | lssolve (const ColumnVector &b) const |
ColumnVector | lssolve (const ColumnVector &b, octave_idx_type &info) const |
ColumnVector | lssolve (const ColumnVector &b, octave_idx_type &info, octave_idx_type &rank) const |
ColumnVector | lssolve (const ColumnVector &b, octave_idx_type &info, octave_idx_type &rank, double &rcon) const |
ComplexColumnVector | lssolve (const ComplexColumnVector &b) const |
ComplexColumnVector | lssolve (const ComplexColumnVector &b, octave_idx_type &info) const |
ComplexColumnVector | lssolve (const ComplexColumnVector &b, octave_idx_type &info, octave_idx_type &rank) const |
ComplexColumnVector | lssolve (const ComplexColumnVector &b, octave_idx_type &info, octave_idx_type &rank, double &rcon) const |
Matrix & | operator+= (const DiagMatrix &a) |
Matrix & | operator-= (const DiagMatrix &a) |
boolMatrix | operator! (void) const |
bool | any_element_is_negative (bool=false) const |
bool | any_element_is_nan (void) const |
bool | any_element_is_inf_or_nan (void) const |
bool | any_element_not_one_or_zero (void) const |
bool | all_elements_are_int_or_inf_or_nan (void) const |
bool | all_integers (double &max_val, double &min_val) const |
bool | too_large_for_float (void) const |
boolMatrix | all (int dim=-1) const |
boolMatrix | any (int dim=-1) const |
Matrix | cumprod (int dim=-1) const |
Matrix | cumsum (int dim=-1) const |
Matrix | prod (int dim=-1) const |
Matrix | sum (int dim=-1) const |
Matrix | sumsq (int dim=-1) const |
Matrix | abs (void) const |
Matrix | diag (octave_idx_type k=0) const |
ColumnVector | row_min (void) const |
ColumnVector | row_max (void) const |
ColumnVector | row_min (Array< octave_idx_type > &index) const |
ColumnVector | row_max (Array< octave_idx_type > &index) const |
RowVector | column_min (void) const |
RowVector | column_max (void) const |
RowVector | column_min (Array< octave_idx_type > &index) const |
RowVector | column_max (Array< octave_idx_type > &index) const |
Static Public Member Functions |
static double | resize_fill_value (void) |
Friends |
class | ComplexMatrix |
OCTAVE_API Matrix | real (const ComplexMatrix &a) |
OCTAVE_API Matrix | imag (const ComplexMatrix &a) |
OCTAVE_API std::ostream & | operator<< (std::ostream &os, const Matrix &a) |
OCTAVE_API std::istream & | operator>> (std::istream &is, Matrix &a) |