Skip to content

lazymatrix::Scaling ​

LazyMatrix for Rust · 0.8.1

Source

rust
pub enum Scaling

How to scale each column.

Variants ​

L1 ​

rust
L1

Source

Divide by the 1-norm.

L2 ​

rust
L2

Source

Divide by the 2-norm.

MaxAbs ​

rust
MaxAbs

Source

Divide by the maximum absolute value.

None ​

rust
None

Source

No scaling.

Range ​

rust
Range

Source

Divide by the range, max - min.

Sd ​

rust
Sd

Source

Divide by the (population) standard deviation.

Implementation of Clone ​

Source

rust
impl Clone for Scaling

clone ​

rust
fn clone(&self) -> Self

Source

Implementation of Copy ​

Source

rust
impl Copy for Scaling

Implementation of Debug ​

Source

rust
impl Debug for Scaling

fmt ​

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

Source

Implementation of Default ​

Source

rust
impl Default for Scaling

default ​

rust
fn default() -> Self

Source

Implementation of Eq ​

Source

rust
impl Eq for Scaling

Implementation of PartialEq ​

Source

rust
impl PartialEq for Scaling

eq ​

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

Source

Implementation of StructuralPartialEq ​

Source

rust
impl StructuralPartialEq for Scaling

Implementation of Freeze ​

rust
impl Freeze for Scaling

Implementation of RefUnwindSafe ​

rust
impl RefUnwindSafe for Scaling

Implementation of Send ​

rust
impl Send for Scaling

Implementation of Sync ​

rust
impl Sync for Scaling

Implementation of Unpin ​

rust
impl Unpin for Scaling

Implementation of UnsafeUnpin ​

rust
impl UnsafeUnpin for Scaling

Implementation of UnwindSafe ​

rust
impl UnwindSafe for Scaling

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.