pub struct FittedErrorBoundedRBFSampler { /* private fields */ }Expand description
Fitted error-bounded RBF sampler
Implementations§
Source§impl FittedErrorBoundedRBFSampler
impl FittedErrorBoundedRBFSampler
Sourcepub fn error_bound(&self) -> &ErrorBound
pub fn error_bound(&self) -> &ErrorBound
Get the error bound
Sourcepub fn n_components(&self) -> usize
pub fn n_components(&self) -> usize
Get the number of components
Sourcepub fn is_bound_satisfied(&self, tolerance: f64) -> bool
pub fn is_bound_satisfied(&self, tolerance: f64) -> bool
Check if error bound is satisfied
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FittedErrorBoundedRBFSampler
impl RefUnwindSafe for FittedErrorBoundedRBFSampler
impl Send for FittedErrorBoundedRBFSampler
impl Sync for FittedErrorBoundedRBFSampler
impl Unpin for FittedErrorBoundedRBFSampler
impl UnwindSafe for FittedErrorBoundedRBFSampler
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> 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