ECOGEN 4.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
Loading...
Searching...
No Matches
vector.hpp File Reference
#include <type_traits>
#include <array>
#include <iostream>

Go to the source code of this file.

Classes

class  math::vector< T, N >
 

Namespaces

namespace  math
 

Functions

template<class T , std::size_t N>
bool math::operator== (const math::vector< T, N > &lhs, const math::vector< T, N > &rhs)
 
template<class T , std::size_t N>
bool math::operator!= (const math::vector< T, N > &lhs, const math::vector< T, N > &rhs)
 
template<class T , std::size_t N>
bool math::operator< (const math::vector< T, N > &lhs, const math::vector< T, N > &rhs)
 
template<class T , std::size_t N>
bool math::operator<= (const math::vector< T, N > &lhs, const math::vector< T, N > &rhs)
 
template<class T , std::size_t N>
bool math::operator> (const math::vector< T, N > &lhs, const math::vector< T, N > &rhs)
 
template<class T , std::size_t N>
bool math::operator>= (const math::vector< T, N > &lhs, const math::vector< T, N > &rhs)
 
template<typename T , std::size_t N>
math::vector< T, Nmath::operator- (math::vector< T, N > v)
 
template<typename U , typename V , std::size_t N>
math::vector< typename std::common_type< U, V >::type, Nmath::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, Nmath::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, Nmath::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, Nmath::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, Nmath::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, Nmath::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, Nmath::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, Nmath::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, Nmath::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, Nmath::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, Nmath::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, Nmath::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 math::dot (const math::vector< U, N > &lhs, const math::vector< V, N > &rhs)
 
template<typename U , std::size_t N>
U math::norm2 (const math::vector< U, N > &v)
 
template<typename U , std::size_t N>
U math::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 math::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 math::cross (const math::vector< U, N > &lhs, const math::vector< V, N > &rhs)