#include "MatrixType.h"
Public Types | |
enum | matrix_type { Unknown = 0 , Full , Diagonal , Permuted_Diagonal , Upper , Lower , Permuted_Upper , Permuted_Lower , Banded , Hermitian , Banded_Hermitian , Tridiagonal , Tridiagonal_Hermitian , Rectangular } |
Definition at line 35 of file MatrixType.h.
Enumerator | |
---|---|
Unknown | |
Full | |
Diagonal | |
Permuted_Diagonal | |
Upper | |
Lower | |
Permuted_Upper | |
Permuted_Lower | |
Banded | |
Hermitian | |
Banded_Hermitian | |
Tridiagonal | |
Tridiagonal_Hermitian | |
Rectangular |
Definition at line 38 of file MatrixType.h.
MatrixType::MatrixType | ( | ) |
Definition at line 66 of file MatrixType.cc.
MatrixType::MatrixType | ( | const MatrixType & | a | ) |
Definition at line 72 of file MatrixType.cc.
MatrixType::MatrixType | ( | const Matrix & | a | ) |
Definition at line 203 of file MatrixType.cc.
References matrix_real_probe().
MatrixType::MatrixType | ( | const ComplexMatrix & | a | ) |
Definition at line 211 of file MatrixType.cc.
References matrix_complex_probe().
MatrixType::MatrixType | ( | const FloatMatrix & | a | ) |
Definition at line 219 of file MatrixType.cc.
References matrix_real_probe().
MatrixType::MatrixType | ( | const FloatComplexMatrix & | a | ) |
Definition at line 227 of file MatrixType.cc.
References matrix_complex_probe().
MatrixType::MatrixType | ( | const MSparse< T > & | a | ) |
Definition at line 237 of file MatrixType.cc.
References Banded, Banded_Hermitian, Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), d, Sparse< T, Alloc >::data(), Diagonal, Full, Hermitian, Lower, Sparse< T, Alloc >::nnz(), OCTAVE_LOCAL_BUFFER, Permuted_Diagonal, Permuted_Lower, Permuted_Upper, Rectangular, Sparse< T, Alloc >::ridx(), Sparse< T, Alloc >::rows(), Tridiagonal, Tridiagonal_Hermitian, and Upper.
MatrixType::MatrixType | ( | const matrix_type | t, |
bool | _full = false |
||
) |
Definition at line 563 of file MatrixType.cc.
References Diagonal, Full, Lower, Permuted_Diagonal, Rectangular, Tridiagonal, Tridiagonal_Hermitian, Unknown, and Upper.
MatrixType::MatrixType | ( | const matrix_type | t, |
const octave_idx_type | np, | ||
const octave_idx_type * | p, | ||
bool | _full = false |
||
) |
Definition at line 579 of file MatrixType.cc.
References Permuted_Lower, and Permuted_Upper.
MatrixType::MatrixType | ( | const matrix_type | t, |
const octave_idx_type | ku, | ||
const octave_idx_type | kl, | ||
bool | _full = false |
||
) |
Definition at line 599 of file MatrixType.cc.
References Banded, and Banded_Hermitian.
MatrixType::~MatrixType | ( | ) |
Definition at line 616 of file MatrixType.cc.
|
inline |
Definition at line 98 of file MatrixType.h.
void MatrixType::info | ( | ) | const |
Definition at line 846 of file MatrixType.cc.
References Banded, Banded_Hermitian, Diagonal, Full, Hermitian, Lower, Permuted_Diagonal, Permuted_Lower, Permuted_Upper, Rectangular, Tridiagonal, Tridiagonal_Hermitian, Unknown, and Upper.
|
inline |
|
inline |
Definition at line 104 of file MatrixType.h.
|
inline |
Definition at line 129 of file MatrixType.h.
References Unknown.
|
inline |
Definition at line 127 of file MatrixType.h.
References Rectangular.
|
inline |
Definition at line 118 of file MatrixType.h.
References Tridiagonal, and Tridiagonal_Hermitian.
|
inline |
|
inline |
Definition at line 115 of file MatrixType.h.
References Banded, and Banded_Hermitian.
|
inline |
Definition at line 106 of file MatrixType.h.
References Diagonal, and Permuted_Diagonal.
|
inline |
Definition at line 121 of file MatrixType.h.
References Banded_Hermitian, Hermitian, and Tridiagonal_Hermitian.
Referenced by ComplexMatrix::inverse(), Matrix::inverse(), SparseComplexMatrix::inverse(), SparseMatrix::inverse(), FloatComplexMatrix::inverse(), and FloatMatrix::inverse().
|
inline |
Definition at line 112 of file MatrixType.h.
References Lower, and Permuted_Lower.
|
inline |
Definition at line 109 of file MatrixType.h.
References Permuted_Upper, and Upper.
|
inline |
|
inline |
Definition at line 156 of file MatrixType.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 158 of file MatrixType.h.
void MatrixType::mark_as_permuted | ( | const octave_idx_type | np, |
const octave_idx_type * | p | ||
) |
Definition at line 934 of file MatrixType.cc.
References current_liboctave_error_handler, Diagonal, Lower, Permuted_Diagonal, Permuted_Lower, Permuted_Upper, and Upper.
Referenced by Fmatrix_type().
|
inline |
Definition at line 141 of file MatrixType.h.
References Permuted_Diagonal.
Referenced by Fmatrix_type().
|
inline |
Definition at line 154 of file MatrixType.h.
References Rectangular.
Referenced by Fmatrix_type(), ComplexMatrix::rcond(), Matrix::rcond(), FloatComplexMatrix::rcond(), and FloatMatrix::rcond().
void MatrixType::mark_as_symmetric | ( | ) |
Definition at line 903 of file MatrixType.cc.
References Banded, Banded_Hermitian, current_liboctave_error_handler, Full, Hermitian, Tridiagonal, Tridiagonal_Hermitian, and Unknown.
Referenced by Fmatrix_type().
|
inline |
void MatrixType::mark_as_unpermuted | ( | ) |
Definition at line 955 of file MatrixType.cc.
References Diagonal, Lower, Permuted_Diagonal, Permuted_Lower, Permuted_Upper, and Upper.
void MatrixType::mark_as_unsymmetric | ( | ) |
Definition at line 920 of file MatrixType.cc.
References Banded, Banded_Hermitian, Full, Hermitian, Tridiagonal, Tridiagonal_Hermitian, and Unknown.
Referenced by ComplexMatrix::determinant(), Matrix::determinant(), FloatComplexMatrix::determinant(), FloatMatrix::determinant(), ComplexMatrix::inverse(), Matrix::inverse(), SparseComplexMatrix::inverse(), SparseMatrix::inverse(), FloatComplexMatrix::inverse(), FloatMatrix::inverse(), ComplexMatrix::rcond(), Matrix::rcond(), FloatComplexMatrix::rcond(), and FloatMatrix::rcond().
|
inline |
|
inline |
Definition at line 102 of file MatrixType.h.
|
inline |
Definition at line 100 of file MatrixType.h.
MatrixType & MatrixType::operator= | ( | const MatrixType & | a | ) |
Definition at line 625 of file MatrixType.cc.
MatrixType MatrixType::transpose | ( | ) | const |
Definition at line 973 of file MatrixType.cc.
References Banded, Lower, Permuted_Lower, Permuted_Upper, and Upper.
Referenced by SparseComplexMatrix::inverse(), SparseMatrix::inverse(), xdiv(), xdiv(), xdiv(), xdiv(), xdiv(), xdiv(), xdiv(), and xdiv().
|
inline |
Definition at line 135 of file MatrixType.h.
Definition at line 656 of file MatrixType.cc.
References Unknown.
Referenced by ComplexMatrix::determinant(), Matrix::determinant(), FloatComplexMatrix::determinant(), FloatMatrix::determinant(), Fmatrix_type(), ComplexMatrix::inverse(), Matrix::inverse(), SparseComplexMatrix::inverse(), SparseMatrix::inverse(), FloatComplexMatrix::inverse(), FloatMatrix::inverse(), ComplexMatrix::rcond(), Matrix::rcond(), FloatComplexMatrix::rcond(), FloatMatrix::rcond(), ComplexMatrix::solve(), SparseComplexMatrix::solve(), FloatComplexMatrix::solve(), FloatMatrix::solve(), Matrix::solve(), SparseComplexMatrix::solve(), SparseComplexMatrix::solve(), SparseComplexMatrix::solve(), SparseMatrix::solve(), SparseMatrix::solve(), SparseMatrix::solve(), and SparseMatrix::solve().
int MatrixType::type | ( | const ComplexMatrix & | a | ) |
Definition at line 768 of file MatrixType.cc.
References Unknown.
int MatrixType::type | ( | const FloatComplexMatrix & | a | ) |
Definition at line 820 of file MatrixType.cc.
References Unknown.
int MatrixType::type | ( | const FloatMatrix & | a | ) |
Definition at line 794 of file MatrixType.cc.
References Unknown.
Definition at line 742 of file MatrixType.cc.
References Unknown.
int MatrixType::type | ( | const SparseComplexMatrix & | a | ) |
Definition at line 710 of file MatrixType.cc.
References Unknown.
int MatrixType::type | ( | const SparseMatrix & | a | ) |
Definition at line 678 of file MatrixType.cc.
References Unknown.