KJB
|
Functions to implement element-wise computations. More...
Go to the source code of this file.
Namespaces | |
kjb | |
Classes and functions for dealing with trajectory files. | |
Functions | |
template<class Indexable > | |
Indexable | kjb::ew_multiply (const Indexable &I, const Indexable &J) |
Multiply the elements of two Indexable things. Must be indexed via operator() and assignable. More... | |
template<class Indexable > | |
void | kjb::ew_abs_ow (Indexable &I) |
Element-wise abosulte value. More... | |
template<class Indexable > | |
void | kjb::ew_square_ow (Indexable &I) |
Square the elements of an indexable class in place. I must be indexed via operator(). More... | |
template<class Indexable > | |
Indexable | kjb::ew_square (const Indexable &I) |
Square the elements of an indexable class; the result is returned. I must be indexed via operator(). More... | |
template<class Indexable > | |
void | kjb::ew_sqrt_ow (Indexable &I) |
Take the square root of the elements of an indexable class in place. I must be indexed via operator(). More... | |
template<class Indexable > | |
Indexable | kjb::ew_sqrt (const Indexable &I) |
Take the square root the elements of an indexable class; the result is returned. I must be indexed via operator(). More... | |
Functions to implement element-wise computations.