Public Member Functions | |
| virtual | ~ConvertibleToVector () |
| virtual Vector< Scalar > | eval () const =0 |
| VectorSpace< Scalar > | space () const |
| int | dim () const |
| Return the dimension of the vector. | |
| Vector< Scalar > | copy () const |
| Create a new vector that is a copy of this vector. | |
| Vector< Scalar > | dotStar (const Vector< Scalar > &other) const |
| Element-by-element product (Matlab dot-star operator) | |
| Vector< Scalar > | dotSlash (const Vector< Scalar > &other) const |
| Element-by-element division (Matlab dot-slash operator) | |
| Vector< Scalar > | reciprocal () const |
| Return element-by-element reciprocal as a new vector. | |
| Vector< Scalar > | abs () const |
| Return element-by-element absolute value as a new vector. | |
| Scalar | norm2 () const |
| Scalar | norm1 () const |
| Scalar | normInf () const |
| Scalar | max () const |
| Scalar | min () const |
| Scalar | min (int &index) const |
| Return the min element and the corresponding index. | |
| Scalar | max (int &index) const |
| Return the max element and the corresponding index. | |
Definition at line 48 of file TSFLinearCombinationDecl.hpp.
| virtual TSFExtendedOps::ConvertibleToVector< Scalar >::~ConvertibleToVector | ( | ) | [inline, virtual] |
Definition at line 52 of file TSFLinearCombinationDecl.hpp.
| Vector<Scalar> TSFExtendedOps::ConvertibleToVector< Scalar >::abs | ( | ) | const [inline] |
Return element-by-element absolute value as a new vector.
Definition at line 88 of file TSFLinearCombinationDecl.hpp.
References TSFExtendedOps::ConvertibleToVector< Scalar >::abs().
Referenced by TSFExtendedOps::ConvertibleToVector< Scalar >::abs().
| Vector<Scalar> TSFExtendedOps::ConvertibleToVector< Scalar >::copy | ( | ) | const [inline] |
Create a new vector that is a copy of this vector.
Definition at line 66 of file TSFLinearCombinationDecl.hpp.
References TSFExtendedOps::ConvertibleToVector< Scalar >::eval().
| int TSFExtendedOps::ConvertibleToVector< Scalar >::dim | ( | ) | const [inline] |
Return the dimension of the vector.
Definition at line 61 of file TSFLinearCombinationDecl.hpp.
References TSFExtendedOps::ConvertibleToVector< Scalar >::eval().
| Vector<Scalar> TSFExtendedOps::ConvertibleToVector< Scalar >::dotSlash | ( | const Vector< Scalar > & | other | ) | const [inline] |
Element-by-element division (Matlab dot-slash operator)
Definition at line 77 of file TSFLinearCombinationDecl.hpp.
References TSFExtendedOps::ConvertibleToVector< Scalar >::eval().
| Vector<Scalar> TSFExtendedOps::ConvertibleToVector< Scalar >::dotStar | ( | const Vector< Scalar > & | other | ) | const [inline] |
Element-by-element product (Matlab dot-star operator)
Definition at line 71 of file TSFLinearCombinationDecl.hpp.
References TSFExtendedOps::ConvertibleToVector< Scalar >::eval().
| virtual Vector<Scalar> TSFExtendedOps::ConvertibleToVector< Scalar >::eval | ( | ) | const [pure virtual] |
Implemented in TSFExtendedOps::OpTimesLC< Scalar, Node >, and TSFExtendedOps::LC2< Scalar, Node1, Node2 >.
Referenced by TSFExtendedOps::ConvertibleToVector< Scalar >::copy(), TSFExtendedOps::ConvertibleToVector< Scalar >::dim(), TSFExtendedOps::ConvertibleToVector< Scalar >::dotSlash(), TSFExtendedOps::ConvertibleToVector< Scalar >::dotStar(), TSFExtendedOps::ConvertibleToVector< Scalar >::max(), TSFExtendedOps::ConvertibleToVector< Scalar >::min(), TSFExtendedOps::ConvertibleToVector< Scalar >::norm1(), TSFExtendedOps::ConvertibleToVector< Scalar >::norm2(), TSFExtendedOps::ConvertibleToVector< Scalar >::normInf(), and TSFExtendedOps::ConvertibleToVector< Scalar >::space().
| Scalar TSFExtendedOps::ConvertibleToVector< Scalar >::max | ( | ) | const [inline] |
Definition at line 100 of file TSFLinearCombinationDecl.hpp.
References TSFExtendedOps::ConvertibleToVector< Scalar >::eval().
| Scalar TSFExtendedOps::ConvertibleToVector< Scalar >::max | ( | int & | index | ) | const [inline] |
Return the max element and the corresponding index.
Definition at line 109 of file TSFLinearCombinationDecl.hpp.
References TSFExtendedOps::ConvertibleToVector< Scalar >::eval().
| Scalar TSFExtendedOps::ConvertibleToVector< Scalar >::min | ( | ) | const [inline] |
Definition at line 103 of file TSFLinearCombinationDecl.hpp.
References TSFExtendedOps::ConvertibleToVector< Scalar >::eval().
| Scalar TSFExtendedOps::ConvertibleToVector< Scalar >::min | ( | int & | index | ) | const [inline] |
Return the min element and the corresponding index.
Definition at line 106 of file TSFLinearCombinationDecl.hpp.
References TSFExtendedOps::ConvertibleToVector< Scalar >::eval().
| Scalar TSFExtendedOps::ConvertibleToVector< Scalar >::norm1 | ( | ) | const [inline] |
Definition at line 94 of file TSFLinearCombinationDecl.hpp.
References TSFExtendedOps::ConvertibleToVector< Scalar >::eval().
| Scalar TSFExtendedOps::ConvertibleToVector< Scalar >::norm2 | ( | ) | const [inline] |
Reimplemented in TSFExtendedOps::OpTimesLC< Scalar, Node >.
Definition at line 91 of file TSFLinearCombinationDecl.hpp.
References TSFExtendedOps::ConvertibleToVector< Scalar >::eval().
| Scalar TSFExtendedOps::ConvertibleToVector< Scalar >::normInf | ( | ) | const [inline] |
Reimplemented in TSFExtendedOps::OpTimesLC< Scalar, Node >.
Definition at line 97 of file TSFLinearCombinationDecl.hpp.
References TSFExtendedOps::ConvertibleToVector< Scalar >::eval().
| Vector<Scalar> TSFExtendedOps::ConvertibleToVector< Scalar >::reciprocal | ( | ) | const [inline] |
Return element-by-element reciprocal as a new vector.
Definition at line 83 of file TSFLinearCombinationDecl.hpp.
References TSFExtendedOps::ConvertibleToVector< Scalar >::reciprocal().
Referenced by TSFExtendedOps::ConvertibleToVector< Scalar >::reciprocal().
| VectorSpace<Scalar> TSFExtendedOps::ConvertibleToVector< Scalar >::space | ( | ) | const [inline] |
Definition at line 58 of file TSFLinearCombinationDecl.hpp.
References TSFExtendedOps::ConvertibleToVector< Scalar >::eval().