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>

List of all members.

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]

Definition at line 902 of file Vector.h.


Member Function Documentation

template<class T>
MathVector<T> nemo::MathVector< T >::CWise::max ( const MathVector< T > &  o  )  const [inline]

Returns component-wise maximum of this vector and the argument.

Definition at line 951 of file Vector.h.

template<class T>
MathVector<T> nemo::MathVector< T >::CWise::min ( const MathVector< T > &  o  )  const [inline]

Returns component-wise minimum of this vector and the argument.

Definition at line 959 of file Vector.h.

template<class T>
nemo::MathVector< T >::CWise::operator const MathVector< T > (  )  const [inline]

Definition at line 965 of file Vector.h.

template<class T>
MathVector<T> nemo::MathVector< T >::CWise::operator* ( const MathVector< T > &  o  )  const [inline]

Returns result of component-wise multiplication.

Definition at line 908 of file Vector.h.

template<class T>
MathVector<T> nemo::MathVector< T >::CWise::operator/ ( const MathVector< T > &  o  )  const [inline]

Returns result of component-wise division.

Definition at line 930 of file Vector.h.


Friends And Related Function Documentation

template<class T>
friend class MathVector [friend]

Definition at line 898 of file Vector.h.

template<class T>
MathVector<T> operator* ( const MathVector< T > &  lhs,
const CWise rhs 
) [friend]

Definition at line 914 of file Vector.h.

template<class T>
MathVector<T> operator/ ( const MathVector< T > &  lhs,
const CWise rhs 
) [friend]

Definition at line 936 of file Vector.h.


The documentation for this class was generated from the following file:
Generated on Mon Feb 25 12:49:59 2013 for NemoMath by  doxygen 1.6.3