Trait Spr2

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

Symmetric packed matrix rank-2 update

A ← A + αxyT + αyxT

Required Methods§

Source

fn spr2<V: ?Sized + Vector<Self>, W: ?Sized + Vector<Self>>( symmetry: Symmetry, 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 Spr2 for f32

Source§

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

Source§

impl Spr2 for f64

Source§

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

Implementors§