Basic Image AlgorithmS Library
2.8.0
|
#include <Base/Math/tnt/fmat.h>
Public Types | |
typedef const T * | const_iterator |
typedef const T & | const_reference |
typedef T | element_type |
typedef T * | iterator |
typedef T * | pointer |
typedef T & | reference |
typedef T | value_type |
Public Member Functions | |
T * | begin () |
const T * | begin () const |
Subscript | dim (Subscript d) const |
T * | end () |
const T * | end () const |
Fortran_Matrix () | |
Fortran_Matrix (const Fortran_Matrix< T > &A) | |
Fortran_Matrix (Subscript M, Subscript N, const T *v) | |
Fortran_Matrix (Subscript M, Subscript N, char *s) | |
Subscript | lbound () const |
Fortran_Matrix< T > & | newsize (Subscript M, Subscript N) |
Subscript | num_cols () const |
Subscript | num_rows () const |
reference | operator() (Subscript i, Subscript j) |
const_reference | operator() (Subscript i, Subscript j) const |
Fortran_Matrix< T > & | operator= (const Fortran_Matrix< T > &A) |
Fortran_Matrix< T > & | operator= (const T &scalar) |
set (value) | |
~Fortran_Matrix () | |
Protected Member Functions | |
void | copy (const T *v) |
void | destroy () |
void | initialize (Subscript M, Subscript N) |
void | set (const T &val) |
Protected Attributes | |
T ** | col_ |
Subscript | m_ |
Subscript | n_ |
T * | v_ |
typedef const T* TNT::Fortran_Matrix< T >::const_iterator |
typedef const T& TNT::Fortran_Matrix< T >::const_reference |
typedef T TNT::Fortran_Matrix< T >::element_type |
typedef T* TNT::Fortran_Matrix< T >::iterator |
typedef T* TNT::Fortran_Matrix< T >::pointer |
typedef T& TNT::Fortran_Matrix< T >::reference |
typedef T TNT::Fortran_Matrix< T >::value_type |
|
inline |
|
inline |
Definition at line 185 of file fmat.h.
References TNT::Fortran_Matrix< T >::copy(), TNT::Fortran_Matrix< T >::initialize(), TNT::Fortran_Matrix< T >::m_, TNT::Fortran_Matrix< T >::n_, and TNT::Fortran_Matrix< T >::v_.
|
inline |
Definition at line 197 of file fmat.h.
References TNT::Fortran_Matrix< T >::copy(), and TNT::Fortran_Matrix< T >::initialize().
|
inline |
Definition at line 204 of file fmat.h.
References TNT::Fortran_Matrix< T >::initialize().
|
inline |
Definition at line 217 of file fmat.h.
References TNT::Fortran_Matrix< T >::destroy().
|
inline |
Definition at line 175 of file fmat.h.
References TNT::Fortran_Matrix< T >::v_.
Referenced by Eigenproblem_quadratic_matrix(), TNT::operator*(), Upper_symmetric_eigenvalue_solve(), and TNT::Upper_symmetric_eigenvalue_solve().
|
inline |
Definition at line 176 of file fmat.h.
References TNT::Fortran_Matrix< T >::v_.
|
inlineprotected |
Definition at line 106 of file fmat.h.
References TNT::Fortran_Matrix< T >::m_, TNT::Fortran_Matrix< T >::n_, and TNT::Fortran_Matrix< T >::v_.
Referenced by TNT::Fortran_Matrix< T >::Fortran_Matrix(), and TNT::Fortran_Matrix< T >::operator=().
|
inlineprotected |
Definition at line 161 of file fmat.h.
References TNT::Fortran_Matrix< T >::col_, and TNT::Fortran_Matrix< T >::v_.
Referenced by TNT::Fortran_Matrix< T >::newsize(), TNT::Fortran_Matrix< T >::operator=(), and TNT::Fortran_Matrix< T >::~Fortran_Matrix().
|
inline |
Definition at line 250 of file fmat.h.
References TNT::Fortran_Matrix< T >::m_, and TNT::Fortran_Matrix< T >::n_.
|
inline |
Definition at line 178 of file fmat.h.
References TNT::Fortran_Matrix< T >::m_, TNT::Fortran_Matrix< T >::n_, and TNT::Fortran_Matrix< T >::v_.
Referenced by TNT::operator*().
|
inline |
Definition at line 179 of file fmat.h.
References TNT::Fortran_Matrix< T >::m_, TNT::Fortran_Matrix< T >::n_, and TNT::Fortran_Matrix< T >::v_.
|
inlineprotected |
Definition at line 80 of file fmat.h.
References TNT::Fortran_Matrix< T >::col_, TNT::Fortran_Matrix< T >::m_, TNT::Fortran_Matrix< T >::n_, and TNT::Fortran_Matrix< T >::v_.
Referenced by TNT::Fortran_Matrix< T >::Fortran_Matrix(), TNT::Fortran_Matrix< T >::newsize(), and TNT::Fortran_Matrix< T >::operator=().
|
inline |
|
inline |
Definition at line 262 of file fmat.h.
References TNT::Fortran_Matrix< T >::destroy(), TNT::Fortran_Matrix< T >::initialize(), TNT::Fortran_Matrix< T >::num_cols(), and TNT::Fortran_Matrix< T >::num_rows().
Referenced by TNT::matmult(), and TNT::operator>>().
|
inline |
Definition at line 260 of file fmat.h.
References TNT::Fortran_Matrix< T >::n_.
Referenced by Eigenproblem_quadratic_matrix(), TNT::eigenproblem_special_quadratic_matrix_solve(), TNT::eigenvalue_solve(), Fortran_Matrix_to_Matrix(), TNT::Lapack_LLS_QR_linear_solve(), TNT::Lapack_LU_linear_solve(), TNT::matmult(), TNT::mult_element(), TNT::Fortran_Matrix< T >::newsize(), TNT::operator*(), TNT::operator+(), TNT::operator-(), TNT::operator>>(), TNT::singular_value_decomposition_general_rectangular_matrix_solve(), TNT::transpose(), and TNT::Upper_symmetric_eigenvalue_solve().
|
inline |
Definition at line 259 of file fmat.h.
References TNT::Fortran_Matrix< T >::m_.
Referenced by Eigenproblem_quadratic_matrix(), TNT::eigenproblem_special_quadratic_matrix_solve(), Eigenvalue_solve(), TNT::eigenvalue_solve(), Fortran_Matrix_to_Matrix(), Lapack_Cholesky_SymmetricPositiveDefinit(), TNT::Lapack_LLS_QR_linear_solve(), TNT::Lapack_LU_linear_solve(), TNT::matmult(), TNT::mult_element(), TNT::Fortran_Matrix< T >::newsize(), TNT::operator*(), TNT::operator+(), TNT::operator-(), TNT::operator>>(), TNT::singular_value_decomposition_general_rectangular_matrix_solve(), TNT::transpose(), Upper_symmetric_eigenvalue_solve(), and TNT::Upper_symmetric_eigenvalue_solve().
|
inline |
Definition at line 277 of file fmat.h.
References TNT::Fortran_Matrix< T >::col_, TNT::Fortran_Matrix< T >::m_, and TNT::Fortran_Matrix< T >::n_.
|
inline |
Definition at line 288 of file fmat.h.
References TNT::Fortran_Matrix< T >::col_, TNT::Fortran_Matrix< T >::m_, and TNT::Fortran_Matrix< T >::n_.
|
inline |
Definition at line 225 of file fmat.h.
References TNT::Fortran_Matrix< T >::copy(), TNT::Fortran_Matrix< T >::destroy(), TNT::Fortran_Matrix< T >::initialize(), TNT::Fortran_Matrix< T >::m_, TNT::Fortran_Matrix< T >::n_, and TNT::Fortran_Matrix< T >::v_.
|
inline |
Definition at line 243 of file fmat.h.
References TNT::Fortran_Matrix< T >::set().
|
inlineprotected |
Definition at line 132 of file fmat.h.
References TNT::Fortran_Matrix< T >::m_, TNT::Fortran_Matrix< T >::n_, and TNT::Fortran_Matrix< T >::v_.
Referenced by TNT::Fortran_Matrix< T >::operator=().
TNT::Fortran_Matrix< T >::set | ( | value | ) |
|
protected |
Definition at line 75 of file fmat.h.
Referenced by TNT::Fortran_Matrix< T >::destroy(), TNT::Fortran_Matrix< T >::initialize(), and TNT::Fortran_Matrix< T >::operator()().
|
protected |
Definition at line 73 of file fmat.h.
Referenced by TNT::Fortran_Matrix< T >::copy(), TNT::Fortran_Matrix< T >::dim(), TNT::Fortran_Matrix< T >::end(), TNT::Fortran_Matrix< T >::Fortran_Matrix(), TNT::Fortran_Matrix< T >::initialize(), TNT::Fortran_Matrix< T >::num_rows(), TNT::Fortran_Matrix< T >::operator()(), TNT::Fortran_Matrix< T >::operator=(), and TNT::Fortran_Matrix< T >::set().
|
protected |
Definition at line 74 of file fmat.h.
Referenced by TNT::Fortran_Matrix< T >::copy(), TNT::Fortran_Matrix< T >::dim(), TNT::Fortran_Matrix< T >::end(), TNT::Fortran_Matrix< T >::Fortran_Matrix(), TNT::Fortran_Matrix< T >::initialize(), TNT::Fortran_Matrix< T >::num_cols(), TNT::Fortran_Matrix< T >::operator()(), TNT::Fortran_Matrix< T >::operator=(), and TNT::Fortran_Matrix< T >::set().
|
protected |
Definition at line 72 of file fmat.h.
Referenced by TNT::Fortran_Matrix< T >::begin(), TNT::Fortran_Matrix< T >::copy(), TNT::Fortran_Matrix< T >::destroy(), TNT::Fortran_Matrix< T >::end(), TNT::Fortran_Matrix< T >::Fortran_Matrix(), TNT::Fortran_Matrix< T >::initialize(), TNT::Fortran_Matrix< T >::operator=(), and TNT::Fortran_Matrix< T >::set().