Trait MatrixView

Source
pub trait MatrixView<'a>: for<'b> MatrixOpsByValue<&'b Self::Owned, Self::Owned> + Mul<Scale<Self::T>, Output = Self::Owned> {
    type Owned;

    // Required methods
    fn into_owned(self) -> Self::Owned;
    fn gemv_v(
        &self,
        alpha: Self::T,
        x: &<Self::V as Vector>::View<'_>,
        beta: Self::T,
        y: &mut Self::V,
    );
    fn gemv_o(
        &self,
        alpha: Self::T,
        x: &Self::V,
        beta: Self::T,
        y: &mut Self::V,
    );
}
Expand description

A view of a dense matrix Matrix

Required Associated Types§

Required Methods§

Source

fn into_owned(self) -> Self::Owned

Source

fn gemv_v( &self, alpha: Self::T, x: &<Self::V as Vector>::View<'_>, beta: Self::T, y: &mut Self::V, )

Perform a matrix-vector multiplication y = self * x + beta * y.

Source

fn gemv_o(&self, alpha: Self::T, x: &Self::V, beta: Self::T, y: &mut Self::V)

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.

Implementors§

Source§

impl<'a, T: Scalar> MatrixView<'a> for FaerMatRef<'a, T>

Source§

impl<'a, T: Scalar> MatrixView<'a> for NalgebraMatRef<'a, T>