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

Symmetric rank-2 update

A ← A + αxyT + αyxT

Required Methods§

source

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

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Syr2 for f32

source§

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

source§

impl Syr2 for f64

source§

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

Implementors§