Struct VMDConfig
#[non_exhaustive]pub struct VMDConfig {
pub num_modes: usize,
pub alpha: AlphaSpec,
pub tau: f64,
pub tolerance: f64,
pub max_iterations: usize,
pub init: ModeInitialization,
pub dc_mode: bool,
pub random_seed: Option<u64>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
num_modes: usize§alpha: AlphaSpec§tau: f64§tolerance: f64§max_iterations: usize§init: ModeInitialization§dc_mode: bool§random_seed: Option<u64>Implementations§
§impl VMDConfig
impl VMDConfig
pub fn with_num_modes(self, num_modes: usize) -> Self
pub fn with_num_modes(self, num_modes: usize) -> Self
pub fn with_alpha(self, alpha: AlphaSpec) -> Self
pub fn with_alpha(self, alpha: AlphaSpec) -> Self
pub fn with_tolerance(self, tolerance: f64) -> Self
pub fn with_tolerance(self, tolerance: f64) -> Self
pub fn with_max_iterations(self, max_iterations: usize) -> Self
pub fn with_max_iterations(self, max_iterations: usize) -> Self
pub fn with_init(self, init: ModeInitialization) -> Self
pub fn with_init(self, init: ModeInitialization) -> Self
pub fn with_dc_mode(self, dc_mode: bool) -> Self
pub fn with_dc_mode(self, dc_mode: bool) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VMDConfig
impl RefUnwindSafe for VMDConfig
impl Send for VMDConfig
impl Sync for VMDConfig
impl Unpin for VMDConfig
impl UnwindSafe for VMDConfig
Blanket Implementations§
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)