Class LC2 is a 2-term linear combination. More...
Public Member Functions | |
| virtual | ~LC2 () |
| LC2 (const Node1 &x1, const Node2 &x2, LCSign sign=LCAdd) | |
| void | evalInto (TSFExtended::Vector< Scalar > &result) const |
| void | addInto (TSFExtended::Vector< Scalar > &result, LCSign sign=LCAdd) const |
| virtual TSFExtended::Vector < Scalar > | eval () const |
| bool | containsVector (const Thyra::VectorBase< Scalar > *vec) const |
Static Private Member Functions | |
| static Scalar | one () |
| static Scalar | zero () |
Private Attributes | |
| Node1 | x1_ |
| Node2 | x2_ |
| LCSign | sign_ |
Class LC2 is a 2-term linear combination.
Definition at line 180 of file TSFLinearCombinationDecl.hpp.
| virtual TSFExtendedOps::LC2< Scalar, Node1, Node2 >::~LC2 | ( | ) | [inline, virtual] |
Definition at line 184 of file TSFLinearCombinationDecl.hpp.
| TSFExtendedOps::LC2< Scalar, Node1, Node2 >::LC2 | ( | const Node1 & | x1, |
| const Node2 & | x2, | ||
| LCSign | sign = LCAdd |
||
| ) | [inline] |
Definition at line 128 of file TSFLinearCombinationImpl.hpp.
| void TSFExtendedOps::LC2< Scalar, Node1, Node2 >::addInto | ( | TSFExtended::Vector< Scalar > & | result, |
| TSFExtendedOps::LCSign | sign = LCAdd |
||
| ) | const [inline] |
Definition at line 145 of file TSFLinearCombinationImpl.hpp.
References TSFExtendedOps::LCAdd, and TSFExtendedOps::LCSubtract.
| bool TSFExtendedOps::LC2< Scalar, Node1, Node2 >::containsVector | ( | const Thyra::VectorBase< Scalar > * | vec | ) | const [inline] |
Definition at line 133 of file TSFLinearCombinationImpl.hpp.
Referenced by TSFExtended::Vector< Scalar >::operator=().
| TSFExtended::Vector< Scalar > TSFExtendedOps::LC2< Scalar, Node1, Node2 >::eval | ( | ) | const [inline, virtual] |
Implements TSFExtendedOps::ConvertibleToVector< Scalar >.
Definition at line 154 of file TSFLinearCombinationImpl.hpp.
References TSFExtended::Vector< Scalar >::eval().
Referenced by TSFExtended::Vector< Scalar >::operator=().
| void TSFExtendedOps::LC2< Scalar, Node1, Node2 >::evalInto | ( | TSFExtended::Vector< Scalar > & | result | ) | const [inline] |
Definition at line 137 of file TSFLinearCombinationImpl.hpp.
Referenced by TSFExtended::Vector< Scalar >::operator=().
| static Scalar TSFExtendedOps::LC2< Scalar, Node1, Node2 >::one | ( | ) | [inline, static, private] |
Definition at line 211 of file TSFLinearCombinationDecl.hpp.
| static Scalar TSFExtendedOps::LC2< Scalar, Node1, Node2 >::zero | ( | ) | [inline, static, private] |
Definition at line 214 of file TSFLinearCombinationDecl.hpp.
LCSign TSFExtendedOps::LC2< Scalar, Node1, Node2 >::sign_ [private] |
Definition at line 208 of file TSFLinearCombinationDecl.hpp.
Node1 TSFExtendedOps::LC2< Scalar, Node1, Node2 >::x1_ [private] |
Definition at line 204 of file TSFLinearCombinationDecl.hpp.
Node2 TSFExtendedOps::LC2< Scalar, Node1, Node2 >::x2_ [private] |
Definition at line 206 of file TSFLinearCombinationDecl.hpp.