Main Page | Class List | File List | Class Members

CS_TS< T > Class Template Reference

Cache-simulated version of the Triplet Scheme method to store sparse matrices. More...

#include <CS_TS.hpp>

Collaboration diagram for CS_TS< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CS_TS (std::vector< Triplet< T > > input, ULI m, ULI n, T zero)
 Base constructor.
T * MV (T *x)
 Basic MV.
 ~CS_TS ()
 Base destructor.

Protected Attributes

ULI nnz
 Number of non-zeros.
ULI nor
 Number of rows.
ULI noc
 Number of columns.
CS_ARRAY< T > * nzs
 Raw array storing the non-zeros and their locations.
CS_ARRAY< ULI > * row
 Raw array storing the row-indices.
CS_ARRAY< ULI > * col
 Raw array storing the column-indices.
zero_element
 Which element is considered zero.
unsigned long int FAC
 version control for cache resets

Detailed Description

template<typename T>
class CS_TS< T >

Cache-simulated version of the Triplet Scheme method to store sparse matrices.


Member Function Documentation

template<typename T>
T* CS_TS< T >::MV T *  x  )  [inline]
 

Basic MV.

Performs z=Ax.


The documentation for this class was generated from the following file:
Generated on Fri Aug 15 18:12:25 2008 for Run-timeCacheSimulator by  doxygen 1.3.9.1