pub struct OrthogonalMatrixGenerator;Expand description
Generates random orthogonal matrices uniformly distributed on O(n) according to the Haar measure.
The method is: generate a Gaussian random matrix, compute its QR decomposition via modified Gram-Schmidt, and return Q.
Implementations§
Auto Trait Implementations§
impl Freeze for OrthogonalMatrixGenerator
impl RefUnwindSafe for OrthogonalMatrixGenerator
impl Send for OrthogonalMatrixGenerator
impl Sync for OrthogonalMatrixGenerator
impl Unpin for OrthogonalMatrixGenerator
impl UnsafeUnpin for OrthogonalMatrixGenerator
impl UnwindSafe for OrthogonalMatrixGenerator
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