Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Public Attributes
concepts::HashedSparseMatrix< T >::Value Struct Reference

Values of a matrix in sparse notation. More...

#include <hashedSMatrix.hh>

Collaboration diagram for concepts::HashedSparseMatrix< T >::Value:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void * operator new (size_t sz)
void * operator new (size_t, Pool< typename HashedSparseMatrix< T >::Value > &pool)
Valueoperator*= (const T factor)
 Mulitply value with a certain constant.
 Value (Value *l, int i, T v=0.0)
 Constructor.

Public Attributes

uint idx
Valuelnk
val

Detailed Description

template<class T>
struct concepts::HashedSparseMatrix< T >::Value

Values of a matrix in sparse notation.

See also:
HashedSparseMatrix

Definition at line 50 of file hashedSMatrix.hh.


Constructor & Destructor Documentation

template<class T>
concepts::HashedSparseMatrix< T >::Value::Value ( Value l,
int  i,
v = 0.0 
) [inline]

Constructor.

Creates a linked list of index-values pairs from tail to head. The already existing list is taken and the link of the item points to the head of this list. The given index and value are stored in to head (the new entry).

Parameters:
lLinked list of index-value pairs
iIndex of the new entry
vValue of the new entry

Definition at line 64 of file hashedSMatrix.hh.


Member Function Documentation

template<class T>
void* concepts::HashedSparseMatrix< T >::Value::operator new ( size_t  sz) [inline]

Definition at line 65 of file hashedSMatrix.hh.

template<class T>
void* concepts::HashedSparseMatrix< T >::Value::operator new ( size_t  ,
Pool< typename HashedSparseMatrix< T >::Value > &  pool 
) [inline]

Definition at line 67 of file hashedSMatrix.hh.

Here is the call graph for this function:

template<class T>
Value& concepts::HashedSparseMatrix< T >::Value::operator*= ( const T  factor) [inline]

Mulitply value with a certain constant.

Definition at line 70 of file hashedSMatrix.hh.


Member Data Documentation

template<class T>
uint concepts::HashedSparseMatrix< T >::Value::idx

Definition at line 52 of file hashedSMatrix.hh.

template<class T>
Value* concepts::HashedSparseMatrix< T >::Value::lnk

Definition at line 51 of file hashedSMatrix.hh.

template<class T>
T concepts::HashedSparseMatrix< T >::Value::val

Definition at line 53 of file hashedSMatrix.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)