NLAlib.uniformSphereVector
Library · def
The uniform law on the unit sphere of \mathbb{R}^n: the law of \mathbf{g} / \|\mathbf{g}\| for a standard Gaussian vector \mathbf{g}, the Euclidean norm being ‖WithLp.toLp 2 g‖. It is the law of a column of a Haar frame (hasLaw_col_of_hasLaw_haarFrame). For nonempty n it is concentrated on the sphere; for empty n it is the point mass at the unique vector.
NLAlib.uniformSphereVector.{u_4} (n : Type u_4) [Fintype n] : Measure (n → ℝ)Import NLAlib.RandomMatrix.Haar.Basic.