Skip to content

lazymatrix::NormalizationRecipe ​

LazyMatrix for Rust · 0.9.0

Source

rust
pub trait NormalizationRecipe<M: lazymatrix::MatrixErrorType, P: NormalizationParams>: private::Recipe<M, P>

A normalization recipe supported by a backend and fitted parameter type.

crate::LazyMatrix::new selects fitting through this sealed trait. Column recipes require crate::ColumnStats; row recipes require dense indexed access through crate::MatrixRead. Implementing those capabilities enables fitting for a downstream backend without implementing this trait directly.

Released under the MIT and Apache 2.0 licenses.