Enum net_ensembles::sampling::SetInitialError
source · [−]pub enum SetInitialError {
DimensionError,
NonFiniteEncountered,
InvalidLogF,
}
Expand description
Possible errors when setting initial guess
Variants
DimensionError
Dimensions do not match!
The length of the initial guess and the amount of bins have to be the same
NonFiniteEncountered
All values inside the initial guess have to be finite
InvalidLogF
log_f has to fullfill 0.0 < log_f < 10.0
Trait Implementations
sourceimpl Clone for SetInitialError
impl Clone for SetInitialError
sourcefn clone(&self) -> SetInitialError
fn clone(&self) -> SetInitialError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SetInitialError
impl Debug for SetInitialError
impl Copy for SetInitialError
Auto Trait Implementations
impl RefUnwindSafe for SetInitialError
impl Send for SetInitialError
impl Sync for SetInitialError
impl Unpin for SetInitialError
impl UnwindSafe for SetInitialError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<S, T> CastFloat<T> for Swhere
T: ConvFloat<S>,
impl<S, T> CastFloat<T> for Swhere
T: ConvFloat<S>,
fn cast_trunc(self) -> T
fn cast_trunc(self) -> T
Cast to integer, truncating Read more
fn cast_nearest(self) -> T
fn cast_nearest(self) -> T
Cast to the nearest integer Read more
fn cast_floor(self) -> T
fn cast_floor(self) -> T
Cast the floor to an integer Read more
fn try_cast_trunc(self) -> Result<T, Error>
fn try_cast_trunc(self) -> Result<T, Error>
Try converting to integer with truncation Read more
fn try_cast_nearest(self) -> Result<T, Error>
fn try_cast_nearest(self) -> Result<T, Error>
Try converting to the nearest integer Read more
fn try_cast_floor(self) -> Result<T, Error>
fn try_cast_floor(self) -> Result<T, Error>
Try converting the floor to an integer Read more
fn try_cast_ceil(self) -> Result<T, Error>
fn try_cast_ceil(self) -> Result<T, Error>
Try convert the ceiling to an integer Read more