UniformManifoldGeometry.randn#

t3toolbox.uniform_manifold.UniformManifoldGeometry.randn(frame, stack_shape=())#
def randn(
        self,
        frame:        ubv.UT3Frame,
        stack_shape:  typ.Tuple[int, ...] = (),   # extra tangent stack K (a batch of tangents)
) -> UT3Tangent:  # gauged random tangent at frame

Random tangent at frame: a standard Gaussian on the tangent space T_xM.

Raw i.i.d. N(0, 1) variation supercores, then the gauge projection project() (Pi). For an orthogonal, minimal-rank frame this is the standard Gaussian on T_xM. stack_shape is the extra outer tangent stack K (default ()). Inherits project()’s safe-mode ORTH precondition (a non-orthogonal frame raises; skipped under safety.unsafe() / a jax trace).

Parameters:
  • frame (UT3Frame)

  • stack_shape (t3toolbox.backend.common.typ.Tuple[int, Ellipsis])

Return type:

UT3Tangent