Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TNT::Fortran_Matrix< T > Class Template Reference

#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_
 

Detailed Description

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

Definition at line 55 of file fmat.h.

Member Typedef Documentation

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

Definition at line 66 of file fmat.h.

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

Definition at line 67 of file fmat.h.

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

Definition at line 62 of file fmat.h.

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

Definition at line 64 of file fmat.h.

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

Definition at line 63 of file fmat.h.

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

Definition at line 65 of file fmat.h.

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

Definition at line 61 of file fmat.h.

Constructor & Destructor Documentation

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

Definition at line 184 of file fmat.h.

template<class T>
TNT::Fortran_Matrix< T >::Fortran_Matrix ( const Fortran_Matrix< T > &  A)
inline
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 ( Subscript  M,
Subscript  N,
char *  s 
)
inline

Definition at line 204 of file fmat.h.

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

template<class T>
TNT::Fortran_Matrix< T >::~Fortran_Matrix ( )
inline

Definition at line 217 of file fmat.h.

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

Member Function Documentation

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

Definition at line 176 of file fmat.h.

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

template<class T>
void TNT::Fortran_Matrix< T >::copy ( const T *  v)
inlineprotected
template<class T>
void TNT::Fortran_Matrix< T >::destroy ( )
inlineprotected
template<class T>
Subscript TNT::Fortran_Matrix< T >::dim ( Subscript  d) const
inline

Definition at line 250 of file fmat.h.

References 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>
void TNT::Fortran_Matrix< T >::initialize ( Subscript  M,
Subscript  N 
)
inlineprotected
template<class T>
Subscript TNT::Fortran_Matrix< T >::lbound ( ) const
inline

Definition at line 69 of file fmat.h.

template<class T>
Fortran_Matrix<T>& TNT::Fortran_Matrix< T >::newsize ( Subscript  M,
Subscript  N 
)
inline
template<class T>
Subscript TNT::Fortran_Matrix< T >::num_cols ( ) const
inline
template<class T>
Subscript TNT::Fortran_Matrix< T >::num_rows ( ) const
inline
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 Fortran_Matrix< T > &  A)
inline
template<class T>
Fortran_Matrix<T>& TNT::Fortran_Matrix< T >::operator= ( const T &  scalar)
inline

Definition at line 243 of file fmat.h.

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

template<class T>
void TNT::Fortran_Matrix< T >::set ( const T &  val)
inlineprotected
template<class T>
TNT::Fortran_Matrix< T >::set ( value  )

Member Data Documentation

template<class T>
T** TNT::Fortran_Matrix< T >::col_
protected
template<class T>
Subscript TNT::Fortran_Matrix< T >::m_
protected
template<class T>
Subscript TNT::Fortran_Matrix< T >::n_
protected
template<class T>
T* TNT::Fortran_Matrix< T >::v_
protected

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