PLearn 0.1
Public Member Functions
PLearn::SMat< T > Class Template Reference

#include <DoubleAccessSparseMatrix.h>

Inheritance diagram for PLearn::SMat< T >:
Inheritance graph
[legend]
Collaboration diagram for PLearn::SMat< T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SMat (int n_rows=0, int n_cols=0, string name="<no-name>", int mode=ROW_WISE, bool double_access=false)
 SMat (DoubleAccessSparseMatrix< T > *p)
DoubleAccessSparseMatrix< T > * getPtr ()

Detailed Description

template<class T>
class PLearn::SMat< T >

Definition at line 195 of file DoubleAccessSparseMatrix.h.


Constructor & Destructor Documentation

template<class T >
PLearn::SMat< T >::SMat ( int  n_rows = 0,
int  n_cols = 0,
string  name = "<no-name>",
int  mode = ROW_WISE,
bool  double_access = false 
) [inline]

Definition at line 200 of file DoubleAccessSparseMatrix.h.

: PP<DoubleAccessSparseMatrix<T> >(new DoubleAccessSparseMatrix<T>(n_rows, n_cols, name, mode, double_access)) {}
template<class T >
PLearn::SMat< T >::SMat ( DoubleAccessSparseMatrix< T > *  p) [inline]

Definition at line 202 of file DoubleAccessSparseMatrix.h.

: PP<DoubleAccessSparseMatrix<T> >(p) {}

Member Function Documentation

template<class T >
DoubleAccessSparseMatrix<T>* PLearn::SMat< T >::getPtr ( ) [inline]

Definition at line 204 of file DoubleAccessSparseMatrix.h.

{ return ptr; }

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines