#include <sdifmatrixdata.hpp>
Inheritance diagram for Easdif::SDIFMatrixData< T >:
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 |
SDIFMatrixData * | clone () |
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) |
|
template method for getting data: only for internal use |