pub struct Chebyshev {
pub order: u8,
pub limits: Vec<(f64, f64)>,
pub polynomials: Vec<Vec<fn(f64) -> f64>>,
}Expand description
Chebyshev polynomial basis projector.
Fields§
§order: u8§limits: Vec<(f64, f64)>§polynomials: Vec<Vec<fn(f64) -> f64>>Implementations§
Trait Implementations§
Source§impl Combinators for Chebyshev
impl Combinators for Chebyshev
Source§fn stack<T>(self, other: T) -> Stack<Self, T>where
Self: Sized,
fn stack<T>(self, other: T) -> Stack<Self, T>where
Self: Sized,
Return a stack of this
Basis over another.Source§fn with_bias(self) -> Stack<Self, Bias>where
Self: Sized,
fn with_bias(self) -> Stack<Self, Bias>where
Self: Sized,
Return the a stack of this
Basis with a single constant feature
term.Source§fn normalise_l0(self) -> L0Normaliser<Self>where
Self: Sized,
fn normalise_l0(self) -> L0Normaliser<Self>where
Self: Sized,
Return the original
Basis with all activations normalised in
L₀.Source§fn normalise_l1(self) -> L1Normaliser<Self>where
Self: Sized,
fn normalise_l1(self) -> L1Normaliser<Self>where
Self: Sized,
Return the original
Basis with all activations normalised in
L₁.Source§fn normalise_l2(self) -> L2Normaliser<Self>where
Self: Sized,
fn normalise_l2(self) -> L2Normaliser<Self>where
Self: Sized,
Return the original
Basis with all activations normalised in
L₂.Source§fn normalise_linf(self) -> LinfNormaliser<Self>where
Self: Sized,
fn normalise_linf(self) -> LinfNormaliser<Self>where
Self: Sized,
Return the original
Basis with all activations normalised in
L∞.Source§impl<I: Borrow<f64>, T: IntoIterator<Item = I>> EnumerableBasis<T> for Chebyshev
impl<I: Borrow<f64>, T: IntoIterator<Item = I>> EnumerableBasis<T> for Chebyshev
impl StructuralPartialEq for Chebyshev
Auto Trait Implementations§
impl Freeze for Chebyshev
impl RefUnwindSafe for Chebyshev
impl Send for Chebyshev
impl Sync for Chebyshev
impl Unpin for Chebyshev
impl UnwindSafe for Chebyshev
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more