nemo::MathVector< T >::CWise Class Reference
This class provides component-wise mathematical operations on vectors that are not covered by standard operators/methods in the MathVector class. More...
#include <Vector.h>
Public Member Functions | |
CWise () | |
MathVector< T > | operator* (const MathVector< T > &o) const |
Returns result of component-wise multiplication. | |
MathVector< T > | operator/ (const MathVector< T > &o) const |
Returns result of component-wise division. | |
MathVector< T > | max (const MathVector< T > &o) const |
Returns component-wise maximum of this vector and the argument. | |
MathVector< T > | min (const MathVector< T > &o) const |
Returns component-wise minimum of this vector and the argument. | |
operator const MathVector< T > () const | |
Friends | |
class | MathVector |
MathVector< T > | operator* (const MathVector< T > &lhs, const CWise &rhs) |
MathVector< T > | operator/ (const MathVector< T > &lhs, const CWise &rhs) |
Detailed Description
template<class T>
class nemo::MathVector< T >::CWise
This class provides component-wise mathematical operations on vectors that are not covered by standard operators/methods in the MathVector class.
Definition at line 897 of file Vector.h.
Constructor & Destructor Documentation
template<class T>
nemo::MathVector< T >::CWise::CWise | ( | ) | [inline] |
Member Function Documentation
template<class T>
MathVector<T> nemo::MathVector< T >::CWise::max | ( | const MathVector< T > & | o | ) | const [inline] |
template<class T>
MathVector<T> nemo::MathVector< T >::CWise::min | ( | const MathVector< T > & | o | ) | const [inline] |
template<class T>
nemo::MathVector< T >::CWise::operator const MathVector< T > | ( | ) | const [inline] |
template<class T>
MathVector<T> nemo::MathVector< T >::CWise::operator* | ( | const MathVector< T > & | o | ) | const [inline] |
template<class T>
MathVector<T> nemo::MathVector< T >::CWise::operator/ | ( | const MathVector< T > & | o | ) | const [inline] |
Friends And Related Function Documentation
template<class T>
friend class MathVector [friend] |
template<class T>
MathVector<T> operator* | ( | const MathVector< T > & | lhs, | |
const CWise & | rhs | |||
) | [friend] |
template<class T>
MathVector<T> operator/ | ( | const MathVector< T > & | lhs, | |
const CWise & | rhs | |||
) | [friend] |
The documentation for this class was generated from the following file:
- nemo/Vector.h
Generated on Mon Feb 25 12:49:59 2013 for NemoMath by 1.6.3