Blender  V2.59
Public Member Functions | Protected Attributes
TNT::Fortran_Sparse_Col_Matrix< T > Class Template Reference

#include <fcscmat.h>

List of all members.

Public Member Functions

 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)
 ~Fortran_Sparse_Col_Matrix ()
T & val (Subscript i)
const T & val (Subscript i) const
Subscriptrow_ind (Subscript i)
const Subscriptrow_ind (Subscript i) const
Subscript col_ptr (Subscript i)
const Subscript col_ptr (Subscript i) const
Subscript num_cols () const
Subscript num_rows () const
Subscript dim (Subscript i) const
Subscript num_nonzeros () const
Subscript lbound () const
Fortran_Sparse_Col_Matrixoperator= (const Fortran_Sparse_Col_Matrix &C)
Fortran_Sparse_Col_Matrixnewsize (Subscript M, Subscript N, Subscript nz)

Protected Attributes

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

Detailed Description

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

Definition at line 51 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 68 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 71 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 76 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 81 of file fcscmat.h.

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

Definition at line 86 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 95 of file fcscmat.h.

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

Definition at line 96 of file fcscmat.h.

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

Definition at line 102 of file fcscmat.h.

References assert.

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

Definition at line 114 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 99 of file fcscmat.h.

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

Definition at line 113 of file fcscmat.h.

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

Definition at line 100 of file fcscmat.h.

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 92 of file fcscmat.h.

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

Definition at line 93 of file fcscmat.h.

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

Definition at line 89 of file fcscmat.h.

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

Definition at line 90 of file fcscmat.h.


Member Data Documentation

template<class T>
Vector<Subscript> TNT::Fortran_Sparse_Col_Matrix< T >::colptr_ [protected]

Definition at line 58 of file fcscmat.h.

Referenced by TNT::Fortran_Sparse_Col_Matrix< T >::operator=().

template<class T>
Subscript TNT::Fortran_Sparse_Col_Matrix< T >::m_ [protected]

Definition at line 61 of file fcscmat.h.

Referenced by TNT::Fortran_Sparse_Col_Matrix< T >::operator=().

template<class T>
Subscript TNT::Fortran_Sparse_Col_Matrix< T >::n_ [protected]

Definition at line 62 of file fcscmat.h.

Referenced by TNT::Fortran_Sparse_Col_Matrix< T >::operator=().

template<class T>
int TNT::Fortran_Sparse_Col_Matrix< T >::nz_ [protected]

Definition at line 60 of file fcscmat.h.

Referenced by TNT::Fortran_Sparse_Col_Matrix< T >::operator=().

template<class T>
Vector<Subscript> TNT::Fortran_Sparse_Col_Matrix< T >::rowind_ [protected]

Definition at line 57 of file fcscmat.h.

Referenced by TNT::Fortran_Sparse_Col_Matrix< T >::operator=().

template<class T>
Vector<T> TNT::Fortran_Sparse_Col_Matrix< T >::val_ [protected]

Definition at line 56 of file fcscmat.h.

Referenced by TNT::Fortran_Sparse_Col_Matrix< T >::operator=().


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