pub trait Params:
Send
+ Sync
+ Clone {
// Required methods
fn dimension(&self) -> usize;
fn propose(&self, other: &Self, z: f64) -> Self;
}
Expand description
Model parameters defining the state space of the Markov chain
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl Params for Box<[f64]>
Model parameters stored as a boxed slice of length n
considered as an element of the vector space R^n
impl Params for Box<[f64]>
Model parameters stored as a boxed slice of length n
considered as an element of the vector space R^n
Source§impl Params for Vec<f64>
Model parameters stored as a vector of length n
considered as an element of the vector space R^n
impl Params for Vec<f64>
Model parameters stored as a vector of length n
considered as an element of the vector space R^n
Source§impl<const N: usize> Params for [f64; N]
Model parameters stored as an array of length N
considered as an element of the vector space R^N
impl<const N: usize> Params for [f64; N]
Model parameters stored as an array of length N
considered as an element of the vector space R^N