pub struct Truncation {
pub rel_eps: f64,
pub gavish_donoho: bool,
pub max_rank: usize,
}Expand description
Rank-selection rule for each unfolding in tt_svd.
Fields§
§rel_eps: f64Relative Frobenius budget ε: each of the d−1 SVDs discards at most
δ = ε‖X‖/√(d−1) (Oseledets 2011), so ‖X − X̂‖ ≤ ε‖X‖.
gavish_donoho: boolAdditionally cap each rank at the Gavish–Donoho optimal hard
threshold ω(β)·σ_med (unknown-noise form).
max_rank: usizeHard rank cap.
Trait Implementations§
Source§impl Clone for Truncation
impl Clone for Truncation
impl Copy for Truncation
Source§impl Debug for Truncation
impl Debug for Truncation
Source§impl Default for Truncation
impl Default for Truncation
Source§impl PartialEq for Truncation
impl PartialEq for Truncation
impl StructuralPartialEq for Truncation
Auto Trait Implementations§
impl Freeze for Truncation
impl RefUnwindSafe for Truncation
impl Send for Truncation
impl Sync for Truncation
impl Unpin for Truncation
impl UnsafeUnpin for Truncation
impl UnwindSafe for Truncation
Blanket Implementations§
impl<T> Boilerplate for T
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