pub struct MorrisScreening<F: IntegrateFloat> { /* private fields */ }Expand description
Morris screening method for parameter sensitivity
Implementations§
Source§impl<F: IntegrateFloat> MorrisScreening<F>
impl<F: IntegrateFloat> MorrisScreening<F>
Sourcepub fn new(param_bounds: Vec<(F, F)>, n_trajectories: usize, delta: F) -> Self
pub fn new(param_bounds: Vec<(F, F)>, n_trajectories: usize, delta: F) -> Self
Create a new Morris screening analyzer
Sourcepub fn new_simple(n_trajectories: usize, param_bounds: Vec<(F, F)>) -> Self
pub fn new_simple(n_trajectories: usize, param_bounds: Vec<(F, F)>) -> Self
Create a new Morris screening analysis (legacy compatibility)
Sourcepub fn with_grid_levels(self, levels: usize) -> Self
pub fn with_grid_levels(self, levels: usize) -> Self
Set number of grid levels
Sourcepub fn generate_trajectories(&self) -> Vec<Array2<F>> ⓘ
pub fn generate_trajectories(&self) -> Vec<Array2<F>> ⓘ
Generate Morris trajectories
Sourcepub fn compute_effects<Func>(
&self,
model: Func,
trajectories: &[Array2<F>],
) -> IntegrateResult<(Array1<F>, Array1<F>)>
pub fn compute_effects<Func>( &self, model: Func, trajectories: &[Array2<F>], ) -> IntegrateResult<(Array1<F>, Array1<F>)>
Compute elementary effects from pre-generated trajectories
Sourcepub fn compute_effects_named<Func>(
&self,
model: Func,
param_names: Vec<String>,
) -> IntegrateResult<HashMap<String, (F, F)>>
pub fn compute_effects_named<Func>( &self, model: Func, param_names: Vec<String>, ) -> IntegrateResult<HashMap<String, (F, F)>>
Compute elementary effects with parameter names (legacy compatibility)
Auto Trait Implementations§
impl<F> Freeze for MorrisScreening<F>where
F: Freeze,
impl<F> RefUnwindSafe for MorrisScreening<F>where
F: RefUnwindSafe,
impl<F> Send for MorrisScreening<F>where
F: Send,
impl<F> Sync for MorrisScreening<F>where
F: Sync,
impl<F> Unpin for MorrisScreening<F>where
F: Unpin,
impl<F> UnwindSafe for MorrisScreening<F>where
F: UnwindSafe,
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