Public Member Functions
TSFExtendedOps::ConvertibleToVector< Scalar > Class Template Reference
Inheritance diagram for TSFExtendedOps::ConvertibleToVector< Scalar >:
TSFExtendedOps::LC2< Scalar, Node1, Node2 > TSFExtendedOps::OpTimesLC< Scalar, Node >

List of all members.

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.

Detailed Description

template<class Scalar>
class TSFExtendedOps::ConvertibleToVector< Scalar >

Definition at line 48 of file TSFLinearCombinationDecl.hpp.


Constructor & Destructor Documentation

template<class Scalar >
virtual TSFExtendedOps::ConvertibleToVector< Scalar >::~ConvertibleToVector ( ) [inline, virtual]

Definition at line 52 of file TSFLinearCombinationDecl.hpp.


Member Function Documentation

template<class Scalar >
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().

template<class Scalar >
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().

template<class Scalar >
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().

template<class Scalar >
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().

template<class Scalar >
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().

template<class Scalar >
virtual Vector<Scalar> TSFExtendedOps::ConvertibleToVector< Scalar >::eval ( ) const [pure virtual]
template<class Scalar >
Scalar TSFExtendedOps::ConvertibleToVector< Scalar >::max ( ) const [inline]
template<class Scalar >
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().

template<class Scalar >
Scalar TSFExtendedOps::ConvertibleToVector< Scalar >::min ( ) const [inline]
template<class Scalar >
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().

template<class Scalar >
Scalar TSFExtendedOps::ConvertibleToVector< Scalar >::norm1 ( ) const [inline]
template<class Scalar >
Scalar TSFExtendedOps::ConvertibleToVector< Scalar >::norm2 ( ) const [inline]
template<class Scalar >
Scalar TSFExtendedOps::ConvertibleToVector< Scalar >::normInf ( ) const [inline]
template<class Scalar >
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().

template<class Scalar >
VectorSpace<Scalar> TSFExtendedOps::ConvertibleToVector< Scalar >::space ( ) const [inline]

Site Contact