Record TR3MatrixHelper

Unit

Declaration

type TR3MatrixHelper = record helper for TR3Matrix

Description

Record helper for TR3Matrix providing additional operations specific to 3×3 real matrices.

Overview

Methods

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

Description

Methods

Public function Determinant: double;

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

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

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: TR3Matrix;

Returns the transpose of the 3×3 matrix.


Generated by PasDoc 1.0.4.