pub enum ProbeType {
Rademacher,
Gaussian,
Spherical,
}Expand description
Type of random probe vectors used in stochastic estimation.
Variants§
Rademacher
Entries drawn uniformly from {-1, +1}. Optimal for unbiased trace estimation.
Gaussian
Entries drawn from N(0, 1).
Spherical
Uniformly distributed on the unit sphere (normalised Gaussian).
Trait Implementations§
impl Copy for ProbeType
impl Eq for ProbeType
impl StructuralPartialEq for ProbeType
Auto Trait Implementations§
impl Freeze for ProbeType
impl RefUnwindSafe for ProbeType
impl Send for ProbeType
impl Sync for ProbeType
impl Unpin for ProbeType
impl UnsafeUnpin for ProbeType
impl UnwindSafe for ProbeType
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