HLIBpro  2.6
TCoeffFn< T > Class Template Referenceabstract

Base class for returning coefficient for a given indexpair (i,j) in internal ordering.

#include <TCoeffFn.hh>

Inheritance diagram for TCoeffFn< T >:
TPermCoeffFn< T > TCBCoeffFn< T >

Public Member Functions

 TCoeffFn ()
 default constructor
 
virtual ~TCoeffFn ()
 destructor
 
virtual bool is_complex () const
 return true if function is complex valued
 
virtual matform_t matrix_format () const
 return format of matrix, e.g. symmetric or hermitian
 
virtual void eval (const TIndexSet &rowis, const TIndexSet &colis, value_t *matrix) const =0
 

Member Function Documentation

◆ eval()

virtual void eval ( const TIndexSet rowis,
const TIndexSet colis,
value_t *  matrix 
) const
pure virtual

return τ x σ subblock of real valued matrix as dense matrix block in column major format

Implemented in TPermCoeffFn< T >, and TPermCoeffFn< T_bf::value_t >.