Syr

Trait Syr 

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

Symmetric rank-1 update

A ← A + αxxT

Required Methods§

Source

fn syr<V: ?Sized + Vector<Self>>( symmetry: Symmetry, alpha: &Self, x: &V, 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 Syr for f32

Source§

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

Source§

impl Syr for f64

Source§

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

Implementors§