Gemm

Trait Gemm 

Source
pub trait Gemm: Sized {
    // Required method
    fn gemm(
        alpha: &Self,
        at: Transpose,
        a: &dyn Matrix<Self>,
        bt: Transpose,
        b: &dyn Matrix<Self>,
        beta: &Self,
        c: &mut dyn Matrix<Self>,
    );
}

Required Methods§

Source

fn gemm( alpha: &Self, at: Transpose, a: &dyn Matrix<Self>, bt: Transpose, b: &dyn Matrix<Self>, beta: &Self, c: &mut dyn Matrix<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.

Implementations on Foreign Types§

Source§

impl Gemm for f32

Source§

fn gemm( alpha: &f32, at: Transpose, a: &dyn Matrix<f32>, bt: Transpose, b: &dyn Matrix<f32>, beta: &f32, c: &mut dyn Matrix<f32>, )

Source§

impl Gemm for f64

Source§

fn gemm( alpha: &f64, at: Transpose, a: &dyn Matrix<f64>, bt: Transpose, b: &dyn Matrix<f64>, beta: &f64, c: &mut dyn Matrix<f64>, )

Source§

impl Gemm for Complex32

Source§

fn gemm( alpha: &Complex32, at: Transpose, a: &dyn Matrix<Complex32>, bt: Transpose, b: &dyn Matrix<Complex32>, beta: &Complex32, c: &mut dyn Matrix<Complex32>, )

Source§

impl Gemm for Complex64

Source§

fn gemm( alpha: &Complex64, at: Transpose, a: &dyn Matrix<Complex64>, bt: Transpose, b: &dyn Matrix<Complex64>, beta: &Complex64, c: &mut dyn Matrix<Complex64>, )

Implementors§