Skip to main content

Module vector

Module vector 

Source
Expand description

Vector trait for numerical computation.

This module defines the Vector trait which abstracts over different vector implementations, allowing algorithms to work with:

  • Vec<S> (standard library)
  • faer vectors (when using numra-linalg)
  • Fixed-size arrays [S; N]

§Design Philosophy

The trait is designed around BLAS-like operations that are fundamental to numerical algorithms: axpy, dot product, norms, etc.

Author: Moussa Leblouba Date: 4 February 2026 Modified: 2 May 2026

Traits§

Vector
A vector type for numerical computation.