NLA-lib Explorer

Rademacher matrices

Library · Source module

Rademacher matrices

NLAlib.rademacherMatrix m n is the law of an m \times n real matrix with independent random signs, written as independent rows, each a rademacherVector n: Measure.pi fun _ : m => rademacherVector n. It mirrors NLAlib.gaussianMatrix: an abbrev, so the product-law lemmas apply directly (ProbabilityTheory.HasLaw.eval for the rows, ProbabilityTheory.HasLaw.iIndepFun_eval for their independence), and the facts a consumer needs are stated here. A Rademacher matrix read as a vector indexed by m \times n (Function.uncurry) is a rademacherVector; its columns are independent sign vectors; its transpose is again a Rademacher matrix.

## Main definitions

* NLAlib.rademacherMatrix m n.

Main results

* NLAlib.hasLaw_uncurry_of_hasLaw_rademacherMatrix, NLAlib.hasLaw_rademacherMatrix_of_hasLaw_uncurry. * NLAlib.hasLaw_col_of_hasLaw_rademacherMatrix, NLAlib.iIndepFun_col_of_hasLaw_rademacherMatrix. * NLAlib.hasLaw_conjTranspose_of_hasLaw_rademacherMatrix.

Declarations