HLIBpro  2.5.1
TCBCoeffFn< T > Class Template Reference

Eval real valued matrix coefficients with call-back function.

#include <TCoeffFn.hh>

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

Public Member Functions

virtual matform_t matrix_format () const
 return format of matrix, e.g. symmetric or hermitian
 
virtual void eval (const std::vector< idx_t > &rowidxs, const std::vector< idx_t > &colidxs, value_t *matrix) const
 
- Public Member Functions inherited from TPermCoeffFn< T >
virtual void eval (const TIndexSet &rowis, const TIndexSet &colis, value_t *matrix) const
 
- Public Member Functions inherited from TCoeffFn< T >
 TCoeffFn ()
 default constructor
 
virtual ~TCoeffFn ()
 destructor
 
virtual bool is_complex () const
 return true if function is complex valued
 

Member Function Documentation

◆ eval()

virtual void eval ( const std::vector< idx_t > &  ,
const std::vector< idx_t > &  ,
value_t *   
) const
inlinevirtual

return matrix coefficient for index positions defined by tau and sigma, which may be not be consecutively numbered

Reimplemented from TPermCoeffFn< T >.