|
template<int Size, typename Scalar > |
Vector< Size, Scalar > & | tarch::la::operator*= (Vector< Size, Scalar > &vector, const Scalar &scalar) |
| Multiplies every component of the vector with the scalar and assigns the result to the vector.
|
|
template<int Size, typename Scalar > |
Vector< Size, Scalar > & | tarch::la::operator/= (Vector< Size, Scalar > &vector, const Scalar &scalar) |
| Divides every component of the vector by the scalar and assigns the result to the vector.
|
|
template<int Size, typename Scalar > |
Vector< Size, Scalar > & | tarch::la::operator+= (Vector< Size, Scalar > &vector, const Scalar &scalar) |
| Adds every component of the vector to the scalar and assigns the result to the vector.
|
|
template<int Size, typename Scalar > |
Vector< Size, Scalar > & | tarch::la::operator-= (Vector< Size, Scalar > &vector, const Scalar &scalar) |
| Subtracts the scalar from every component of the vector and assigns the result to the vector.
|
|
template<int Size, typename Scalar > |
Vector< Size, Scalar > | tarch::la::operator* (const Vector< Size, Scalar > &vector, const Scalar &scalar) |
| Multiplies every component of the vector with the scalar and returns the result.
|
|
template<int Size, typename Scalar > |
Vector< Size, Scalar > | tarch::la::operator* (const Scalar &scalar, const Vector< Size, Scalar > &vector) |
|
template<int Size, typename Scalar > |
Vector< Size, Scalar > | tarch::la::operator/ (const Vector< Size, Scalar > &vector, const Scalar &scalar) |
| Divides every component of the vector by the scalar and returns the result.
|
|
template<int Size, typename Scalar > |
Vector< Size, Scalar > | tarch::la::operator+ (const Vector< Size, Scalar > &vector, const Scalar &scalar) |
| Adds the scalar to every component of the vector and returns the result.
|
|
template<int Size, typename Scalar > |
Vector< Size, Scalar > | tarch::la::operator+ (const Scalar &scalar, const Vector< Size, Scalar > &vector) |
|
template<int Size, typename Scalar > |
Vector< Size, Scalar > | tarch::la::operator- (const Vector< Size, Scalar > &vector, const Scalar &scalar) |
| Subtracts the scalar from every component of the vector and returns the result.
|
|
template<int Size, typename Scalar > |
bool | tarch::la::equals (const Vector< Size, Scalar > &lhs, const Scalar &cmp, const Scalar tolerance=NUMERICAL_ZERO_DIFFERENCE) |
| !!! Vectorisation remark
|
|
template<int Size, typename Scalar > |
bool | tarch::la::oneEquals (const Vector< Size, Scalar > &lhs, const Scalar &cmp, const Scalar tolerance=NUMERICAL_ZERO_DIFFERENCE) |
|
template<int Size, typename Scalar > |
bool | tarch::la::oneGreater (const Vector< Size, Scalar > &lhs, const Scalar &cmp, const Scalar tolerance=NUMERICAL_ZERO_DIFFERENCE) |
|
template<int Size, typename Scalar > |
bool | tarch::la::oneGreaterEquals (const Vector< Size, Scalar > &lhs, const Scalar &cmp, const Scalar tolerance=NUMERICAL_ZERO_DIFFERENCE) |
|
template<int Size, typename Scalar > |
bool | tarch::la::allGreater (const Vector< Size, Scalar > &lhs, const Scalar &cmp, const Scalar tolerance=NUMERICAL_ZERO_DIFFERENCE) |
|
template<int Size, typename Scalar > |
bool | tarch::la::allGreaterEquals (const Vector< Size, Scalar > &lhs, const Scalar &cmp, const Scalar tolerance=NUMERICAL_ZERO_DIFFERENCE) |
|
template<int Size, typename Scalar > |
bool | tarch::la::oneSmaller (const Vector< Size, Scalar > &lhs, const Scalar &cmp, const Scalar tolerance=NUMERICAL_ZERO_DIFFERENCE) |
|
template<int Size, typename Scalar > |
bool | tarch::la::oneSmallerEquals (const Vector< Size, Scalar > &lhs, const Scalar &cmp, const Scalar tolerance=NUMERICAL_ZERO_DIFFERENCE) |
|
template<int Size, typename Scalar > |
bool | tarch::la::allSmaller (const Vector< Size, Scalar > &lhs, const Scalar &cmp, const Scalar tolerance=NUMERICAL_ZERO_DIFFERENCE) |
|
template<int Size, typename Scalar > |
bool | tarch::la::allSmallerEquals (const Vector< Size, Scalar > &lhs, const Scalar &cmp, const Scalar tolerance=NUMERICAL_ZERO_DIFFERENCE) |
|
template<int Size> |
bool | tarch::la::equals (const Vector< Size, int > &lhs, const int &cmp) |
| Specialisation for int.
|
|
template<int Size> |
bool | tarch::la::oneEquals (const Vector< Size, int > &lhs, const int &cmp) |
|
template<int Size> |
bool | tarch::la::oneGreater (const Vector< Size, int > &lhs, const int &cmp) |
|
template<int Size> |
bool | tarch::la::oneGreaterEquals (const Vector< Size, int > &lhs, const int &cmp) |
|
template<int Size> |
bool | tarch::la::oneSmaller (const Vector< Size, int > &lhs, const int &cmp) |
|
template<int Size> |
bool | tarch::la::oneSmallerEquals (const Vector< Size, int > &lhs, const int &cmp) |
|
template<int Size> |
bool | tarch::la::allGreater (const Vector< Size, int > &lhs, const int &cmp) |
|
template<int Size> |
bool | tarch::la::allGreaterEquals (const Vector< Size, int > &lhs, const int &cmp) |
|
template<int Size> |
bool | tarch::la::allSmaller (const Vector< Size, int > &lhs, const int &cmp) |
|
template<int Size> |
bool | tarch::la::allSmallerEquals (const Vector< Size, int > &lhs, const int &cmp) |
|
template<int Size, typename Scalar > |
Vector< Size, Scalar > | tarch::la::remainder (const Vector< Size, Scalar > &vector, double h) |
| Return the remainder of a division.
|
|