warp.svd2#

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

  • Differentiable

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[Literal[2], Literal[2], Float],
U: Matrix[Literal[2], Literal[2], Float],
sigma: Vector[Literal[2], Float],
V: Matrix[Literal[2], Literal[2], Float],
) None
  • Kernel

  • Differentiable

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.