Record TRMatrixQuantity

Unit

Declaration

type generic TRMatrixQuantity<TSpace> = record

Description

Generic square matrix of real physical quantities (TQuantity) with dimension TSpace.N × TSpace.N.

Each element carries the same physical dimension, stored in FDim. Supports arithmetic operations with dimensional consistency checking. When ADIMOFF is defined, degenerates to the corresponding TRMatrix specialization. Concrete types are provided as TR2MatrixQuantity, TR3MatrixQuantity, and TR4MatrixQuantity.

Overview

Nested Types

Public TRMatrix = specialize TRMatrix<TSpace>;

Methods

Public class operator *(const ALeft: TQuantity; const ARight: TRMatrixQuantity): TRMatrixQuantity;
Public class operator *(const ALeft: TRMatrixQuantity; const ARight: TQuantity): TRMatrixQuantity;
Public class operator *(const ALeft, ARight: TRMatrixQuantity): TRMatrixQuantity;
Public class operator +(const ALeft, ARight: TRMatrixQuantity): TRMatrixQuantity;
Public class operator -(const ALeft, ARight: TRMatrixQuantity): TRMatrixQuantity;
Public class operator /(const ALeft: TRMatrixQuantity; const ARight: TQuantity): TRMatrixQuantity;
Public class operator :=(const AMatrix: TRMatrix): TRMatrixQuantity;
Public class operator <>(const ALeft, ARight: TRMatrixQuantity): boolean;
Public class operator =(const ALeft, ARight: TRMatrixQuantity): boolean;

Description

Nested Types

Public TRMatrix = specialize TRMatrix<TSpace>;

This item has no description.

Methods

Public class operator *(const ALeft: TQuantity; const ARight: TRMatrixQuantity): TRMatrixQuantity;

Returns the product of a real quantity scalar and a quantity matrix. The resulting dimension is the product of the two dimensions.

Public class operator *(const ALeft: TRMatrixQuantity; const ARight: TQuantity): TRMatrixQuantity;

Returns the product of a quantity matrix and a real quantity scalar. The resulting dimension is the product of the two dimensions.

Public class operator *(const ALeft, ARight: TRMatrixQuantity): TRMatrixQuantity;

Returns the matrix product of two quantity matrices. The resulting dimension is the product of the two dimensions.

Public class operator +(const ALeft, ARight: TRMatrixQuantity): TRMatrixQuantity;

Returns the element-wise sum of two quantity matrices. Both operands must have the same dimension.

Public class operator -(const ALeft, ARight: TRMatrixQuantity): TRMatrixQuantity;

Returns the element-wise difference of two quantity matrices. Both operands must have the same dimension.

Public class operator /(const ALeft: TRMatrixQuantity; const ARight: TQuantity): TRMatrixQuantity;

Returns the quantity matrix divided by a real quantity scalar. The resulting dimension is the ratio of the two dimensions.

Public class operator :=(const AMatrix: TRMatrix): TRMatrixQuantity;

Implicit conversion from a dimensionless real matrix to a quantity matrix. The resulting matrix has a scalar (dimensionless) dimension.

Public class operator <>(const ALeft, ARight: TRMatrixQuantity): boolean;

Returns True if the two matrices differ in dimension or in at least one element.

Public class operator =(const ALeft, ARight: TRMatrixQuantity): boolean;

Returns True if both matrices have the same dimension and all corresponding elements are equal.


Generated by PasDoc 1.0.4.