Compute_Matrix_Adjoint
Functions | |
void | Compute_Matrix_Adjoint (const float *matrix, float *out_matrix) |
void | DCompute_Matrix_Adjoint (const double *matrix, double *out_matrix) |
Similar to Compute_Matrix_Adjoint(), but operates on double-precision data. More... | |
Detailed Description
Function Documentation
◆ Compute_Matrix_Adjoint()
void Compute_Matrix_Adjoint | ( | const float * | matrix, |
float * | out_matrix | ||
) |
- Parameters
-
matrix - Input transformation matrix. out_matrix - Output transformation matrix, returned to the caller. Can point to the same place as matrix.
DETAILS
Compute_Matrix_Adjoint() takes a general 4x4 transformation and computes its adjoint. The adjoint of a matrix is similar to the inverse of the matrix—the adjoint divided by the determinant gives the inverse. The adjoint is sometimes used in place of the inverse because it's easier to compute and is never singular.
NOTES
RESTRICTIONS
◆ DCompute_Matrix_Adjoint()
void DCompute_Matrix_Adjoint | ( | const double * | matrix, |
double * | out_matrix | ||
) |
Similar to Compute_Matrix_Adjoint(), but operates on double-precision data.
- Parameters
-
matrix - Input transformation matrix. out_matrix - Output transformation matrix, returned to the caller. Can point to the same place as matrix.