ECOGEN 6.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
Loading...
Searching...
No Matches
math Namespace Reference

Classes

class  vector

Functions

template<class T, std::size_t N>
bool operator== (const math::vector< T, N > &lhs, const math::vector< T, N > &rhs)
template<class T, std::size_t N>
bool operator!= (const math::vector< T, N > &lhs, const math::vector< T, N > &rhs)
template<class T, std::size_t N>
bool operator< (const math::vector< T, N > &lhs, const math::vector< T, N > &rhs)
template<class T, std::size_t N>
bool operator<= (const math::vector< T, N > &lhs, const math::vector< T, N > &rhs)
template<class T, std::size_t N>
bool operator> (const math::vector< T, N > &lhs, const math::vector< T, N > &rhs)
template<class T, std::size_t N>
bool operator>= (const math::vector< T, N > &lhs, const math::vector< T, N > &rhs)
template<typename T, std::size_t N>
math::vector< T, N > operator- (math::vector< T, N > v)
template<typename U, typename V, std::size_t N>
math::vector< typename std::common_type< U, V >::type, N > operator+ (const math::vector< U, N > &lhs, const math::vector< V, N > &rhs)
template<typename U, typename V, std::size_t N>
math::vector< typename std::common_type< U, V >::type, N > operator+ (const math::vector< U, N > &lhs, const V &rhs)
template<typename U, typename V, std::size_t N>
math::vector< typename std::common_type< U, V >::type, N > operator+ (const V &lhs, const math::vector< U, N > &rhs)
template<typename U, typename V, std::size_t N>
math::vector< typename std::common_type< U, V >::type, N > operator- (const math::vector< U, N > &lhs, const math::vector< V, N > &rhs)
template<typename U, typename V, std::size_t N>
math::vector< typename std::common_type< U, V >::type, N > operator- (const math::vector< U, N > &lhs, const V &rhs)
template<typename U, typename V, std::size_t N>
math::vector< typename std::common_type< U, V >::type, N > operator- (const V &lhs, const math::vector< U, N > &rhs)
template<typename U, typename V, std::size_t N>
math::vector< typename std::common_type< U, V >::type, N > operator* (const math::vector< U, N > &lhs, const math::vector< V, N > &rhs)
template<typename U, typename V, std::size_t N>
math::vector< typename std::common_type< U, V >::type, N > operator* (const math::vector< U, N > &lhs, const V &rhs)
template<typename U, typename V, std::size_t N>
math::vector< typename std::common_type< U, V >::type, N > operator* (const V &lhs, const math::vector< U, N > &rhs)
template<typename U, typename V, std::size_t N>
math::vector< typename std::common_type< U, V >::type, N > operator/ (const math::vector< U, N > &lhs, const math::vector< V, N > &rhs)
template<typename U, typename V, std::size_t N>
math::vector< typename std::common_type< U, V >::type, N > operator/ (const math::vector< U, N > &lhs, const V &rhs)
template<typename U, typename V, std::size_t N>
math::vector< typename std::common_type< U, V >::type, N > operator/ (const V &lhs, const math::vector< U, N > &rhs)
template<typename U, typename V, std::size_t N>
std::common_type< U, V >::type dot (const math::vector< U, N > &lhs, const math::vector< V, N > &rhs)
template<typename U, std::size_t N>
U norm2 (const math::vector< U, N > &v)
template<typename U, std::size_t N>
U norm_inf (const math::vector< U, N > &v)
template<typename U, typename V, std::size_t N>
std::enable_if< N==3, math::vector< typenamestd::common_type< U, V >::type, N > >::type cross (const math::vector< U, N > &lhs, const math::vector< V, N > &rhs)
template<typename U, typename V, std::size_t N>
std::enable_if< N==2, typenamestd::common_type< U, V >::type >::type cross (const math::vector< U, N > &lhs, const math::vector< V, N > &rhs)

Function Documentation

◆ cross() [1/2]

template<typename U, typename V, std::size_t N>
std::enable_if< N==2, typenamestd::common_type< U, V >::type >::type math::cross ( const math::vector< U, N > & lhs,
const math::vector< V, N > & rhs )
Here is the call graph for this function:

◆ cross() [2/2]

template<typename U, typename V, std::size_t N>
std::enable_if< N==3, math::vector< typenamestd::common_type< U, V >::type, N > >::type math::cross ( const math::vector< U, N > & lhs,
const math::vector< V, N > & rhs )
Here is the call graph for this function:

◆ dot()

template<typename U, typename V, std::size_t N>
std::common_type< U, V >::type math::dot ( const math::vector< U, N > & lhs,
const math::vector< V, N > & rhs )
Here is the caller graph for this function:

◆ norm2()

template<typename U, std::size_t N>
U math::norm2 ( const math::vector< U, N > & v)
Here is the call graph for this function:

◆ norm_inf()

template<typename U, std::size_t N>
U math::norm_inf ( const math::vector< U, N > & v)

◆ operator!=()

template<class T, std::size_t N>
bool math::operator!= ( const math::vector< T, N > & lhs,
const math::vector< T, N > & rhs )

◆ operator*() [1/3]

template<typename U, typename V, std::size_t N>
math::vector< typename std::common_type< U, V >::type, N > math::operator* ( const math::vector< U, N > & lhs,
const math::vector< V, N > & rhs )

◆ operator*() [2/3]

template<typename U, typename V, std::size_t N>
math::vector< typename std::common_type< U, V >::type, N > math::operator* ( const math::vector< U, N > & lhs,
const V & rhs )

◆ operator*() [3/3]

template<typename U, typename V, std::size_t N>
math::vector< typename std::common_type< U, V >::type, N > math::operator* ( const V & lhs,
const math::vector< U, N > & rhs )

◆ operator+() [1/3]

template<typename U, typename V, std::size_t N>
math::vector< typename std::common_type< U, V >::type, N > math::operator+ ( const math::vector< U, N > & lhs,
const math::vector< V, N > & rhs )

◆ operator+() [2/3]

template<typename U, typename V, std::size_t N>
math::vector< typename std::common_type< U, V >::type, N > math::operator+ ( const math::vector< U, N > & lhs,
const V & rhs )

◆ operator+() [3/3]

template<typename U, typename V, std::size_t N>
math::vector< typename std::common_type< U, V >::type, N > math::operator+ ( const V & lhs,
const math::vector< U, N > & rhs )

◆ operator-() [1/4]

template<typename U, typename V, std::size_t N>
math::vector< typename std::common_type< U, V >::type, N > math::operator- ( const math::vector< U, N > & lhs,
const math::vector< V, N > & rhs )

◆ operator-() [2/4]

template<typename U, typename V, std::size_t N>
math::vector< typename std::common_type< U, V >::type, N > math::operator- ( const math::vector< U, N > & lhs,
const V & rhs )

◆ operator-() [3/4]

template<typename U, typename V, std::size_t N>
math::vector< typename std::common_type< U, V >::type, N > math::operator- ( const V & lhs,
const math::vector< U, N > & rhs )

◆ operator-() [4/4]

template<typename T, std::size_t N>
math::vector< T, N > math::operator- ( math::vector< T, N > v)

◆ operator/() [1/3]

template<typename U, typename V, std::size_t N>
math::vector< typename std::common_type< U, V >::type, N > math::operator/ ( const math::vector< U, N > & lhs,
const math::vector< V, N > & rhs )

◆ operator/() [2/3]

template<typename U, typename V, std::size_t N>
math::vector< typename std::common_type< U, V >::type, N > math::operator/ ( const math::vector< U, N > & lhs,
const V & rhs )

◆ operator/() [3/3]

template<typename U, typename V, std::size_t N>
math::vector< typename std::common_type< U, V >::type, N > math::operator/ ( const V & lhs,
const math::vector< U, N > & rhs )

◆ operator<()

template<class T, std::size_t N>
bool math::operator< ( const math::vector< T, N > & lhs,
const math::vector< T, N > & rhs )

◆ operator<=()

template<class T, std::size_t N>
bool math::operator<= ( const math::vector< T, N > & lhs,
const math::vector< T, N > & rhs )

◆ operator==()

template<class T, std::size_t N>
bool math::operator== ( const math::vector< T, N > & lhs,
const math::vector< T, N > & rhs )

◆ operator>()

template<class T, std::size_t N>
bool math::operator> ( const math::vector< T, N > & lhs,
const math::vector< T, N > & rhs )

◆ operator>=()

template<class T, std::size_t N>
bool math::operator>= ( const math::vector< T, N > & lhs,
const math::vector< T, N > & rhs )