Module rust_blas::vector::ops

source ·
Expand description

Wrappers for vector functions.

Traits§

  • Computes the sum of the absolute values of elements in a vector.
  • Computes a * x + y and stores the result in y.
  • 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 cos is the value of the cosine of the angle in the Givens matrix, and sin is the sine.
  • Computes a * x and stores the result in x.
  • Swaps the content of x and y.