pub struct SensitivityAnalyzer { /* private fields */ }Expand description
Sensitivity analyzer
Implementations§
Source§impl SensitivityAnalyzer
impl SensitivityAnalyzer
Sourcepub fn add_factor(&mut self, factor: SensitivityFactor)
pub fn add_factor(&mut self, factor: SensitivityFactor)
Add factor to the SensitivityAnalyzer.
Sourcepub fn get_factor(&self, factor_id: &str) -> Option<&SensitivityFactor>
pub fn get_factor(&self, factor_id: &str) -> Option<&SensitivityFactor>
Look up factor by id; None when absent.
Sourcepub fn list_factors(&self) -> Vec<String>
pub fn list_factors(&self) -> Vec<String>
Ids of every registered factor.
Sourcepub fn correlation_matrix(&self) -> &CorrelationMatrix
pub fn correlation_matrix(&self) -> &CorrelationMatrix
The correlation_matrix component.
Sourcepub fn set_correlation_matrix(&mut self, matrix: CorrelationMatrix)
pub fn set_correlation_matrix(&mut self, matrix: CorrelationMatrix)
Replace the correlation_matrix.
Auto Trait Implementations§
impl Freeze for SensitivityAnalyzer
impl RefUnwindSafe for SensitivityAnalyzer
impl Send for SensitivityAnalyzer
impl Sync for SensitivityAnalyzer
impl Unpin for SensitivityAnalyzer
impl UnsafeUnpin for SensitivityAnalyzer
impl UnwindSafe for SensitivityAnalyzer
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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