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

#include <linalg.h>

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

Detailed Description

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

Abstract matrix class.

Definition at line 188 of file linalg.h.

Public Member Functions

virtual void add_rawCol (const int i, T *col, const T a) const =0
 
virtual void copyCol (const int i, Vector< T > &Xi) const =0
 
virtual void diag (Vector< T > &diag) const =0
 
virtual void extract_rawCol (const int i, T *Xi) const =0
 
virtual int m () const =0
 
virtual int n () const =0
 
virtual T operator() (const int index1, const int index2) const =0
 
virtual ~AbstractMatrix ()
 

Constructor & Destructor Documentation

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

Definition at line 202 of file linalg.h.

Member Function Documentation

template<typename T>
virtual void spams::AbstractMatrix< T >::add_rawCol ( const int  i,
T *  col,
const T  a 
) const
pure virtual

compute X(:,i)<- X(:,i)+a*col;

Implemented in spams::SubMatrix< T >, spams::ProdMatrix< T >, and spams::Matrix< T >.

Referenced by spams::coreIST(), and spams::coreISTconstrained().

+ Here is the caller graph for this function:

template<typename T>
virtual void spams::AbstractMatrix< T >::copyCol ( const int  i,
Vector< T > &  Xi 
) const
pure virtual

copy X(:,i) into Xi

Implemented in spams::SubMatrix< T >, spams::ProdMatrix< T >, and spams::Matrix< T >.

Referenced by spams::coreORMP(), spams::lasso(), and spams::lasso2().

+ Here is the caller graph for this function:

template<typename T>
virtual void spams::AbstractMatrix< T >::diag ( Vector< T > &  diag) const
pure virtual

extract diagonal

Implemented in spams::SubMatrix< T >, spams::ProdMatrix< T >, and spams::Matrix< T >.

template<typename T>
virtual void spams::AbstractMatrix< T >::extract_rawCol ( const int  i,
T *  Xi 
) const
pure virtual

copy X(:,i) into Xi

Implemented in spams::SubMatrix< T >, spams::ProdMatrix< T >, and spams::Matrix< T >.

Referenced by spams::coreLARS(), spams::coreLARS2(), and spams::coreLARS2W().

+ Here is the caller graph for this function:

template<typename T>
virtual int spams::AbstractMatrix< T >::m ( ) const
pure virtual
template<typename T>
virtual int spams::AbstractMatrix< T >::n ( ) const
pure virtual
template<typename T>
virtual T spams::AbstractMatrix< T >::operator() ( const int  index1,
const int  index2 
) const
inlinepure virtual

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