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§
fn into_owned(self) -> Self::Owned
Sourcefn gemv_v(
&self,
alpha: Self::T,
x: &<Self::V as Vector>::View<'_>,
beta: Self::T,
y: &mut Self::V,
)
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
.
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.