Skip to content

lazymatrix::Normalization ​

LazyMatrix for Rust · 0.8.1

Source

rust
pub struct Normalization

A full normalization specification: an independent Centering and Scaling choice.

When both are active, scales are computed from the centered columns Non-translation-invariant scales are computed from centered columns (see ColumnStats::col_l1_centered, ColumnStats::col_l2_centered, and ColumnStats::col_maxabs_centered.

Fields ​

center ​

rust
pub center: Centering

Source

scale ​

rust
pub scale: Scaling

Source

Inherent implementation ​

Source

rust
impl Normalization

new ​

rust
pub fn new(center: Centering, scale: Scaling) -> Self

Source

Build a specification from its two axes.

Implementation of Clone ​

Source

rust
impl Clone for Normalization

clone ​

rust
fn clone(&self) -> Self

Source

Implementation of Copy ​

Source

rust
impl Copy for Normalization

Implementation of Debug ​

Source

rust
impl Debug for Normalization

fmt ​

rust
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result

Source

Implementation of Default ​

Source

rust
impl Default for Normalization

default ​

rust
fn default() -> Self

Source

Implementation of Eq ​

Source

rust
impl Eq for Normalization

Implementation of PartialEq ​

Source

rust
impl PartialEq for Normalization

eq ​

rust
fn eq(&self, other: &Self) -> bool

Source

Implementation of StructuralPartialEq ​

Source

rust
impl StructuralPartialEq for Normalization

Implementation of Freeze ​

rust
impl Freeze for Normalization

Implementation of RefUnwindSafe ​

rust
impl RefUnwindSafe for Normalization

Implementation of Send ​

rust
impl Send for Normalization

Implementation of Sync ​

rust
impl Sync for Normalization

Implementation of Unpin ​

rust
impl Unpin for Normalization

Implementation of UnsafeUnpin ​

rust
impl UnsafeUnpin for Normalization

Implementation of UnwindSafe ​

rust
impl UnwindSafe for Normalization

Implementation of Any ​

rust
impl<T> Any for T where T: 'static + ?Sized

Implementation of Boilerplate ​

rust
impl<T> Boilerplate for T where T: Copy + Send + Sync + Debug + PartialEq + 'static

Implementation of Borrow ​

rust
impl<T> Borrow<T> for T where T: ?Sized

Implementation of BorrowMut ​

rust
impl<T> BorrowMut<T> for T where T: ?Sized

Implementation of ByRef ​

rust
impl<T> ByRef<T> for T

Implementation of CastableFrom ​

rust
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT where ST: ?Sized, DT: ?Sized

Implementation of CastableFrom ​

rust
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT where ST: ?Sized, DT: ?Sized

Implementation of CloneToUninit ​

rust
impl<T> CloneToUninit for T where T: Clone

Implementation of Equivalent ​

rust
impl<Q, K> Equivalent<K> for Q where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized

Implementation of Equivalent ​

rust
impl<Q, K> Equivalent<K> for Q where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized

Implementation of From ​

rust
impl<T> From<T> for T

Implementation of Imply ​

rust
impl<T, U> Imply<T> for U where T: ?Sized, U: ?Sized

Implementation of Into ​

rust
impl<T, U> Into<U> for T where U: From<T>

Implementation of IntoEither ​

rust
impl<T> IntoEither for T

Implementation of Pointable ​

rust
impl<T> Pointable for T

Implementation of Read ​

rust
impl<T> Read<Exclusive, BecauseExclusive> for T where T: ?Sized

Implementation of Same ​

rust
impl<T> Same for T

Implementation of Scalar ​

rust
impl<T> Scalar for T where T: 'static + Clone + PartialEq + Debug

Implementation of SupersetOf ​

rust
impl<SS, SP> SupersetOf<SS> for SP where SS: SubsetOf<SP>

Implementation of ToOwned ​

rust
impl<T> ToOwned for T where T: Clone

Implementation of TryFrom ​

rust
impl<T, U> TryFrom<U> for T where U: Into<T>

Implementation of TryInto ​

rust
impl<T, U> TryInto<U> for T where U: TryFrom<T>

Released under the MIT and Apache 2.0 licenses.