|
template<typename T , std::size_t D> |
void | til::resize (numeric_array< T, D > &, std::size_t newSize) __attribute__((__deprecated__)) |
|
template<typename TCollection > |
std::ostream & | til::stream_collection (std::ostream &os, const TCollection &v) |
|
template<typename T , std::size_t D> |
std::ostream & | til::operator<< (std::ostream &os, const numeric_array< T, D > &x) |
|
template<typename TPrec , typename T , std::size_t D> |
TPrec | til::norm2 (const numeric_array< T, D > &a, prec< TPrec >) |
| Return the squared euclidean norm of a. More...
|
|
template<typename T , std::size_t D> |
T | til::norm2 (const numeric_array< T, D > &a) |
| Return the squared euclidean norm of array. More...
|
|
template<typename TPrec , typename T , std::size_t D> |
TPrec | til::norm (const numeric_array< T, D > &a, prec< TPrec >) |
| Return the euclidean norm of array. More...
|
|
template<typename T , std::size_t D> |
T | til::norm (const numeric_array< T, D > &a) |
| Return the squared euclidean norm of array. More...
|
|
template<typename TPrec , typename T1 , typename T2 , std::size_t D> |
TPrec | til::dist2 (const numeric_array< T1, D > &v1, const numeric_array< T2, D > &v2, prec< TPrec >) |
| Return the squared Euclidean distance between two vectors, computed with a precision given as the first template parameter. More...
|
|
template<typename T , std::size_t D> |
T | til::dist2 (const numeric_array< T, D > &v1, const numeric_array< T, D > &v2) |
| Return the squared Euclidean distance between two arrays. More...
|
|
template<typename TPrec , typename T1 , typename T2 , std::size_t D> |
TPrec | til::dist (const numeric_array< T1, D > &v1, const numeric_array< T2, D > &v2, prec< TPrec >) |
| Return the Euclidean distance between two arrays. More...
|
|
template<typename T , std::size_t D> |
T | til::dist (const numeric_array< T, D > &v1, const numeric_array< T, D > &v2) |
| Return the Euclidean distance between two arrays. More...
|
|
template<typename TPrec , typename T1 , typename T2 , std::size_t D> |
TPrec | til::dot (const numeric_array< T1, D > &a1, const numeric_array< T2, D > &a2, prec< TPrec >) |
| Return the dot product of two vectors. More...
|
|
template<typename T , std::size_t D> |
T | til::dot (const numeric_array< T, D > &a1, const numeric_array< T, D > &a2) |
| Return the dot product of two vectors. More...
|
|
template<typename TPrec , typename T1 , typename T2 > |
numeric_array< TPrec, 3 > | til::cross (const numeric_array< T1, 3 > &vec1, const numeric_array< T2, 3 > &vec2, prec< TPrec >) |
| Return the cross product of two 3D vectors. More...
|
|
template<typename T1 , typename T2 > |
double | til::cross_norm (const numeric_array< T1, 3 > &vec1, const numeric_array< T2, 3 > &vec2) |
| Return the norm of the cross product of two 3D vectors. More...
|
|
template<typename T , std::size_t D> |
numeric_array< T, D > | til::abs (const numeric_array< T, D > &a) |
| Absolute value, element-wise. More...
|
|
template<typename T , std::size_t D> |
T | til::max (const numeric_array< T, D > &a) |
| Return the maximum value. More...
|
|
template<typename T , std::size_t D> |
T | til::min (const numeric_array< T, D > &a) |
| Return the minimum value. More...
|
|
template<typename T > |
numeric_array< T, 3 > | til::cross (const numeric_array< T, 3 > &vec1, const numeric_array< T, 3 > &vec2) |
| Return the cross product of two 3D ararys. More...
|
|
template<typename T , std::size_t D> |
T | til::norm_inf (const numeric_array< T, D > &a) |
| Return the infinity norm (i.e. max absolute value) of array. More...
|
|
template<typename T , std::size_t D> |
void | til::neg (numeric_array< T, D > &vec) |
| Negate an array. More...
|
|
template<typename T , std::size_t D> |
bool | til::is_nan (const numeric_array< T, D > &a) |
| Check that numeric_array does not contain any NAN TODO: Actually, is_nan should be a functor, and we should use a check loop. More...
|
|
template<typename T > |
T | til::cross (const numeric_array< T, 2 > &x, const numeric_array< T, 2 > &y) |
|
template<int x, int y, int z, typename TIN , typename TOUT > |
void | til::addTo (const numeric_array< TIN, 3 > &vIn, numeric_array< TOUT, 3 > &vOut) |
|
template<typename T > |
void | til::tdot (numeric_array< T, 3 > const &v, SymMatrix3< T > &mat) |
| Stores v.v^T in mat. More...
|
|
template<typename T > |
void | til::tdot (numeric_array< T, 3 > const &v1, numeric_array< T, 3 > const &v2, Matrix3< T > &mat) |
| Stores v1.v2^T in mat. More...
|
|