|
| template<typename T , std::size_t N> |
| std::ostream & | madness::operator<< (std::ostream &s, const std::array< T, N > &a) |
| | Output std::array to stream for human consumption. More...
|
| |
| template<typename T , std::size_t N> |
| madness::hashT | madness::hash_value (const std::array< T, N > &a) |
| | Hash std::array with madness::Hash. More...
|
| |
| template<typename T , std::size_t N> |
| void | madness::swap (Vector< T, N > &l, Vector< T, N > &r) |
| |
| template<typename T , std::size_t N, typename U > |
| Vector< T, N > | madness::operator* (Vector< T, N > l, U r) |
| | Scale a coordinate. More...
|
| |
| template<typename T , typename U , std::size_t N> |
| Vector< T, N > | madness::operator* (T l, Vector< U, N > r) |
| | Scale a Vector. More...
|
| |
| template<typename T , std::size_t N, typename U > |
| Vector< T, N > | madness::operator* (Vector< T, N > l, const Vector< U, N > &r) |
| | Multiply two Vector objects. More...
|
| |
| template<typename T , std::size_t N, typename U > |
| Vector< T, N > | madness::operator+ (Vector< T, N > l, U r) |
| | Add a scalar to a Vector. More...
|
| |
| template<typename T , std::size_t N, typename U > |
| Vector< T, N > | madness::operator+ (Vector< T, N > l, const Vector< U, N > &r) |
| | Add two Vector opbjects. More...
|
| |
| template<typename T , std::size_t N, typename U > |
| Vector< T, N > | madness::operator- (Vector< T, N > l, U r) |
| | Subtract a scalar from a Vector. More...
|
| |
| template<typename T , std::size_t N, typename U > |
| Vector< T, N > | madness::operator- (Vector< T, N > l, const Vector< U, N > &r) |
| | Subtract two Vector. More...
|
| |
| template<typename T , std::size_t N> |
| T | madness::norm (Vector< T, N > v) |
| | Compute norm of a Vector. More...
|
| |
| template<typename T > |
| Vector< T, 1 > | madness::vec (T x) |
| | Your friendly neighborhood factory function. More...
|
| |
| template<typename T > |
| Vector< T, 2 > | madness::vec (T x, T y) |
| | Your friendly neighborhood factory function. More...
|
| |
| template<typename T > |
| Vector< T, 3 > | madness::vec (T x, T y, T z) |
| | Your friendly neighborhood factory function. More...
|
| |
| template<typename T > |
| Vector< T, 4 > | madness::vec (T x, T y, T z, T xx) |
| | Your friendly neighborhood factory function. More...
|
| |
| template<typename T > |
| Vector< T, 5 > | madness::vec (T x, T y, T z, T xx, T yy) |
| | Your friendly neighborhood factory function. More...
|
| |
| template<typename T > |
| Vector< T, 6 > | madness::vec (T x, T y, T z, T xx, T yy, T zz) |
| | Your friendly neighborhood factory function. More...
|
| |
| template<typename T , std::size_t NDIM> |
| Vector< T, NDIM > | madness::n12 (const Vector< T, NDIM > &r, const double eps=1.e-6) |
| | helper function unit vector in direction r More...
|
| |
| template<typename T > |
| std::array< T, 1 > | madness::array_factory (const T &v0) |
| | Returns a Vector<T,1> initialized from the arguments. More...
|
| |
| template<typename T > |
| std::array< T, 2 > | madness::array_factory (const T &v0, const T &v1) |
| | Returns a Vector<T,2> initialized from the arguments. More...
|
| |
| template<typename T > |
| std::array< T, 3 > | madness::array_factory (const T &v0, const T &v1, const T &v2) |
| | Returns a Vector<T,3> initialized from the arguments. More...
|
| |
| template<typename T > |
| std::array< T, 4 > | madness::array_factory (const T &v0, const T &v1, const T &v2, const T &v3) |
| | Returns a Vector<T,4> initialized from the arguments. More...
|
| |
| template<typename T > |
| std::array< T, 5 > | madness::array_factory (const T &v0, const T &v1, const T &v2, const T &v3, const T &v4) |
| | Returns a Vector<T,5> initialized from the arguments. More...
|
| |
| template<typename T > |
| std::array< T, 6 > | madness::array_factory (const T &v0, const T &v1, const T &v2, const T &v3, const T &v4, const T &v5) |
| | Returns a Vector<T,6> initialized from the arguments. More...
|
| |