#include <f_matrix.h>


Public Types | |
| typedef T | value_type |
| typedef T | element_type |
| typedef T | aligned_value_type |
Public Member Functions | |
| F_Matrix (const unsigned d=0) | |
| F_Matrix (const unsigned r, const unsigned c) | |
| F_Matrix (const T &v, const unsigned r, const unsigned c) | |
| F_Matrix (const F_Matrix< T > &m) | |
| F_Matrix (const CSCMatrix< T > &m) | |
| F_Matrix (const F_TMatrix< T > &tm) | |
| F_Matrix (F_TSMatrix< T > &ts) | |
| ~F_Matrix () | |
| F_Matrix (const Matrix< T > &m) | |
| operator TMatrix< T > () const | |
| T & | operator() (const unsigned int, const unsigned int) const |
| T * | get_fortran_matrix () const |
| const T & | get (const unsigned r, const unsigned c) const |
| unsigned int | columns () const |
| unsigned int | rows () const |
| unsigned long | size () const |
| TVector< T > | get_row (const unsigned int) const |
| TVector< T > | get_col (const unsigned int) const |
| void | set_row (const Vector< T > &, const unsigned int) |
| void | set_col (const Vector< T > &, const unsigned int) |
| void | setval (const T val, const unsigned int r, const unsigned int c) |
| F_Matrix< T > & | operator= (const F_Matrix< T > &m) |
| F_Matrix< T > & | operator= (const F_TMatrix< T > &tm) |
| F_Matrix< T > & | operator= (F_TSMatrix< T > ts) |
| F_Matrix< T > & | operator= (const T &v) |
| F_Matrix< T > & | resize (const unsigned r, const unsigned c) |
| F_Matrix< T > & | resize (const unsigned d) |
| F_Matrix< T > & | resize (const T &v, const unsigned r, const unsigned c) |
| F_Matrix< T > & | fill (const T &v=0) |
| F_Matrix< T > & | setunit (const T &f=1) |
| F_Matrix< T > & | clear () |
| F_Matrix< T > & | operator+= (const F_Matrix< T > &a) |
| F_Matrix< T > & | operator-= (const F_Matrix< T > &a) |
| F_Matrix< T > & | operator+= (F_TMatrix< T > a) |
| F_Matrix< T > & | operator-= (F_TMatrix< T > a) |
| F_Matrix< T > & | operator+= (const T &a) |
| F_Matrix< T > & | operator-= (const T &a) |
| F_Matrix< T > & | operator*= (const T &a) |
| F_Matrix< T > & | operator/= (const T &a) |
| F_TMatrix< T > | operator- () const |
| F_TMatrix< T > | operator+ (const F_Matrix< T > &) const |
| F_TMatrix< T > | operator- (const F_Matrix< T > &) const |
| F_TMatrix< T > | operator* (const F_Matrix< T > &) const |
| F_TMatrix< T > | operator+ (F_TMatrix< T >) const |
| F_TMatrix< T > | operator- (F_TMatrix< T >) const |
| F_TMatrix< T > | operator* (F_TMatrix< T >) const |
| F_TMatrix< T > | operator+ (F_TSMatrix< T >) const |
| F_TMatrix< T > | operator- (F_TSMatrix< T >) const |
| F_TMatrix< T > | operator* (F_TSMatrix< T >) const |
| F_TMatrix< T > | operator+ (const T &) const |
| F_TMatrix< T > | operator- (const T &) const |
| F_TSMatrix< T > | operator* (const T &) const |
| F_TSMatrix< T > | operator/ (const T &) const |
| TVector< T > | operator* (const Vector< T > &) const |
| TVector< T > | operator* (TVector< T > &) const |
| bool | operator== (const F_Matrix< T > &m) const |
| bool | operator!= (const F_Matrix< T > &m) const |
| bool | operator== (F_TMatrix< T > &tm) const |
| bool | operator!= (F_TMatrix< T > &tm) const |
| bool | operator== (F_TSMatrix< T > &) const |
| bool | operator!= (F_TSMatrix< T > &ts) const |
| F_TMatrix< T > | herm () const |
| F_TMatrix< T > | conj () const |
| F_TMatrix< T > | trans () const |
| double | fabs () const |
Static Public Member Functions | |
| static const char * | mat_info () |
Friends | |
| class | F_TSMatrix< T > |
| std::ostream & | operator<< (std::ostream &, const F_Matrix< T > &) |
| std::istream & | operator>> (std::istream &, F_Matrix< T > &) |
Definition at line 1164 of file f_matrix.h.
| typedef T TBCI::F_Matrix< T >::value_type |
| typedef T TBCI::F_Matrix< T >::element_type |
| typedef T TBCI::F_Matrix< T >::aligned_value_type |
| TBCI::F_Matrix< T >::F_Matrix | ( | const unsigned | d = 0 |
) | [inline, explicit] |
Definition at line 1176 of file f_matrix.h.
| TBCI::F_Matrix< T >::F_Matrix | ( | const unsigned | r, | |
| const unsigned | c | |||
| ) | [inline] |
Definition at line 1177 of file f_matrix.h.
| TBCI::F_Matrix< T >::F_Matrix | ( | const T & | v, | |
| const unsigned | r, | |||
| const unsigned | c | |||
| ) | [inline] |
Definition at line 1178 of file f_matrix.h.
| TBCI::F_Matrix< T >::F_Matrix | ( | const F_Matrix< T > & | m | ) | [inline] |
Definition at line 1183 of file f_matrix.h.
| TBCI::F_Matrix< T >::F_Matrix | ( | const CSCMatrix< T > & | m | ) | [inline] |
Definition at line 1315 of file f_matrix.h.
References TBCI::CSCMatrix< T >::columns(), and TBCI::CSCMatrix< T >::rows().
| TBCI::F_Matrix< T >::F_Matrix | ( | const F_TMatrix< T > & | tm | ) | [inline] |
Definition at line 1187 of file f_matrix.h.
| TBCI::F_Matrix< T >::F_Matrix | ( | F_TSMatrix< T > & | ts | ) | [inline] |
Definition at line 1188 of file f_matrix.h.
| TBCI::F_Matrix< T >::~F_Matrix | ( | ) | [inline] |
| TBCI::F_Matrix< T >::F_Matrix | ( | const Matrix< T > & | m | ) | [inline] |
Definition at line 1324 of file f_matrix.h.
References TBCI::F_TMatrix< T >::col, TBCI::F_TMatrix< T >::row, and TBCI::F_Matrix< T >::setval().
| TBCI::F_Matrix< T >::operator TMatrix< T > | ( | ) | const [inline] |
Definition at line 1333 of file f_matrix.h.
References TBCI::F_TMatrix< T >::col, TBCI::F_TMatrix< T >::row, and TBCI::TMatrix< T >::setval().
| static const char* TBCI::F_Matrix< T >::mat_info | ( | ) | [inline, static] |
| T & TBCI::F_Matrix< T >::operator() | ( | const unsigned int | r, | |
| const unsigned int | c | |||
| ) | const [inline] |
Reimplemented from TBCI::F_TMatrix< T >.
Definition at line 1618 of file f_matrix.h.
References BCHK, TBCI::F_TMatrix< T >::col, TBCI::F_TMatrix< T >::mat, and TBCI::F_TMatrix< T >::row.
| T* TBCI::F_Matrix< T >::get_fortran_matrix | ( | ) | const [inline] |
Reimplemented from TBCI::F_TMatrix< T >.
Definition at line 1202 of file f_matrix.h.
References TBCI::F_TSMatrix< T >::vec.
Referenced by TBCI::eig(), TBCI::inv(), and TBCI::lu_solve().
| const T& TBCI::F_Matrix< T >::get | ( | const unsigned | r, | |
| const unsigned | c | |||
| ) | const [inline] |
Reimplemented from TBCI::F_TMatrix< T >.
Definition at line 1203 of file f_matrix.h.
References TBCI::F_TSMatrix< T >::mat.
| unsigned int TBCI::F_Matrix< T >::columns | ( | ) | const [inline] |
Reimplemented from TBCI::F_TMatrix< T >.
Definition at line 1206 of file f_matrix.h.
References TBCI::F_TSMatrix< T >::row.
Referenced by TBCI::CSCMatrix< T >::CSCMatrix(), TBCI::eig(), TBCI::inv(), TBCI::lu_solve(), TBCI::CSCMatrix< T >::mult(), TBCI::CSCMatrix< T >::mult1(), and TBCI::CSCMatrix< T >::multf().
| unsigned int TBCI::F_Matrix< T >::rows | ( | ) | const [inline] |
Reimplemented from TBCI::F_TMatrix< T >.
Definition at line 1207 of file f_matrix.h.
References TBCI::F_TSMatrix< T >::col.
Referenced by TBCI::CSCMatrix< T >::CSCMatrix(), TBCI::CSCMatrix< T >::mult(), TBCI::CSCMatrix< T >::mult1(), and TBCI::CSCMatrix< T >::multf().
| unsigned long TBCI::F_Matrix< T >::size | ( | ) | const [inline] |
Reimplemented from TBCI::F_TMatrix< T >.
Definition at line 1208 of file f_matrix.h.
References TBCI::F_TSMatrix< T >::dim.
| TVector< T > TBCI::F_Matrix< T >::get_row | ( | const unsigned int | r | ) | const [inline] |
| TVector< T > TBCI::F_Matrix< T >::get_col | ( | const unsigned int | c | ) | const [inline] |
Reimplemented from TBCI::F_TMatrix< T >.
Definition at line 1600 of file f_matrix.h.
Referenced by TBCI::eig().
| void TBCI::F_Matrix< T >::set_row | ( | const Vector< T > & | v, | |
| const unsigned int | r | |||
| ) | [inline] |
| void TBCI::F_Matrix< T >::set_col | ( | const Vector< T > & | v, | |
| const unsigned int | c | |||
| ) | [inline] |
Reimplemented from TBCI::F_TMatrix< T >.
Definition at line 1594 of file f_matrix.h.
Referenced by TBCI::eig(), and TBCI::operator>>().
| void TBCI::F_Matrix< T >::setval | ( | const T | val, | |
| const unsigned int | r, | |||
| const unsigned int | c | |||
| ) | [inline] |
Reimplemented from TBCI::F_TMatrix< T >.
Definition at line 1214 of file f_matrix.h.
References TBCI::F_TSMatrix< T >::operator()().
Referenced by TBCI::F_Matrix< T >::F_Matrix(), and TBCI::CSCMatrix< T >::mult().
| F_Matrix<T>& TBCI::F_Matrix< T >::operator= | ( | const F_Matrix< T > & | m | ) | [inline] |
| F_Matrix<T>& TBCI::F_Matrix< T >::operator= | ( | const F_TMatrix< T > & | tm | ) | [inline] |
| F_Matrix<T>& TBCI::F_Matrix< T >::operator= | ( | F_TSMatrix< T > | ts | ) | [inline] |
| F_Matrix<T>& TBCI::F_Matrix< T >::operator= | ( | const T & | v | ) | [inline] |
| F_Matrix<T>& TBCI::F_Matrix< T >::resize | ( | const unsigned | r, | |
| const unsigned | c | |||
| ) | [inline] |
Definition at line 1227 of file f_matrix.h.
Referenced by TBCI::eig(), TBCI::inv(), and TBCI::lu_solve().
| F_Matrix<T>& TBCI::F_Matrix< T >::resize | ( | const unsigned | d | ) | [inline] |
Definition at line 1229 of file f_matrix.h.
| F_Matrix<T>& TBCI::F_Matrix< T >::resize | ( | const T & | v, | |
| const unsigned | r, | |||
| const unsigned | c | |||
| ) | [inline] |
Definition at line 1231 of file f_matrix.h.
| F_Matrix<T>& TBCI::F_Matrix< T >::fill | ( | const T & | v = 0 |
) | [inline] |
| F_Matrix<T>& TBCI::F_Matrix< T >::setunit | ( | const T & | f = 1 |
) | [inline] |
| F_Matrix<T>& TBCI::F_Matrix< T >::clear | ( | ) | [inline] |
| F_Matrix<T>& TBCI::F_Matrix< T >::operator+= | ( | const F_Matrix< T > & | a | ) | [inline] |
| F_Matrix<T>& TBCI::F_Matrix< T >::operator-= | ( | const F_Matrix< T > & | a | ) | [inline] |
| F_Matrix<T>& TBCI::F_Matrix< T >::operator+= | ( | F_TMatrix< T > | a | ) | [inline] |
| F_Matrix<T>& TBCI::F_Matrix< T >::operator-= | ( | F_TMatrix< T > | a | ) | [inline] |
| F_Matrix<T>& TBCI::F_Matrix< T >::operator+= | ( | const T & | a | ) | [inline] |
| F_Matrix<T>& TBCI::F_Matrix< T >::operator-= | ( | const T & | a | ) | [inline] |
| F_Matrix<T>& TBCI::F_Matrix< T >::operator*= | ( | const T & | a | ) | [inline] |
| F_Matrix<T>& TBCI::F_Matrix< T >::operator/= | ( | const T & | a | ) | [inline] |
| F_TMatrix<T> TBCI::F_Matrix< T >::operator- | ( | ) | const [inline] |
Definition at line 1262 of file f_matrix.h.
| F_TMatrix< T > TBCI::F_Matrix< T >::operator+ | ( | const F_Matrix< T > & | a | ) | const [inline] |
Definition at line 1424 of file f_matrix.h.
| F_TMatrix< T > TBCI::F_Matrix< T >::operator- | ( | const F_Matrix< T > & | a | ) | const [inline] |
Definition at line 1425 of file f_matrix.h.
| F_TMatrix< T > TBCI::F_Matrix< T >::operator* | ( | const F_Matrix< T > & | a | ) | const [inline] |
Definition at line 1458 of file f_matrix.h.
References ALIGN3, BCHK, TBCI::F_TMatrix< T >::col, MIN_ALIGN2, TBCI::F_TMatrix< T >::row, TBCI::F_TMatrix< T >::setval(), and T.
| F_TMatrix< T > TBCI::F_Matrix< T >::operator+ | ( | F_TMatrix< T > | a | ) | const [inline] |
Definition at line 1438 of file f_matrix.h.
| F_TMatrix< T > TBCI::F_Matrix< T >::operator- | ( | F_TMatrix< T > | a | ) | const [inline] |
Definition at line 1439 of file f_matrix.h.
| F_TMatrix< T > TBCI::F_Matrix< T >::operator* | ( | F_TMatrix< T > | a | ) | const [inline] |
Definition at line 1492 of file f_matrix.h.
| F_TMatrix< T > TBCI::F_Matrix< T >::operator+ | ( | F_TSMatrix< T > | ts | ) | const [inline] |
Definition at line 1452 of file f_matrix.h.
| F_TMatrix< T > TBCI::F_Matrix< T >::operator- | ( | F_TSMatrix< T > | ts | ) | const [inline] |
Definition at line 1453 of file f_matrix.h.
| F_TMatrix< T > TBCI::F_Matrix< T >::operator* | ( | F_TSMatrix< T > | a | ) | const [inline] |
Definition at line 1474 of file f_matrix.h.
References ALIGN, BCHK, TBCI::F_TMatrix< T >::col, TBCI::F_TSMatrix< T >::col, TBCI::F_TSMatrix< T >::destroy(), TBCI::F_TSMatrix< T >::mat, MIN_ALIGN2, TBCI::F_TSMatrix< T >::row, TBCI::F_TMatrix< T >::row, TBCI::F_TMatrix< T >::setval(), and T.
| F_TMatrix< T > TBCI::F_Matrix< T >::operator+ | ( | const T & | a | ) | const [inline] |
Definition at line 1398 of file f_matrix.h.
| F_TMatrix< T > TBCI::F_Matrix< T >::operator- | ( | const T & | a | ) | const [inline] |
Definition at line 1399 of file f_matrix.h.
| F_TSMatrix< T > TBCI::F_Matrix< T >::operator* | ( | const T & | a | ) | const [inline] |
Definition at line 1402 of file f_matrix.h.
| F_TSMatrix< T > TBCI::F_Matrix< T >::operator/ | ( | const T & | a | ) | const [inline] |
| TVector< T > TBCI::F_Matrix< T >::operator* | ( | const Vector< T > & | v | ) | const [inline] |
Definition at line 1562 of file f_matrix.h.
References TBCI::F_TMatrix< T >::col, TBCI::F_TMatrix< T >::row, TBCI::TVector< T >::set(), and T.
| TVector< T > TBCI::F_Matrix< T >::operator* | ( | TVector< T > & | c | ) | const [inline] |
Definition at line 1575 of file f_matrix.h.
| bool TBCI::F_Matrix< T >::operator== | ( | const F_Matrix< T > & | m | ) | const [inline] |
Definition at line 1522 of file f_matrix.h.
References TBCI::F_TMatrix< T >::col, TBCI::F_TMatrix< T >::row, T, TBCICOMP, and TBCI::F_TMatrix< T >::vec.
| bool TBCI::F_Matrix< T >::operator!= | ( | const F_Matrix< T > & | m | ) | const [inline] |
Definition at line 1285 of file f_matrix.h.
| bool TBCI::F_Matrix< T >::operator== | ( | F_TMatrix< T > & | tm | ) | const [inline] |
Definition at line 1288 of file f_matrix.h.
| bool TBCI::F_Matrix< T >::operator!= | ( | F_TMatrix< T > & | tm | ) | const [inline] |
Definition at line 1290 of file f_matrix.h.
| bool TBCI::F_Matrix< T >::operator== | ( | F_TSMatrix< T > & | ts | ) | const [inline] |
Definition at line 1535 of file f_matrix.h.
References TBCI::F_TSMatrix< T >::col, TBCI::F_TSMatrix< T >::destroy(), TBCI::F_TMatrix< T >::endvec, TBCI::F_TSMatrix< T >::row, TBCI::F_TMatrix< T >::row, T, TBCICOMP, TBCI::F_TSMatrix< T >::vec, and TBCI::F_TMatrix< T >::vec.
| bool TBCI::F_Matrix< T >::operator!= | ( | F_TSMatrix< T > & | ts | ) | const [inline] |
Definition at line 1294 of file f_matrix.h.
| F_TMatrix<T> TBCI::F_Matrix< T >::herm | ( | ) | const [inline] |
Definition at line 1304 of file f_matrix.h.
| F_TMatrix<T> TBCI::F_Matrix< T >::conj | ( | ) | const [inline] |
Definition at line 1305 of file f_matrix.h.
| F_TMatrix<T> TBCI::F_Matrix< T >::trans | ( | ) | const [inline] |
Definition at line 1306 of file f_matrix.h.
| double TBCI::F_Matrix< T >::fabs | ( | ) | const [inline] |
Reimplemented from TBCI::F_TMatrix< T >.
Definition at line 1636 of file f_matrix.h.
References TBCI::F_TMatrix< T >::endvec, TBCI::fabssqr(), MATH__, sqrt(), T, and TBCI::F_TMatrix< T >::vec.
Referenced by TBCI::F_TMatrix< T >::fabs().
friend class F_TSMatrix< T > [friend] |
| std:: ostream& operator<< | ( | std::ostream & | os, | |
| const F_Matrix< T > & | m | |||
| ) | [friend] |
Definition at line 1344 of file f_matrix.h.
| std:: istream& operator>> | ( | std::istream & | in, | |
| F_Matrix< T > & | m | |||
| ) | [friend] |
Definition at line 1372 of file f_matrix.h.
1.5.6