Expand description
Wrappers for vector functions.
Traitsยง
- Asum
- Computes the sum of the absolute values of elements in a vector.
- Axpy
- Computes
a * x + y
and stores the result iny
. - Copy
- Dot
- Computes
x^T * y
. - Dotc
- Computes
x^H * y
. - Iamax
- Finds the index of the element with maximum absolute value in a vector.
- Nrm2
- Computes the L2 norm (Euclidian length) of a vector.
- Rot
- Applies a Givens rotation matrix to a pair of vectors, where
cos
is the value of the cosine of the angle in the Givens matrix, andsin
is the sine. - Scal
- Computes
a * x
and stores the result inx
. - Swap
- Swaps the content of
x
andy
.