HLIBpro  3.0
TCBCoeffFn< T > Class Template Reference

Eval real valued matrix coefficients with call-back function.

#include <TCoeffFn.hh>

Inheritance diagram for TCBCoeffFn< 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 TCoeffFn< T >
 TCoeffFn ()
 default constructor
 
virtual ~TCoeffFn ()
 destructor
 
virtual void eval (const TIndexSet &rowis, const TIndexSet &colis, value_t *matrix) const
 

Member Function Documentation

◆ eval()

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

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

Implements TCoeffFn< T >.