|
(Note that these are not member functions.)
|
template<class T > |
DenseVector< T > & | set (DenseVector< T > &lhs) |
| Set all the elements to zero. More...
|
|
template<class T > |
DenseVector< T > & | setAll (DenseVector< T > &lhs, const T value) |
| Set all the elements to the given value. More...
|
|
template<class T > |
DenseVector< T > & | setAt (DenseVector< T > &lhs, U32 index, const T value) |
| Set the value at the index. More...
|
|
template<class T , class U > |
DenseVector< T > & | addScaled (DenseVector< T > &lhs, U scalar, const DenseVector< T > &rhs) |
| Add with scaling. More...
|
|
template<class T , class U > |
DenseVector< T > & | scaleAndAdd (DenseVector< T > &lhs, U scalar, const DenseVector< T > &rhs) |
| Scale then add. More...
|
|
template<class T > |
DenseVector< T > & | operator+= (DenseVector< T > &lhs, const DenseVector< T > &rhs) |
| In place add operator. More...
|
|
template<class T > |
DenseVector< T > & | operator-= (DenseVector< T > &lhs, const DenseVector< T > &rhs) |
| In place subtract operator. More...
|
|
template<class T > |
DenseVector< T > | operator- (const DenseVector< T > &rhs) |
| Negate operation. More...
|
|
template<class T > |
DenseVector< T > & | operator*= (DenseVector< T > &lhs, const DenseVector< T > &rhs) |
| In place piecewise multiply operator. More...
|
|
template<class T , class U > |
DenseVector< T > & | operator*= (DenseVector< T > &lhs, U scale) |
| In place piecewise scale operator. More...
|
|
template<class T > |
T | dot (const DenseVector< T > &lhs, const DenseVector< T > &rhs) |
| Dot (inner) product. More...
|
|
template<class T > |
T | magnitude (const DenseVector< T > &rhs) |
| Frobenius norm operation. More...
|
|
template<class T > |
T | magnitudeSquared (const DenseVector< T > &rhs) |
| Square of the length. More...
|
|
template<class T > |
DenseVector< T > | normal (const DenseVector< T > &rhs) |
| Return normal. More...
|
|
template<class T > |
DenseVector< T > & | normalize (DenseVector< T > &lhs) |
| In place normalize operator. More...
|
|
template<class T > |
DenseVector< T > | operator+ (const DenseVector< T > &lhs, const DenseVector< T > &rhs) |
| add operation More...
|
|
template<class T > |
DenseVector< T > | operator- (const DenseVector< T > &lhs, const DenseVector< T > &rhs) |
| subtractoperation More...
|
|
template<class T > |
bool | operator== (const DenseVector< T > &lhs, const DenseVector< T > &rhs) |
| equality test More...
|
|
template<class T > |
bool | equivalent (const DenseVector< T > &lhs, const DenseVector< T > &rhs, T margin) |
| Equivalence test within the given tolerance margin. More...
|
|
template<class T > |
DenseVector< T > | operator* (const DenseVector< T > &lhs, const DenseVector< T > &rhs) |
| Piecewise multiply operation. More...
|
|
template<class T , class U > |
DenseVector< T > | operator* (const U lhs, const DenseVector< T > &rhs) |
| Scale operation. More...
|
|
template<class T , class U > |
DenseVector< T > | operator* (const DenseVector< T > &lhs, const U rhs) |
| Scale operation. More...
|
|
template<class T , class U > |
DenseVector< T > | operator/ (const DenseVector< T > &lhs, const U rhs) |
| Inverse Scale operation. More...
|
|
template<class T > |
U32 | size (const DenseVector< T > &lhs) |
| Return number of elements. More...
|
|
template<class T > |
DenseVector< T > & | componentMultiply (DenseVector< T > &result, const DenseVector< T > &lhs, const DenseVector< T > &rhs) |
| Multiply each pair of components. More...
|
|
template<class T>
class fe::ext::DenseVector< T >
Dense vector - size fixed at construction or reset.