Type Alias numerical_linear_algebra::Vector

source ·
pub type Vector<const N: usize> = Matrix<N, 1>;

Aliased Type§

struct Vector<const N: usize> { /* private fields */ }

Implementations§

source§

impl<const N: usize> Vector<N>

source

pub fn dot(&self, rhs: &Vector<N>) -> Complex64

source

pub fn norm(&self, p: u32) -> f64

source

pub fn normalize(self) -> Self

source

pub fn project(self, rhs: Self) -> Self

source

pub fn gram_schimidt_process<const M: usize>( vectors: [Vector<N>; M], ) -> [Vector<N>; M]