Geophysical Inversion and Modelling Library  v1.5.0
GIMLI::MatrixElement< ValueType, IndexType, ContainerType > Class Template Reference

based on: Ulrich Breymann, Addison Wesley Longman 2000 , revised edition ISBN 0-201-67488-2, Designing Components with the C++ STL More...

Public Types

typedef std::pair< IndexType, IndexType > IndexPair
 
typedef MatrixElement< ValueType, IndexType, ContainerType > & Reference
 

Public Member Functions

 MatrixElement (ContainerType &Cont, IndexType r, IndexType c)
 
Reference operator= (Reference rhs)
 
ValueType asValue () const
 
 operator ValueType () const
 
Reference operator= (const ValueType &x)
 
Reference operator+= (const ValueType &x)
 
Reference operator-= (const ValueType &x)
 

Detailed Description

template<class ValueType, class IndexType, class ContainerType>
class GIMLI::MatrixElement< ValueType, IndexType, ContainerType >

based on: Ulrich Breymann, Addison Wesley Longman 2000 , revised edition ISBN 0-201-67488-2, Designing Components with the C++ STL