Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Types | Public Member Functions | Private Attributes
concepts::SparseOWrapper Class Reference

Wrapper for a concepts::SparseMatrix<T>. More...

#include <sparseOWrapper.hh>

List of all members.

Public Types

typedef ArraySparseWrapper Type

Public Member Functions

const MATtype imagType () const
const char * ir () const
bool isComplex () const
const char * jc () const
miINT32_t nnz () const
const char * pi () const
const char * pr () const
const MATtype realType () const
void size (miINT32_t &rows, miINT32_t &cols) const
template<class T >
 SparseOWrapper (SparseMatrix< T > &sparse)
 Constructor.
virtual ~SparseOWrapper ()

Private Attributes

miINT32_t cols_
int * conceptsCol_
int * conceptsRow_
const char * ir_
bool isComplex_
const char * jc_
miINT32_t nnz_
const char * pi_
const char * pr_
miINT32_t rows_
MATtype type_
double * valCmplx_
double * valReal_

Detailed Description

Wrapper for a concepts::SparseMatrix<T>.

Class that translates a concepts::SparseMatrix<T> in a for so that matfile can store it as matfile. Is a part of matfileOutput. You build a wrapper by using the Constructor with a given matrix.

Test:
test::MatfileTest

Definition at line 23 of file sparseOWrapper.hh.


Member Typedef Documentation

typedef ArraySparseWrapper concepts::SparseOWrapper::Type
Author:
Robert Gruhlke , 2011
Christian Heier, 2011

Definition at line 35 of file sparseOWrapper.hh.


Constructor & Destructor Documentation

template<class T >
concepts::SparseOWrapper::SparseOWrapper ( SparseMatrix< T > &  matrix)

Constructor.

The constructor take as argument a reference to the matrix which will be stored. .You can store the matrix using matfile OutputDevice .

Definition at line 142 of file sparseOWrapper.hh.

Here is the call graph for this function:

virtual concepts::SparseOWrapper::~SparseOWrapper ( ) [inline, virtual]

Definition at line 47 of file sparseOWrapper.hh.


Member Function Documentation

const MATtype concepts::SparseOWrapper::imagType ( ) const [inline]

Definition at line 103 of file sparseOWrapper.hh.

const char* concepts::SparseOWrapper::ir ( ) const [inline]

Definition at line 77 of file sparseOWrapper.hh.

bool concepts::SparseOWrapper::isComplex ( ) const [inline]

Definition at line 61 of file sparseOWrapper.hh.

const char* concepts::SparseOWrapper::jc ( ) const [inline]

Definition at line 85 of file sparseOWrapper.hh.

miINT32_t concepts::SparseOWrapper::nnz ( ) const [inline]

Definition at line 69 of file sparseOWrapper.hh.

const char* concepts::SparseOWrapper::pi ( ) const [inline]

Definition at line 111 of file sparseOWrapper.hh.

const char* concepts::SparseOWrapper::pr ( ) const [inline]

Definition at line 107 of file sparseOWrapper.hh.

const MATtype concepts::SparseOWrapper::realType ( ) const [inline]

Definition at line 99 of file sparseOWrapper.hh.

void concepts::SparseOWrapper::size ( miINT32_t rows,
miINT32_t cols 
) const [inline]

Definition at line 94 of file sparseOWrapper.hh.


Member Data Documentation

Definition at line 120 of file sparseOWrapper.hh.

Definition at line 130 of file sparseOWrapper.hh.

Definition at line 130 of file sparseOWrapper.hh.

const char* concepts::SparseOWrapper::ir_ [private]

Definition at line 123 of file sparseOWrapper.hh.

Definition at line 117 of file sparseOWrapper.hh.

const char * concepts::SparseOWrapper::jc_ [private]

Definition at line 123 of file sparseOWrapper.hh.

Definition at line 120 of file sparseOWrapper.hh.

const char * concepts::SparseOWrapper::pi_ [private]

Definition at line 126 of file sparseOWrapper.hh.

const char* concepts::SparseOWrapper::pr_ [private]

Definition at line 126 of file sparseOWrapper.hh.

Definition at line 120 of file sparseOWrapper.hh.

Definition at line 132 of file sparseOWrapper.hh.

Definition at line 129 of file sparseOWrapper.hh.

Definition at line 129 of file sparseOWrapper.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)