Provide matrix coefficients defined by bilinear forms.
#include <TBFCoeffFn.hh>
|
| TBFCoeffFn (const bf_t *bf, const TPermutation *row_perm, const TPermutation *col_perm) |
| 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 |
|
virtual void | eval (const std::vector< idx_t > &, const std::vector< idx_t > &, value_t *) const |
|
| TCoeffFn () |
| default constructor
|
|
virtual | ~TCoeffFn () |
| destructor
|
|
|
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)