Trait Ger

Source
pub trait Ger: Sized {
    // Required method
    fn ger<V: ?Sized + Vector<Self>, W: ?Sized + Vector<Self>>(
        alpha: &Self,
        x: &V,
        y: &W,
        a: &mut dyn Matrix<Self>,
    );
}
Expand description

General rank-1 update

A ← A + αxyT

Required Methods§

Source

fn ger<V: ?Sized + Vector<Self>, W: ?Sized + Vector<Self>>( alpha: &Self, x: &V, y: &W, a: &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 Ger for f32

Source§

fn ger<V: ?Sized + Vector<Self>, W: ?Sized + Vector<Self>>( alpha: &f32, x: &V, y: &W, a: &mut dyn Matrix<f32>, )

Source§

impl Ger for f64

Source§

fn ger<V: ?Sized + Vector<Self>, W: ?Sized + Vector<Self>>( alpha: &f64, x: &V, y: &W, a: &mut dyn Matrix<f64>, )

Source§

impl Ger for Complex32

Source§

fn ger<V: ?Sized + Vector<Self>, W: ?Sized + Vector<Self>>( alpha: &Complex32, x: &V, y: &W, a: &mut dyn Matrix<Complex32>, )

Source§

impl Ger for Complex64

Source§

fn ger<V: ?Sized + Vector<Self>, W: ?Sized + Vector<Self>>( alpha: &Complex64, x: &V, y: &W, a: &mut dyn Matrix<Complex64>, )

Implementors§