Friends

cmtk::Units::Arithmetic< T > Class Template Reference

Template for arithmetic on units (treated as a vector space) More...

#include <cmtkUnits.h>

List of all members.

Friends

const T operator* (const double lhs, const T &rhs)
 Left-hand scalar multiplication.
const T operator* (const T &lhs, const double rhs)
 Right-hand scalar multiplication.
const T operator/ (const T &lhs, const double rhs)
 Right-hand scalar division.
const T operator+ (const T &lhs, const T &rhs)
 Addition.
const T operator- (const T &rhs)
 Negation.

Detailed Description

template<class T>
class cmtk::Units::Arithmetic< T >

Template for arithmetic on units (treated as a vector space)

Definition at line 76 of file cmtkUnits.h.


Friends And Related Function Documentation

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

Left-hand scalar multiplication.

Definition at line 80 of file cmtkUnits.h.

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

Right-hand scalar multiplication.

Definition at line 86 of file cmtkUnits.h.

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

Addition.

Definition at line 98 of file cmtkUnits.h.

template<class T>
const T operator- ( const T &  rhs ) [friend]

Negation.

Definition at line 104 of file cmtkUnits.h.

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

Right-hand scalar division.

Definition at line 92 of file cmtkUnits.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines