mirror of https://github.com/FabricMC/yarn.git
37 lines
1.9 KiB
Plaintext
37 lines
1.9 KiB
Plaintext
CLASS net/minecraft/class_7837 net/minecraft/util/math/MatrixUtil
|
||
FIELD field_40746 COT_PI_OVER_8 F
|
||
FIELD field_43146 SIN_COS_PI_OVER_8 Lnet/minecraft/class_8218;
|
||
METHOD method_46410 qrGivensQuaternion (FF)Lnet/minecraft/class_8218;
|
||
COMMENT Computes the Givens quaternion for a QR factorization.
|
||
COMMENT See Algorithm 4 of <a href="https://pages.cs.wisc.edu/~sifakis/papers/SVD_TR1690.pdf">
|
||
COMMENT https://pages.cs.wisc.edu/~sifakis/papers/SVD_TR1690.pdf</a>.
|
||
ARG 0 a1
|
||
ARG 1 a2
|
||
METHOD method_46411 approximateGivensQuaternion (FFF)Lnet/minecraft/class_8218;
|
||
COMMENT Computes the approximate Givens rotation factors {@code (c, s) = (cos(phi), sin(phi))} for a 2×2 matrix.
|
||
COMMENT See Algorithm 4 of <a href="https://pages.cs.wisc.edu/~sifakis/papers/SVD_TR1690.pdf">
|
||
COMMENT https://pages.cs.wisc.edu/~sifakis/papers/SVD_TR1690.pdf</a>.
|
||
ARG 0 a11
|
||
COMMENT the top-left element of the matrix
|
||
ARG 1 a12
|
||
COMMENT the average of the two elements on the minor diagonal
|
||
ARG 2 a22
|
||
COMMENT the bottom-right element of the matrix
|
||
METHOD method_46412 svdDecompose (Lorg/joml/Matrix3f;)Lorg/apache/commons/lang3/tuple/Triple;
|
||
COMMENT Performs an approximate singular value decomposition on a 3×3 matrix.
|
||
COMMENT See Algorithm 4 of <a href="https://pages.cs.wisc.edu/~sifakis/papers/SVD_TR1690.pdf">
|
||
COMMENT https://pages.cs.wisc.edu/~sifakis/papers/SVD_TR1690.pdf</a>.
|
||
ARG 0 A
|
||
METHOD method_46414 scale (Lorg/joml/Matrix4f;F)Lorg/joml/Matrix4f;
|
||
ARG 0 matrix
|
||
ARG 1 scalar
|
||
METHOD method_46415 applyJacobiIteration (Lorg/joml/Matrix3f;Lorg/joml/Matrix3f;Lorg/joml/Quaternionf;Lorg/joml/Quaternionf;)V
|
||
ARG 0 AtA
|
||
METHOD method_49741 applyJacobiIterations (Lorg/joml/Matrix3f;I)Lorg/joml/Quaternionf;
|
||
ARG 0 AtA
|
||
ARG 1 numJacobiIterations
|
||
METHOD method_49742 conjugate (Lorg/joml/Matrix3f;Lorg/joml/Matrix3f;)V
|
||
COMMENT Stores A′XA into X, clobbering A.
|
||
ARG 0 X
|
||
ARG 1 A
|