Class xlifepp::OperatorTraits#

template<class ScalarType, class MV, class OP>
class OperatorTraits#

Collaboration diagram for xlifepp::OperatorTraits:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "1" [label="xlifepp::OperatorTraits< ScalarType, MV, OP >" tooltip="xlifepp::OperatorTraits< ScalarType, MV, OP >" fillcolor="#BFBFBF"] }

Virtual base class which defines basic traits for the operator type.

An adapter for this traits class must exist for the MV and OP types. If not, this class will produce a compile-time error.

Operator application method.

static inline void apply(const OP &Op, const MV &x, MV &y)#

Application method which performs operation y = Op*x. An OperatorError exception is thrown if there is an error.