![]() |
Blender V2.61 - r43446
|
#include <fmat.h>
Public Types | |
| typedef T | value_type |
| typedef T | element_type |
| typedef T * | pointer |
| typedef T * | iterator |
| typedef T & | reference |
| typedef const T * | const_iterator |
| typedef const T & | const_reference |
Public Member Functions | |
| Subscript | lbound () const |
| T * | begin () |
| const T * | begin () const |
| T * | end () |
| const T * | end () const |
| Fortran_Matrix () | |
| Fortran_Matrix (const Fortran_Matrix< T > &A) | |
| Fortran_Matrix (Subscript M, Subscript N, const T &value=T()) | |
| Fortran_Matrix (Subscript M, Subscript N, const T *v) | |
| ~Fortran_Matrix () | |
| Fortran_Matrix< T > & | operator= (const Fortran_Matrix< T > &A) |
| Fortran_Matrix< T > & | operator= (const T &scalar) |
| Subscript | dim (Subscript d) const |
| Subscript | num_rows () const |
| Subscript | num_cols () const |
| Fortran_Matrix< T > & | newsize (Subscript M, Subscript N) |
| reference | operator() (Subscript i, Subscript j) |
| const_reference | operator() (Subscript i, Subscript j) const |
Protected Member Functions | |
| void | initialize (Subscript M, Subscript N) |
| void | copy (const T *v) |
| void | set (const T &val) |
| void | destroy () |
Protected Attributes | |
| T * | v_ |
| Subscript | m_ |
| Subscript | n_ |
| T ** | col_ |
| 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 |
| TNT::Fortran_Matrix< T >::Fortran_Matrix | ( | ) | [inline] |
| TNT::Fortran_Matrix< T >::Fortran_Matrix | ( | const Fortran_Matrix< T > & | A | ) | [inline] |
Definition at line 180 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_.
| TNT::Fortran_Matrix< T >::Fortran_Matrix | ( | Subscript | M, |
| Subscript | N, | ||
| const T & | value = T() |
||
| ) | [inline] |
Definition at line 186 of file fmat.h.
References TNT::Fortran_Matrix< T >::initialize().
| TNT::Fortran_Matrix< T >::Fortran_Matrix | ( | Subscript | M, |
| Subscript | N, | ||
| const T * | v | ||
| ) | [inline] |
Definition at line 192 of file fmat.h.
References TNT::Fortran_Matrix< T >::copy(), and TNT::Fortran_Matrix< T >::initialize().
| TNT::Fortran_Matrix< T >::~Fortran_Matrix | ( | ) | [inline] |
Definition at line 200 of file fmat.h.
References TNT::Fortran_Matrix< T >::destroy().
| T* TNT::Fortran_Matrix< T >::begin | ( | ) | [inline] |
Definition at line 170 of file fmat.h.
References TNT::Fortran_Matrix< T >::v_.
Referenced by TNT::operator*(), and Upper_symmetric_eigenvalue_solve().
| const T* TNT::Fortran_Matrix< T >::begin | ( | ) | const [inline] |
Definition at line 171 of file fmat.h.
References TNT::Fortran_Matrix< T >::v_.
| void TNT::Fortran_Matrix< T >::copy | ( | const T * | v | ) | [inline, protected] |
Definition at line 101 of file fmat.h.
References i, TNT::Fortran_Matrix< T >::m_, N, 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=().
| void TNT::Fortran_Matrix< T >::destroy | ( | ) | [inline, protected] |
Definition at line 156 of file fmat.h.
References TNT::Fortran_Matrix< T >::col_, NULL, 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().
| Subscript TNT::Fortran_Matrix< T >::dim | ( | Subscript | d | ) | const [inline] |
Definition at line 233 of file fmat.h.
References assert, TNT::Fortran_Matrix< T >::m_, and TNT::Fortran_Matrix< T >::n_.
| T* TNT::Fortran_Matrix< T >::end | ( | ) | [inline] |
Definition at line 173 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*().
| const T* TNT::Fortran_Matrix< T >::end | ( | ) | const [inline] |
Definition at line 174 of file fmat.h.
References TNT::Fortran_Matrix< T >::m_, TNT::Fortran_Matrix< T >::n_, and TNT::Fortran_Matrix< T >::v_.
| void TNT::Fortran_Matrix< T >::initialize | ( | Subscript | M, |
| Subscript | N | ||
| ) | [inline, protected] |
Definition at line 75 of file fmat.h.
References assert, TNT::Fortran_Matrix< T >::col_, i, M, TNT::Fortran_Matrix< T >::m_, N, TNT::Fortran_Matrix< T >::n_, NULL, p, T, 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=().
| Subscript TNT::Fortran_Matrix< T >::lbound | ( | ) | const [inline] |
| Fortran_Matrix<T>& TNT::Fortran_Matrix< T >::newsize | ( | Subscript | M, |
| Subscript | N | ||
| ) | [inline] |
Definition at line 245 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>>().
| Subscript TNT::Fortran_Matrix< T >::num_cols | ( | ) | const [inline] |
Definition at line 243 of file fmat.h.
References TNT::Fortran_Matrix< T >::n_.
Referenced by eigenvalue_solve(), Lapack_LLS_QR_linear_solve(), Lapack_LU_linear_solve(), TNT::matmult(), TNT::mult_element(), TNT::Fortran_Matrix< T >::newsize(), TNT::operator*(), TNT::operator+(), TNT::operator-(), TNT::operator>>(), TNT::transpose(), and Upper_symmetric_eigenvalue_solve().
| Subscript TNT::Fortran_Matrix< T >::num_rows | ( | ) | const [inline] |
Definition at line 242 of file fmat.h.
References TNT::Fortran_Matrix< T >::m_.
Referenced by eigenvalue_solve(), Lapack_LLS_QR_linear_solve(), Lapack_LU_linear_solve(), TNT::matmult(), TNT::mult_element(), TNT::Fortran_Matrix< T >::newsize(), TNT::operator*(), TNT::operator+(), TNT::operator-(), TNT::operator>>(), TNT::transpose(), and Upper_symmetric_eigenvalue_solve().
| reference TNT::Fortran_Matrix< T >::operator() | ( | Subscript | i, |
| Subscript | j | ||
| ) | [inline] |
Definition at line 260 of file fmat.h.
References assert, TNT::Fortran_Matrix< T >::col_, i, TNT::Fortran_Matrix< T >::m_, and TNT::Fortran_Matrix< T >::n_.
| const_reference TNT::Fortran_Matrix< T >::operator() | ( | Subscript | i, |
| Subscript | j | ||
| ) | const [inline] |
Definition at line 271 of file fmat.h.
References assert, TNT::Fortran_Matrix< T >::col_, i, TNT::Fortran_Matrix< T >::m_, and TNT::Fortran_Matrix< T >::n_.
| Fortran_Matrix<T>& TNT::Fortran_Matrix< T >::operator= | ( | const T & | scalar | ) | [inline] |
| Fortran_Matrix<T>& TNT::Fortran_Matrix< T >::operator= | ( | const Fortran_Matrix< T > & | A | ) | [inline] |
Definition at line 208 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_.
| void TNT::Fortran_Matrix< T >::set | ( | const T & | val | ) | [inline, protected] |
Definition at line 127 of file fmat.h.
References i, TNT::Fortran_Matrix< T >::m_, N, TNT::Fortran_Matrix< T >::n_, TNT::Fortran_Matrix< T >::v_, and simple_enum_gen::val.
T** TNT::Fortran_Matrix< T >::col_ [protected] |
Definition at line 70 of file fmat.h.
Referenced by TNT::Fortran_Matrix< T >::destroy(), TNT::Fortran_Matrix< T >::initialize(), and TNT::Fortran_Matrix< T >::operator()().
Subscript TNT::Fortran_Matrix< T >::m_ [protected] |
Definition at line 68 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().
Subscript TNT::Fortran_Matrix< T >::n_ [protected] |
Definition at line 69 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().
T* TNT::Fortran_Matrix< T >::v_ [protected] |
Definition at line 67 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().