Expand description
Wrappers for vector functions.
Traits§
- Computes the sum of the absolute values of elements in a vector.
- Computes
a * x + yand stores the result iny. - Computes
x^T * y. - Computes
x^H * y. - Finds the index of the element with maximum absolute value in a vector.
- Computes the L2 norm (Euclidian length) of a vector.
- Applies a Givens rotation matrix to a pair of vectors, where
cosis the value of the cosine of the angle in the Givens matrix, andsinis the sine. - Computes
a * xand stores the result inx. - Swaps the content of
xandy.