Sign in Join
FPDoc Onlineexperiment

Tmatrix4_double.inverse function

Member of Tmatrix4_doubleIn unit matrix

Calculates the inverse of the matrix.

Declaration

pascal
function inverse(Adeterminant: Double): Tmatrix4_double

Description

Tmatrix4_double.inverse returns a new matrix that is the inverse of the matrix. You must pass the determinant of the matrix as parameter. Note: Calculating the inverse of a 4*4 matrix requires quite a few operations.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.