Blender V2.61 - r43446

TNT::Fortran_Matrix< T > Class Template Reference

#include <fmat.h>

List of all members.

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_

Detailed Description

template<class T>
class TNT::Fortran_Matrix< T >

Definition at line 50 of file fmat.h.


Member Typedef Documentation

template<class T>
typedef const T* TNT::Fortran_Matrix< T >::const_iterator

Definition at line 61 of file fmat.h.

template<class T>
typedef const T& TNT::Fortran_Matrix< T >::const_reference

Definition at line 62 of file fmat.h.

template<class T>
typedef T TNT::Fortran_Matrix< T >::element_type

Definition at line 57 of file fmat.h.

template<class T>
typedef T* TNT::Fortran_Matrix< T >::iterator

Definition at line 59 of file fmat.h.

template<class T>
typedef T* TNT::Fortran_Matrix< T >::pointer

Definition at line 58 of file fmat.h.

template<class T>
typedef T& TNT::Fortran_Matrix< T >::reference

Definition at line 60 of file fmat.h.

template<class T>
typedef T TNT::Fortran_Matrix< T >::value_type

Definition at line 56 of file fmat.h.


Constructor & Destructor Documentation

template<class T>
TNT::Fortran_Matrix< T >::Fortran_Matrix ( ) [inline]

Definition at line 179 of file fmat.h.

template<class T>
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().

template<class T>
TNT::Fortran_Matrix< T >::Fortran_Matrix ( Subscript  M,
Subscript  N,
const T *  v 
) [inline]
template<class T>
TNT::Fortran_Matrix< T >::~Fortran_Matrix ( ) [inline]

Definition at line 200 of file fmat.h.

References TNT::Fortran_Matrix< T >::destroy().


Member Function Documentation

template<class T>
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().

template<class T>
const T* TNT::Fortran_Matrix< T >::begin ( ) const [inline]

Definition at line 171 of file fmat.h.

References TNT::Fortran_Matrix< T >::v_.

template<class T>
void TNT::Fortran_Matrix< T >::copy ( const T *  v) [inline, protected]
template<class T>
void TNT::Fortran_Matrix< T >::destroy ( ) [inline, protected]
template<class T>
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_.

template<class T>
T* TNT::Fortran_Matrix< T >::end ( ) [inline]
template<class T>
const T* TNT::Fortran_Matrix< T >::end ( ) const [inline]
template<class T>
Subscript TNT::Fortran_Matrix< T >::lbound ( ) const [inline]

Definition at line 64 of file fmat.h.

template<class T>
reference TNT::Fortran_Matrix< T >::operator() ( Subscript  i,
Subscript  j 
) [inline]
template<class T>
const_reference TNT::Fortran_Matrix< T >::operator() ( Subscript  i,
Subscript  j 
) const [inline]
template<class T>
Fortran_Matrix<T>& TNT::Fortran_Matrix< T >::operator= ( const T &  scalar) [inline]

Definition at line 226 of file fmat.h.

template<class T>
void TNT::Fortran_Matrix< T >::set ( const T &  val) [inline, protected]

Member Data Documentation

template<class T>
T** TNT::Fortran_Matrix< T >::col_ [protected]

The documentation for this class was generated from the following file: