Trait Vector

Source
pub trait Vector<F: Field>:
    Mul<F, Output = Self>
    + Add<Self, Output = Self>
    + Sized
    + Copy {
    // Required methods
    fn len(self) -> F;
    fn dot(self, rhs: Self) -> F;
    fn norm(self) -> Self;
    fn cross(self, rhs: Self) -> Self;
}

Required Methods§

Source

fn len(self) -> F

Source

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

Source

fn norm(self) -> Self

Source

fn cross(self, rhs: Self) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§