Vector

Type Alias Vector 

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

Aliased Type§

pub 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]