Skip to content

lazymatrix::MatTransposeMatInto ​

LazyMatrix for Rust · 0.8.1

Source

rust
pub trait MatTransposeMatInto<F: Scalar>: MatrixShape + MatrixErrorType

Batched transpose product out = Aᵀ B, overwriting dense output.

For an n × p operator and an n × k input, output has shape p × k. Borrowing, workspace, errors, validation, and empty-batch behavior follow MatMatInto. Transposition does not change storage orientation or grant opposite-orientation borrowing capabilities.

Methods ​

mat_transpose_mat_into ​

rust
fn mat_transpose_mat_into<R, O>(
    &self,
    rhs: &R,
    out: &mut O
) -> Result<(), <Self as MatrixErrorType>::Error> where R: MatrixRead<F> + ?Sized, O: MatrixRead<F> + MatrixWrite<F> + ?Sized

Source

mat_transpose_mat_normalized_into ​

rust
fn mat_transpose_mat_normalized_into<R, O>(
    &self,
    rhs: &R,
    centers: Option<&[F]>,
    scales: Option<&[F]>,
    out: &mut O
) -> Result<(), <Self as MatrixErrorType>::Error> where R: MatrixRead<F> + ?Sized, O: MatrixRead<F> + MatrixWrite<F> + ?Sized

Source

Apply the transpose of an optionally normalized operator.

Validation and parameter semantics follow MatMatInto::matmat_normalized_into. Corrections run only after the raw product succeeds. Dense backends can center before accumulation.

Implementation of MatTransposeMatInto ​

Source

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

Implementation of MatTransposeMatInto ​

Source

rust
impl<M: MatTransposeMatInto<F>, F: Scalar> MatTransposeMatInto<F> for lazymatrix::WithIntercept<M, F>

Implementation of MatTransposeMatInto ​

Source

rust
impl<M: MatTransposeMatInto<F>, F: Scalar> MatTransposeMatInto<F> for lazymatrix::LazyMatrix<M, F>

Implementation of MatTransposeMatInto ​

Source

rust
impl<M: lazymatrix::MatTransposeMatInto<F>, F: Scalar, T> MatTransposeMatInto<F> for EagerMatrix<M, T>

Implementation of MatTransposeMatInto ​

Source

rust
impl<M: lazymatrix::MatTransposeMatInto<F>, F: Scalar> MatTransposeMatInto<F> for SprsCsc<M>

Implementation of MatTransposeMatInto ​

Source

rust
impl<M: lazymatrix::MatTransposeMatInto<F>, F: Scalar> MatTransposeMatInto<F> for SprsCsr<M>

Released under the MIT and Apache 2.0 licenses.