Main Page | Modules | Class Hierarchy | Class List | File List | Class Members | File Members

Easdif::SDIFMatrixData< T > Class Template Reference

class which can store the value in template type class for the data storage and the operation on data More...

#include <sdifmatrixdata.hpp>

Inheritance diagram for Easdif::SDIFMatrixData< T >:

Inheritance graph
[legend]
Collaboration diagram for Easdif::SDIFMatrixData< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

template<class TT>
TT Get (int i, int j) const
template<class TT>
void _GetRow (TT *out, int irow) const throw (SDIFArrayPosition)
template<class TT>
void _GetCol (TT *out, int icol) const throw (SDIFArrayPosition)
void GetCol (double *out, int icol) const throw (SDIFArrayPosition)
void GetCol (float *out, int icol) const throw (SDIFArrayPosition)
void GetCol (int *out, int icol) const throw (SDIFArrayPosition)
void GetCol (unsigned char *out, int icol) const throw (SDIFArrayPosition)
void GetRow (double *out, int irow) const throw (SDIFArrayPosition)
void GetRow (float *out, int irow) const throw (SDIFArrayPosition)
void GetRow (int *out, int irow) const throw (SDIFArrayPosition)
void GetRow (unsigned char *out, int irow) const throw (SDIFArrayPosition)
double GetDouble (int i, int j) const
float GetFloat (int i, int j) const
int GetInt (int i, int j) const
unsigned char GetUChar (int i, int j) const
std::vector< T > & GetData ()
int GetNbRows () const
 get the row number of values
int GetNbCols () const
 get the column number of values
int read (SdifFileT *file)
int write (SdifFileT *file)
void print () const
SDIFMatrixDataclone ()
 clone matrix data
void Clear ()
 clear matrix
void Resize (int nrows, int ncols)
 resize the matrix
void Set (int i, int j, double value)
void Set (int i, int j, float value)
void Set (int i, int j, int value)
void Set (int i, int j, unsigned char value)
template<class TT>
void _SetRow (const TT *in, int irow) throw (SDIFArrayPosition)
 setting an entire row
template<class TT>
void _SetCol (const TT *in, int icol) throw (SDIFArrayPosition)
 setting an entire column
void SetCol (const double *out, int icol) throw (SDIFArrayPosition)
 setting an entire column as double
void SetCol (const float *out, int icol) throw (SDIFArrayPosition)
void SetCol (const int *out, int icol) throw (SDIFArrayPosition)
void SetCol (const unsigned char *out, int icol) throw (SDIFArrayPosition)
void SetRow (const double *out, int irow) throw (SDIFArrayPosition)
void SetRow (const float *out, int irow) throw (SDIFArrayPosition)
void SetRow (const int *out, int irow) throw (SDIFArrayPosition)
void SetRow (const unsigned char *out, int irow) throw (SDIFArrayPosition)

Detailed Description

template<class T>
class Easdif::SDIFMatrixData< T >

class which can store the value in template type class for the data storage and the operation on data


Member Function Documentation

template<class T>
template<class TT>
TT Easdif::SDIFMatrixData< T >::Get int  i,
int  j
const [inline]
 

template method for getting data: only for internal use


The documentation for this class was generated from the following file:
Generated on Tue Jan 3 15:01:00 2006 for Easdif by  doxygen 1.3.9.1