Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Attributes | List of all members
TNT::Fortran_Sparse_Col_Matrix< T > Class Template Reference

#include <Base/Math/tnt/fcscmat.h>

+ Collaboration diagram for TNT::Fortran_Sparse_Col_Matrix< T >:

Public Member Functions

Subscript col_ptr (Subscript i)
 
const Subscript col_ptr (Subscript i) const
 
Subscript dim (Subscript i) const
 
 Fortran_Sparse_Col_Matrix (void)
 
 Fortran_Sparse_Col_Matrix (const Fortran_Sparse_Col_Matrix< T > &S)
 
 Fortran_Sparse_Col_Matrix (Subscript M, Subscript N, Subscript nz, const T *val, const Subscript *r, const Subscript *c)
 
 Fortran_Sparse_Col_Matrix (Subscript M, Subscript N, Subscript nz, char *val, char *r, char *c)
 
 Fortran_Sparse_Col_Matrix (Subscript M, Subscript N, Subscript nz, const T *val, Subscript *r, Subscript *c)
 
Subscript lbound () const
 
Fortran_Sparse_Col_Matrixnewsize (Subscript M, Subscript N, Subscript nz)
 
Subscript num_cols () const
 
Subscript num_nonzeros () const
 
Subscript num_rows () const
 
Fortran_Sparse_Col_Matrixoperator= (const Fortran_Sparse_Col_Matrix &C)
 
Subscriptrow_ind (Subscript i)
 
const Subscriptrow_ind (Subscript i) const
 
T & val (Subscript i)
 
const T & val (Subscript i) const
 
 ~Fortran_Sparse_Col_Matrix ()
 

Protected Attributes

Vector< Subscriptcolptr_
 
Subscript m_
 
Subscript n_
 
int nz_
 
Vector< Subscriptrowind_
 
Vector< T > val_
 

Detailed Description

template<class T>
class TNT::Fortran_Sparse_Col_Matrix< T >

Definition at line 53 of file fcscmat.h.

Constructor & Destructor Documentation

template<class T>
TNT::Fortran_Sparse_Col_Matrix< T >::Fortran_Sparse_Col_Matrix ( void  )
template<class T>
TNT::Fortran_Sparse_Col_Matrix< T >::Fortran_Sparse_Col_Matrix ( const Fortran_Sparse_Col_Matrix< T > &  S)
inline

Definition at line 70 of file fcscmat.h.

template<class T>
TNT::Fortran_Sparse_Col_Matrix< T >::Fortran_Sparse_Col_Matrix ( Subscript  M,
Subscript  N,
Subscript  nz,
const T *  val,
const Subscript r,
const Subscript c 
)
inline

Definition at line 73 of file fcscmat.h.

template<class T>
TNT::Fortran_Sparse_Col_Matrix< T >::Fortran_Sparse_Col_Matrix ( Subscript  M,
Subscript  N,
Subscript  nz,
char *  val,
char *  r,
char *  c 
)
inline

Definition at line 78 of file fcscmat.h.

template<class T>
TNT::Fortran_Sparse_Col_Matrix< T >::Fortran_Sparse_Col_Matrix ( Subscript  M,
Subscript  N,
Subscript  nz,
const T *  val,
Subscript r,
Subscript c 
)
inline

Definition at line 83 of file fcscmat.h.

template<class T>
TNT::Fortran_Sparse_Col_Matrix< T >::~Fortran_Sparse_Col_Matrix ( )
inline

Definition at line 88 of file fcscmat.h.

Member Function Documentation

template<class T>
Subscript TNT::Fortran_Sparse_Col_Matrix< T >::col_ptr ( Subscript  i)
inline

Definition at line 97 of file fcscmat.h.

References TNT::Fortran_Sparse_Col_Matrix< T >::colptr_.

template<class T>
const Subscript TNT::Fortran_Sparse_Col_Matrix< T >::col_ptr ( Subscript  i) const
inline

Definition at line 98 of file fcscmat.h.

References TNT::Fortran_Sparse_Col_Matrix< T >::colptr_.

template<class T>
Subscript TNT::Fortran_Sparse_Col_Matrix< T >::dim ( Subscript  i) const
inline

Definition at line 104 of file fcscmat.h.

References TNT::Fortran_Sparse_Col_Matrix< T >::m_.

template<class T>
Subscript TNT::Fortran_Sparse_Col_Matrix< T >::lbound ( ) const
inline

Definition at line 116 of file fcscmat.h.

template<class T>
Fortran_Sparse_Col_Matrix& TNT::Fortran_Sparse_Col_Matrix< T >::newsize ( Subscript  M,
Subscript  N,
Subscript  nz 
)
inline
template<class T>
Subscript TNT::Fortran_Sparse_Col_Matrix< T >::num_cols ( ) const
inline

Definition at line 101 of file fcscmat.h.

References TNT::Fortran_Sparse_Col_Matrix< T >::m_.

template<class T>
Subscript TNT::Fortran_Sparse_Col_Matrix< T >::num_nonzeros ( ) const
inline

Definition at line 115 of file fcscmat.h.

References TNT::Fortran_Sparse_Col_Matrix< T >::nz_.

template<class T>
Subscript TNT::Fortran_Sparse_Col_Matrix< T >::num_rows ( ) const
inline

Definition at line 102 of file fcscmat.h.

References TNT::Fortran_Sparse_Col_Matrix< T >::n_.

template<class T>
Fortran_Sparse_Col_Matrix& TNT::Fortran_Sparse_Col_Matrix< T >::operator= ( const Fortran_Sparse_Col_Matrix< T > &  C)
inline
template<class T>
Subscript& TNT::Fortran_Sparse_Col_Matrix< T >::row_ind ( Subscript  i)
inline

Definition at line 94 of file fcscmat.h.

References TNT::Fortran_Sparse_Col_Matrix< T >::rowind_.

template<class T>
const Subscript& TNT::Fortran_Sparse_Col_Matrix< T >::row_ind ( Subscript  i) const
inline

Definition at line 95 of file fcscmat.h.

References TNT::Fortran_Sparse_Col_Matrix< T >::rowind_.

template<class T>
T& TNT::Fortran_Sparse_Col_Matrix< T >::val ( Subscript  i)
inline

Definition at line 91 of file fcscmat.h.

References TNT::Fortran_Sparse_Col_Matrix< T >::val_.

template<class T>
const T& TNT::Fortran_Sparse_Col_Matrix< T >::val ( Subscript  i) const
inline

Definition at line 92 of file fcscmat.h.

References TNT::Fortran_Sparse_Col_Matrix< T >::val_.

Member Data Documentation

template<class T>
Vector<Subscript> TNT::Fortran_Sparse_Col_Matrix< T >::colptr_
protected
template<class T>
Subscript TNT::Fortran_Sparse_Col_Matrix< T >::m_
protected
template<class T>
Subscript TNT::Fortran_Sparse_Col_Matrix< T >::n_
protected
template<class T>
int TNT::Fortran_Sparse_Col_Matrix< T >::nz_
protected
template<class T>
Vector<Subscript> TNT::Fortran_Sparse_Col_Matrix< T >::rowind_
protected
template<class T>
Vector<T> TNT::Fortran_Sparse_Col_Matrix< T >::val_
protected

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