warp.svd2#

warp.svd2(
A: Matrix[Float, Literal[2], Literal[2]],
) → tuple[Matrix[Float, Literal[2], Literal[2]], Vector[Float, Literal[2]], Matrix[Float, Literal[2], Literal[2]]]#
  • Kernel: true
  • Python: true
  • Differentiable: true

Compute the SVD of a 2x2 matrix A.

The singular values are returned in sigma, while the left and right basis vectors are returned in U and V.

warp.svd2(
A: Matrix[Float, Literal[2], Literal[2]],
U: Matrix[Float, Literal[2], Literal[2]],
sigma: Vector[Float, Literal[2]],
V: Matrix[Float, Literal[2], Literal[2]],
) → None
  • Kernel: true
  • Python: false
  • Differentiable: true

Compute the SVD of a 2x2 matrix A.

The singular values are returned in sigma, while the left and right basis vectors are returned in U and V.