Skip to content

lazymatrix::MatTransposeVec ​

LazyMatrix for Rust · 0.8.1

Source

rust
pub trait MatTransposeVec<V>: MatrixShape + MatrixErrorType

Transposed matrix–vector product Aᵀ x, returning a freshly allocated vector of length ncols. Returns the backend error if the product cannot be completed.

Methods ​

mat_transpose_vec ​

rust
fn mat_transpose_vec(
    &self,
    x: &V
) -> Result<V, <Self as MatrixErrorType>::Error>

Source

mat_transpose_vec_normalized ​

rust
fn mat_transpose_vec_normalized<F: lazymatrix::Scalar>(
    &self,
    x: &V,
    centers: Option<&[F]>,
    scales: Option<&[F]>
) -> Result<V, <Self as MatrixErrorType>::Error> where V: lazymatrix::SumEntries<F> + lazymatrix::ScaledSubSlice<F> + lazymatrix::ElemDivAssign<F>

Source

Apply a normalized transpose, allowing directly centered accumulation.

Implementation of MatTransposeVec ​

Source

rust
impl<A: ZarrArray<F>, F: Scalar> MatTransposeVec<Vec<F>> for ZarrMatrix<A, F>

Implementation of MatTransposeVec ​

Source

rust
impl<M, F, V> MatTransposeVec<V> for WithIntercept<M, F> where F: Scalar, V: VectorOwned<F, Owned = V> + VectorViewMut<F>, M: MatTransposeVecInto<V>

Implementation of MatTransposeVec ​

Source

rust
impl<M, V, F> MatTransposeVec<V> for LazyMatrix<M, F> where F: Scalar, M: MatTransposeVec<V>, V: SumEntries<F> + ScaledSubSlice<F> + ElemDivAssign<F>

Implementation of MatTransposeVec ​

Source

rust
impl<M, V, F> MatTransposeVec<V> for Submatrix<'_, M, F> where M: SubmatrixKernel<F>, F: Scalar, V: VectorOwned<F, Owned = V> + VectorViewMut<F>

Implementation of MatTransposeVec ​

Source

rust
impl<M, V, T> MatTransposeVec<V> for EagerMatrix<M, T> where M: MatTransposeVec<V>

Implementation of MatTransposeVec ​

Source

rust
impl<M: MatTransposeVec<V>, V> MatTransposeVec<V> for SprsCsc<M>

Implementation of MatTransposeVec ​

Source

rust
impl<M: MatTransposeVec<V>, V> MatTransposeVec<V> for SprsCsr<M>

Released under the MIT and Apache 2.0 licenses.