Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::HashedSparseMatrix< T >::Value Struct Reference

#include <hashedSMatrix.hh>

Public Member Functions

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

Public Attributes

Valuelnk
 
uint idx
 
val
 

Detailed Description

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

Values of a matrix in sparse notation.

See also
HashedSparseMatrix

Definition at line 57 of file hashedSMatrix.hh.

Constructor & Destructor Documentation

◆ Value()

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 71 of file hashedSMatrix.hh.

Member Function Documentation

◆ operator new() [1/2]

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

Definition at line 72 of file hashedSMatrix.hh.

◆ operator new() [2/2]

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

Definition at line 73 of file hashedSMatrix.hh.

◆ operator*=()

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

Mulitply value with a certain constant.

Definition at line 77 of file hashedSMatrix.hh.

Member Data Documentation

◆ idx

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

Definition at line 59 of file hashedSMatrix.hh.

◆ lnk

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

Definition at line 58 of file hashedSMatrix.hh.

◆ val

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

Definition at line 60 of file hashedSMatrix.hh.


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