OuterProduct

Trait OuterProduct 

Source
pub trait OuterProduct<T = Self>: VectorSpace {
    type Output;

    // Required method
    fn outer(self, other: T) -> <Self as OuterProduct<T>>::Output;
}
Expand description

This trait defines the outer product.

Required Associated Types§

Source

type Output

The output type of the outer product.

Required Methods§

Source

fn outer(self, other: T) -> <Self as OuterProduct<T>>::Output

The outer product.

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.

Implementations on Foreign Types§

Source§

impl OuterProduct for f32

Source§

type Output = f32

Source§

fn outer(self, other: Self) -> f32

Source§

impl OuterProduct for f64

Source§

type Output = f64

Source§

fn outer(self, other: Self) -> f64

Implementors§