|
template<class T , size_t size, class DataContainer > |
ostream & | std::operator<< (ostream &os, const ml::FloatingPointVector< T, size, DataContainer > &v) |
| Prints vector to std::ostream. All components are followed by " "s.
|
|
template<class T , size_t size, class DataContainer > |
istream & | std::operator>> (istream &is, ml::FloatingPointVector< T, size, DataContainer > &v) |
| Reads a vector from std::istream.
|
|
|
template<class T , size_t size, class DataContainer > |
FloatingPointVector< T, size, DataContainer > & | ml::operator+= (FloatingPointVector< T, size, DataContainer > &op1, const FloatingPointVector< T, size, DataContainer > &buffer) |
| Arithmetic assignment: Component wise addition.
|
|
template<class T , size_t size, class DataContainer > |
FloatingPointVector< T, size, DataContainer > & | ml::operator-= (FloatingPointVector< T, size, DataContainer > &op1, const FloatingPointVector< T, size, DataContainer > &buffer) |
| Arithmetic assignment: Component wise subtraction of buffer from *this.
|
|
template<class T , size_t size, class DataContainer > |
FloatingPointVector< T, size, DataContainer > & | ml::operator*= (FloatingPointVector< T, size, DataContainer > &op1, MLdouble value) |
| Arithmetic assignment: Component wise multiplication *this with specialized MLdouble scalar value.
|
|
template<class T , size_t size, class DataContainer > |
FloatingPointVector< T, size, DataContainer > & | ml::operator*= (FloatingPointVector< T, size, DataContainer > &op1, const FloatingPointVector< T, size, DataContainer > &op2) |
| Arithmetic assignment: Component wise multiplication *this with a vector of the same size.
|
|
template<class T , size_t size, class DataContainer > |
FloatingPointVector< T, size, DataContainer > & | ml::operator/= (FloatingPointVector< T, size, DataContainer > &op1, MLdouble value) |
| Arithmetic assignment: Component wise division of *this by scalar value.
|
|
template<class T , size_t size, class DataContainer > |
FloatingPointVector< T, size, DataContainer > & | ml::operator/= (FloatingPointVector< T, size, DataContainer > &op1, const FloatingPointVector< T, size, DataContainer > &op2) |
| Arithmetic assignment: Component wise division of *this by the values of a vector of the same size.
|
|
template<class T , size_t size, class DataContainer > |
bool | ml::operator! (const FloatingPointVector< T, size, DataContainer > &a) |
| Returns whether all components are 0.
|
|
template<class T , size_t size, class DataContainer > |
FloatingPointVector< T, size, DataContainer > | ml::operator+ (FloatingPointVector< T, size, DataContainer > lhs, const FloatingPointVector< T, size, DataContainer > &rhs) |
| Return value is the component wise addition of lhs and rhs.
|
|
template<class T , size_t size, class DataContainer > |
FloatingPointVector< T, size, DataContainer > | ml::operator- (FloatingPointVector< T, size, DataContainer > lhs, const FloatingPointVector< T, size, DataContainer > &rhs) |
| Return value is the component wise subtraction of rhs from lhs.
|
|
template<class T , size_t size, class DataContainer > |
FloatingPointVector< T, size, DataContainer > | ml::operator+ (const FloatingPointVector< T, size, DataContainer > &buffer) |
| Unary plus, for completeness and for those who really want to use that...
|
|
template<class T , size_t size, class DataContainer > |
FloatingPointVector< T, size, DataContainer > | ml::operator- (const FloatingPointVector< T, size, DataContainer > &buffer) |
| Unary minus, all components of the vector are multiplied with -1.
|
|
template<class T , size_t size, class DataContainer > |
T | ml::operator* (const FloatingPointVector< T, size, DataContainer > &a, const FloatingPointVector< T, size, DataContainer > &b) |
| Dot product, returns a.dot(b).
|
|
template<class T , size_t size, class DataContainer > |
FloatingPointVector< T, size, DataContainer > | ml::operator* (FloatingPointVector< T, size, DataContainer > lhs, MLdouble rhs) |
| Component wise multiplication of lhs with rhs.
|
|
template<class T , size_t size, class DataContainer > |
FloatingPointVector< T, size, DataContainer > | ml::operator* (MLdouble lhs, FloatingPointVector< T, size, DataContainer > rhs) |
| Component wise multiplication of rhs with lhs.
|
|
template<class T , size_t size, class DataContainer > |
FloatingPointVector< T, size, DataContainer > | ml::operator/ (FloatingPointVector< T, size, DataContainer > lhs, MLdouble rhs) |
| Component wise division of lhs by specialized rhs of type MLdouble.
|
|
template<class T , size_t size, class DataContainer > |
FloatingPointVector< T, size, DataContainer > | ml::compMin (FloatingPointVector< T, size, DataContainer > buffer1, const FloatingPointVector< T, size, DataContainer > &buffer2) |
| Component wise minimum of buffer1 and buffer2.
|
|
template<class T , size_t size, class DataContainer > |
FloatingPointVector< T, size, DataContainer > | ml::compMax (FloatingPointVector< T, size, DataContainer > buffer1, const FloatingPointVector< T, size, DataContainer > &buffer2) |
| Component wise maximum of buffer1 and buffer2.
|
|
template<class T , size_t size, class DataContainer > |
FloatingPointVector< T, size, DataContainer > | ml::compAbs (FloatingPointVector< T, size, DataContainer > vec) |
| Returns a vector with all components from vec without negative sign.
|
|
template<class T , size_t size, class DataContainer > |
FloatingPointVector< T, size, DataContainer > | ml::compSqr (FloatingPointVector< T, size, DataContainer > vec) |
| Returns a vector with all components from vec squared.
|
|
template<class T , size_t size, class DataContainer > |
FloatingPointVector< T, size, DataContainer > | ml::compSqrt (FloatingPointVector< T, size, DataContainer > vec) |
| Returns a vector with all components from vec square-rooted.
|
|
template<class T , size_t size, class DataContainer > |
FloatingPointVector< T, size, DataContainer > | ml::compDiv (FloatingPointVector< T, size, DataContainer > vec, const FloatingPointVector< T, size, DataContainer > &d) |
| Component wise division of vec / d.
|
|
template<class T , size_t size, class DataContainer > |
FloatingPointVector< T, size, DataContainer > | ml::clampMin (FloatingPointVector< T, size, DataContainer > vec, const FloatingPointVector< T, size, DataContainer > &m) |
| Returns a new vector with all components from vec clamped to minimum m.
|
|
template<class T , size_t size, class DataContainer > |
FloatingPointVector< T, size, DataContainer > | ml::clampMax (FloatingPointVector< T, size, DataContainer > vec, const FloatingPointVector< T, size, DataContainer > &m) |
| Returns a new vector with all components from vec clamped to maximum m.
|
|
template<class T , size_t size, class DataContainer > |
FloatingPointVector< T, size, DataContainer > | ml::clamp (FloatingPointVector< T, size, DataContainer > vec, const FloatingPointVector< T, size, DataContainer > &lower, const FloatingPointVector< T, size, DataContainer > &upper) |
| Returns a new vector with all components from vec clamped to range [lower, upper].
|
|
template<class T , size_t size, class DataContainer > |
T | ml::compMul (const FloatingPointVector< T, size, DataContainer > &vec) |
| Returns the product of all components.
|
|