#[non_exhaustive]pub enum Sketch {
Gaussian,
Rademacher,
}Expand description
Distribution of the test matrix Ω of crate::rsvd() and
crate::range_finder (Algorithm G).
The sequence for a given seed is part of the semver contract (a frozen-sequence test pins the first 64 deviates): changing it is a breaking change.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Gaussian
Standard Gaussian entries (Algorithm G) — the distribution of the HMT bounds. Default.
Rademacher
±1 with probability ½ each (one bit of next() per entry). No
transcendental function; HMT’s expectation bound is not proven
for it, though the pilot found it inside the bound on three
spectra.
Trait Implementations§
impl Copy for Sketch
impl Eq for Sketch
impl StructuralPartialEq for Sketch
Auto Trait Implementations§
impl Freeze for Sketch
impl RefUnwindSafe for Sketch
impl Send for Sketch
impl Sync for Sketch
impl Unpin for Sketch
impl UnsafeUnpin for Sketch
impl UnwindSafe for Sketch
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