Trait Dot

Source
pub trait Dot {
    type Output;

    // Required method
    fn dot(self, other: Self) -> Self::Output;
}
Expand description

Dot product.

Required Associated Types§

Source

type Output

Dot product output type.

Required Methods§

Source

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

Perform dot 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 Dot for f32

Source§

type Output = f32

Source§

fn dot(self, other: Self) -> Self

Source§

impl Dot for f64

Source§

type Output = f64

Source§

fn dot(self, other: Self) -> Self

Source§

impl Dot for i8

Source§

type Output = i8

Source§

fn dot(self, other: Self) -> Self

Source§

impl Dot for i16

Source§

type Output = i16

Source§

fn dot(self, other: Self) -> Self

Source§

impl Dot for i32

Source§

type Output = i32

Source§

fn dot(self, other: Self) -> Self

Source§

impl Dot for i64

Source§

type Output = i64

Source§

fn dot(self, other: Self) -> Self

Implementors§

Source§

impl<T, U> Dot for Construct<T, U>
where T: Add<Output = T>, U: Dot<Output = T>,