DMRITool  v0.1.1-139-g860d86b4
Diffusion MRI Tool
Public Member Functions | List of all members
spams::Data< T > Class Template Referenceabstract

#include <linalg.h>

+ Inheritance diagram for spams::Data< T >:

Detailed Description

template<typename T>
class spams::Data< T >

Data class, abstract class, useful in the class image.

Definition at line 130 of file linalg.h.

Public Member Functions

virtual void getData (Vector< T > &data, const int i) const =0
 
virtual void getGroup (Matrix< T > &data, const vector_groups &groups, const int i) const =0
 
virtual int m () const =0
 
virtual int n () const =0
 
virtual void norm_2sq_cols (Vector< T > &norms) const
 
virtual T operator[] (const int index) const =0
 
virtual int V () const =0
 
virtual ~Data ()
 

Constructor & Destructor Documentation

template<typename T>
virtual spams::Data< T >::~Data ( )
inlinevirtual

Definition at line 140 of file linalg.h.

Member Function Documentation

template<typename T>
virtual void spams::Data< T >::getData ( Vector< T > &  data,
const int  i 
) const
pure virtual
template<typename T>
virtual void spams::Data< T >::getGroup ( Matrix< T > &  data,
const vector_groups groups,
const int  i 
) const
pure virtual

Implemented in spams::SpMatrix< T >, and spams::Matrix< T >.

Referenced by spams::Matrix< T >::operator[](), and spams::SpMatrix< T >::V().

+ Here is the caller graph for this function:

template<typename T>
virtual int spams::Data< T >::m ( ) const
pure virtual
template<typename T>
virtual int spams::Data< T >::n ( ) const
pure virtual
template<typename T>
virtual void spams::Data< T >::norm_2sq_cols ( Vector< T > &  norms) const
inlinevirtual

Reimplemented in spams::SpMatrix< T >, and spams::Matrix< T >.

Definition at line 139 of file linalg.h.

Referenced by spams::SpMatrix< T >::copyTo(), spams::lasso(), spams::lasso2(), and spams::Matrix< T >::nrm2sq().

+ Here is the caller graph for this function:

template<typename T>
virtual T spams::Data< T >::operator[] ( const int  index) const
inlinepure virtual

Implemented in spams::SpMatrix< T >, and spams::Matrix< T >.

Referenced by spams::ProdMatrix< T >::m(), and spams::SpMatrix< T >::V().

+ Here is the caller graph for this function:

template<typename T>
virtual int spams::Data< T >::V ( ) const
pure virtual

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