Record TR4MatrixHelper

Unit

Declaration

type TR4MatrixHelper = record helper for TR4Matrix

Description

Record helper for TR4Matrix providing additional operations specific to 4×4 real matrices.

Overview

Methods

Public function Determinant: double;
Public function Reciprocal(const ADeterminant: double): TR4Matrix;
Public function ToString: string;
Public function ToString(APrecision, ADigits: integer): string;
Public function Transpose: TR4Matrix;

Description

Methods

Public function Determinant: double;

Returns the determinant of the 4×4 matrix using cofactor expansion.

Public function Reciprocal(const ADeterminant: double): TR4Matrix;

Returns the inverse of the matrix given its precomputed determinant.

Parameters
ADeterminant
The determinant of the matrix, computed via Determinant.
Public function ToString: string;

Converts the matrix to its default string representation.

Public function ToString(APrecision, ADigits: integer): string;

Converts the matrix to a formatted string with controlled precision.

Parameters
APrecision
Number of significant digits.
ADigits
Minimum number of digits in the output.
Public function Transpose: TR4Matrix;

Returns the transpose of the 4×4 matrix.


Generated by PasDoc 1.0.4.