Provide matrix coefficients defined by bilinear forms.
#include <TBFCoeffFn.hh>
|
| TBFCoeffFn (const bf_t *bf) |
| construct coefficient function for bilinear form bf
|
|
virtual | ~TBFCoeffFn () |
| destructor
|
|
bool | is_complex () const |
| return true if function is complex valued
|
|
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 |
|
| 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 |
|
virtual void | eval (const std::vector< idx_t > &tau, const std::vector< idx_t > &sigma, value_t *matrix) const=0 |
|
|
const bf_t * | _bf |
| bilinear form to evaluate
|
|
◆ eval()
virtual void eval |
( |
const std::vector< idx_t > & |
rowidxs, |
|
|
const std::vector< idx_t > & |
colidxs, |
|
|
value_t * |
matrix |
|
) |
| const |
|
inlinevirtual |
evaluate matrix coefficients in rowis × colis and store values in matrix (real valued)