Module ops

Module ops 

Source
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 in y.
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, and sin is the sine.
Scal
Computes a * x and stores the result in x.
Swap
Swaps the content of x and y.