Type Alias juxt_matrix::Vector

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

Aliased Type§

struct Vector<const C: usize, T> { /* private fields */ }

Trait Implementations§

source§

impl<const C: usize, T> Dot for &Vector<C, T>
where T: AddAssign<T> + Default, for<'a> &'a T: Mul<&'a T, Output = T>,

§

type Output = T

source§

fn dot(self, rhs: Self) -> Self::Output

source§

impl<const C: usize, T> Dot for Vector<C, T>
where T: AddAssign<T> + Copy + Clone + Default, for<'a> &'a T: Mul<&'a T, Output = T>,

§

type Output = T

source§

fn dot(self, rhs: Self) -> Self::Output

source§

impl<const C: usize, T> From<[T; C]> for Vector<C, T>

source§

fn from(value: [T; C]) -> Self

Converts to this type from the input type.
source§

impl<const C: usize> Magnitude for &Vector<C, f32>

source§

impl<const C: usize> Normalize for &Vector<C, f32>

§

type Output = MatrixSealed<1, C, f32>

source§

fn normalize(self) -> Self::Output

source§

impl<const C: usize> NormalizeAssign for Vector<C, f32>