HLIBpro  1.2
Public Member Functions | List of all members
TPermCoeffFn< T > Class Template Reference

Eval coefficient function with reordered indices, e.g. change internal to external ordering.

#include <TCoeffFn.hh>

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

Public Member Functions

virtual void eval (const TIndexSet &rowis, const TIndexSet &colis, value_t *matrix) const
virtual void eval (const std::vector< idx_t > &, const std::vector< idx_t > &, value_t *) 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
virtual matform_t matrix_format () const
 return format of matrix, e.g. symmetric or hermitian

Member Function Documentation

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

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

Implements TCoeffFn< T >.

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 in TCBCoeffFn< T >.