Record TUnitHelper

Unit

Declaration

type TUnitHelper = record helper for TUnit

Description

Record helper for TUnit providing conversion and formatting operations for all supported quantity types.

This helper centralises the logic for:

All methods that accept APrefixes apply the corresponding SI prefix scaling factor to the numerical value before returning or formatting.

Overview

Methods

Public function GetName(Prefixes: TPrefixes): string;
Public function GetPluralName(Prefixes: TPrefixes): string;
Public function GetSymbol(Prefixes: TPrefixes): string;
Public function GetValue(const AQuantity: double; const APrefixes: TPrefixes): double;
Public function GetValue(const AQuantity: TC2Matrix; const APrefixes: TPrefixes): TC2Matrix;
Public function GetValue(const AQuantity: TC2Vector; const APrefixes: TPrefixes): TC2Vector;
Public function GetValue(const AQuantity: TC3Matrix; const APrefixes: TPrefixes): TC3Matrix;
Public function GetValue(const AQuantity: TC3Vector; const APrefixes: TPrefixes): TC3Vector;
Public function GetValue(const AQuantity: TC4Matrix; const APrefixes: TPrefixes): TC4Matrix;
Public function GetValue(const AQuantity: TC4Vector; const APrefixes: TPrefixes): TC4Vector;
Public function GetValue(const AQuantity: TCL3Bivector; const APrefixes: TPrefixes): TCL3Bivector;
Public function GetValue(const AQuantity: TCL3Multivector; const APrefixes: TPrefixes): TCL3Multivector;
Public function GetValue(const AQuantity: TCL3Trivector; const APrefixes: TPrefixes): TCL3Trivector;
Public function GetValue(const AQuantity: TCL3Vector; const APrefixes: TPrefixes): TCL3Vector;
Public function GetValue(const AQuantity: TComplex; const APrefixes: TPrefixes): TComplex;
Public function GetValue(const AQuantity: TR2Matrix; const APrefixes: TPrefixes): TR2Matrix;
Public function GetValue(const AQuantity: TR2Vector; const APrefixes: TPrefixes): TR2Vector;
Public function GetValue(const AQuantity: TR3Matrix; const APrefixes: TPrefixes): TR3Matrix;
Public function GetValue(const AQuantity: TR3Vector; const APrefixes: TPrefixes): TR3Vector;
Public function GetValue(const AQuantity: TR4Matrix; const APrefixes: TPrefixes): TR4Matrix;
Public function GetValue(const AQuantity: TR4Vector; const APrefixes: TPrefixes): TR4Vector;
Public function ToComplex(const AQuantity: TComplexQuantity): TComplex;
Public function ToComplex(const AQuantity: TComplexQuantity; const APrefixes: TPrefixes): TComplex;
Public function ToFloat(const AQuantity: TQuantity): double;
Public function ToFloat(const AQuantity: TQuantity; const APrefixes: TPrefixes): double;
Public function ToMatrix(const AQuantity: TC2MatrixQuantity): TC2Matrix;
Public function ToMatrix(const AQuantity: TC2MatrixQuantity; const APrefixes: TPrefixes): TC2Matrix;
Public function ToMatrix(const AQuantity: TC3MatrixQuantity): TC3Matrix;
Public function ToMatrix(const AQuantity: TC3MatrixQuantity; const APrefixes: TPrefixes): TC3Matrix;
Public function ToMatrix(const AQuantity: TC4MatrixQuantity): TC4Matrix;
Public function ToMatrix(const AQuantity: TC4MatrixQuantity; const APrefixes: TPrefixes): TC4Matrix;
Public function ToMatrix(const AQuantity: TR2MatrixQuantity): TR2Matrix;
Public function ToMatrix(const AQuantity: TR2MatrixQuantity; const APrefixes: TPrefixes): TR2Matrix;
Public function ToMatrix(const AQuantity: TR3MatrixQuantity): TR3Matrix;
Public function ToMatrix(const AQuantity: TR3MatrixQuantity; const APrefixes: TPrefixes): TR3Matrix;
Public function ToMatrix(const AQuantity: TR4MatrixQuantity): TR4Matrix;
Public function ToMatrix(const AQuantity: TR4MatrixQuantity; const APrefixes: TPrefixes): TR4Matrix;
Public function ToString(const AQuantity: TC2MatrixQuantity): string;
Public function ToString(const AQuantity: TC2MatrixQuantity; const APrefixes: TPrefixes): string;
Public function ToString(const AQuantity: TC2VecQuantity): string;
Public function ToString(const AQuantity: TC2VecQuantity; const APrefixes: TPrefixes): string;
Public function ToString(const AQuantity: TC3MatrixQuantity): string;
Public function ToString(const AQuantity: TC3MatrixQuantity; const APrefixes: TPrefixes): string;
Public function ToString(const AQuantity: TC3VecQuantity): string;
Public function ToString(const AQuantity: TC3VecQuantity; const APrefixes: TPrefixes): string;
Public function ToString(const AQuantity: TC4MatrixQuantity): string;
Public function ToString(const AQuantity: TC4MatrixQuantity; const APrefixes: TPrefixes): string;
Public function ToString(const AQuantity: TC4VecQuantity): string;
Public function ToString(const AQuantity: TC4VecQuantity; const APrefixes: TPrefixes): string;
Public function ToString(const AQuantity: TCL3BivecQuantity): string;
Public function ToString(const AQuantity: TCL3BivecQuantity; const APrefixes: TPrefixes): string;
Public function ToString(const AQuantity: TCL3MultivecQuantity): string;
Public function ToString(const AQuantity: TCL3MultivecQuantity; const APrefixes: TPrefixes): string;
Public function ToString(const AQuantity: TCL3TrivecQuantity): string;
Public function ToString(const AQuantity: TCL3TrivecQuantity; const APrefixes: TPrefixes): string;
Public function ToString(const AQuantity: TCL3VecQuantity): string;
Public function ToString(const AQuantity: TCL3VecQuantity; const APrefixes: TPrefixes): string;
Public function ToString(const AQuantity: TComplexQuantity): string;
Public function ToString(const AQuantity: TComplexQuantity; APrecision, ADigits: longint; const APrefixes: TPrefixes): string;
Public function ToString(const AQuantity: TComplexQuantity; const APrefixes: TPrefixes): string;
Public function ToString(const AQuantity: TQuantity): string;
Public function ToString(const AQuantity: TQuantity; APrecision, ADigits: longint; const APrefixes: TPrefixes): string;
Public function ToString(const AQuantity: TQuantity; const APrefixes: TPrefixes): string;
Public function ToString(const AQuantity, ATolerance: TQuantity; APrecision, ADigits: longint; const APrefixes: TPrefixes): string;
Public function ToString(const AQuantity: TR2MatrixQuantity): string;
Public function ToString(const AQuantity: TR2MatrixQuantity; const APrefixes: TPrefixes): string;
Public function ToString(const AQuantity: TR2VecQuantity): string;
Public function ToString(const AQuantity: TR2VecQuantity; const APrefixes: TPrefixes): string;
Public function ToString(const AQuantity: TR3MatrixQuantity): string;
Public function ToString(const AQuantity: TR3MatrixQuantity; const APrefixes: TPrefixes): string;
Public function ToString(const AQuantity: TR3VecQuantity): string;
Public function ToString(const AQuantity: TR3VecQuantity; const APrefixes: TPrefixes): string;
Public function ToString(const AQuantity: TR4MatrixQuantity): string;
Public function ToString(const AQuantity: TR4MatrixQuantity; const APrefixes: TPrefixes): string;
Public function ToString(const AQuantity: TR4VecQuantity): string;
Public function ToString(const AQuantity: TR4VecQuantity; const APrefixes: TPrefixes): string;
Public function ToVector(const AQuantity: TC2VecQuantity): TC2Vector;
Public function ToVector(const AQuantity: TC2VecQuantity; const APrefixes: TPrefixes): TC2Vector;
Public function ToVector(const AQuantity: TC3VecQuantity): TC3Vector;
Public function ToVector(const AQuantity: TC3VecQuantity; const APrefixes: TPrefixes): TC3Vector;
Public function ToVector(const AQuantity: TC4VecQuantity): TC4Vector;
Public function ToVector(const AQuantity: TC4VecQuantity; const APrefixes: TPrefixes): TC4Vector;
Public function ToVector(const AQuantity: TR2VecQuantity): TR2Vector;
Public function ToVector(const AQuantity: TR2VecQuantity; const APrefixes: TPrefixes): TR2Vector;
Public function ToVector(const AQuantity: TR3VecQuantity): TR3Vector;
Public function ToVector(const AQuantity: TR3VecQuantity; const APrefixes: TPrefixes): TR3Vector;
Public function ToVector(const AQuantity: TR4VecQuantity): TR4Vector;
Public function ToVector(const AQuantity: TR4VecQuantity; const APrefixes: TPrefixes): TR4Vector;
Public function ToVerboseString(const AQuantity: TC2MatrixQuantity): string;
Public function ToVerboseString(const AQuantity: TC2MatrixQuantity; const APrefixes: TPrefixes): string;
Public function ToVerboseString(const AQuantity: TC2VecQuantity): string;
Public function ToVerboseString(const AQuantity: TC2VecQuantity; const APrefixes: TPrefixes): string;
Public function ToVerboseString(const AQuantity: TC3MatrixQuantity): string;
Public function ToVerboseString(const AQuantity: TC3MatrixQuantity; const APrefixes: TPrefixes): string;
Public function ToVerboseString(const AQuantity: TC3VecQuantity): string;
Public function ToVerboseString(const AQuantity: TC3VecQuantity; const APrefixes: TPrefixes): string;
Public function ToVerboseString(const AQuantity: TC4MatrixQuantity): string;
Public function ToVerboseString(const AQuantity: TC4MatrixQuantity; const APrefixes: TPrefixes): string;
Public function ToVerboseString(const AQuantity: TC4VecQuantity): string;
Public function ToVerboseString(const AQuantity: TC4VecQuantity; const APrefixes: TPrefixes): string;
Public function ToVerboseString(const AQuantity: TCL3BivecQuantity): string;
Public function ToVerboseString(const AQuantity: TCL3BivecQuantity; const APrefixes: TPrefixes): string;
Public function ToVerboseString(const AQuantity: TCL3MultivecQuantity): string;
Public function ToVerboseString(const AQuantity: TCL3MultivecQuantity; const APrefixes: TPrefixes): string;
Public function ToVerboseString(const AQuantity: TCL3TrivecQuantity): string;
Public function ToVerboseString(const AQuantity: TCL3TrivecQuantity; const APrefixes: TPrefixes): string;
Public function ToVerboseString(const AQuantity: TCL3VecQuantity): string;
Public function ToVerboseString(const AQuantity: TCL3VecQuantity; const APrefixes: TPrefixes): string;
Public function ToVerboseString(const AQuantity: TComplexQuantity): string;
Public function ToVerboseString(const AQuantity: TComplexQuantity; APrecision, ADigits: longint; const APrefixes: TPrefixes): string;
Public function ToVerboseString(const AQuantity: TComplexQuantity; const APrefixes: TPrefixes): string;
Public function ToVerboseString(const AQuantity: TQuantity): string;
Public function ToVerboseString(const AQuantity: TQuantity; APrecision, ADigits: longint; const APrefixes: TPrefixes): string;
Public function ToVerboseString(const AQuantity: TQuantity; const APrefixes: TPrefixes): string;
Public function ToVerboseString(const AQuantity, ATolerance: TQuantity; APrecision, ADigits: longint; const APrefixes: TPrefixes): string;
Public function ToVerboseString(const AQuantity: TR2MatrixQuantity): string;
Public function ToVerboseString(const AQuantity: TR2MatrixQuantity; const APrefixes: TPrefixes): string;
Public function ToVerboseString(const AQuantity: TR2VecQuantity): string;
Public function ToVerboseString(const AQuantity: TR2VecQuantity; const APrefixes: TPrefixes): string;
Public function ToVerboseString(const AQuantity: TR3MatrixQuantity): string;
Public function ToVerboseString(const AQuantity: TR3MatrixQuantity; const APrefixes: TPrefixes): string;
Public function ToVerboseString(const AQuantity: TR3VecQuantity): string;
Public function ToVerboseString(const AQuantity: TR3VecQuantity; const APrefixes: TPrefixes): string;
Public function ToVerboseString(const AQuantity: TR4MatrixQuantity): string;
Public function ToVerboseString(const AQuantity: TR4MatrixQuantity; const APrefixes: TPrefixes): string;
Public function ToVerboseString(const AQuantity: TR4VecQuantity): string;
Public function ToVerboseString(const AQuantity: TR4VecQuantity; const APrefixes: TPrefixes): string;

Description

Methods

Public function GetName(Prefixes: TPrefixes): string;

Returns the singular name of the unit with the given prefix applied. Example: GetName([pKilo]) on the metre unit returns 'kilometre'.

Parameters
Prefixes
The list of SI prefixes to prepend to the unit name.
Public function GetPluralName(Prefixes: TPrefixes): string;

Returns the plural name of the unit with the given prefix applied. Example: GetPluralName([pKilo]) on the metre unit returns 'kilometres'.

Parameters
Prefixes
The list of SI prefixes to prepend to the unit plural name.
Public function GetSymbol(Prefixes: TPrefixes): string;

Returns the symbol of the unit with the given prefix applied. Example: GetSymbol([pKilo]) on the metre unit returns 'km'.

Parameters
Prefixes
The list of SI prefixes to prepend to the unit symbol.
Public function GetValue(const AQuantity: double; const APrefixes: TPrefixes): double;

Returns the real scalar value scaled for the given prefix.

Parameters
AQuantity
The dimensionless real value to scale.
APrefixes
The SI prefixes defining the scaling factor.
Public function GetValue(const AQuantity: TC2Matrix; const APrefixes: TPrefixes): TC2Matrix;

Returns the 2×2 complex matrix scaled for the given prefix.

Parameters
AQuantity
The dimensionless complex matrix to scale.
APrefixes
The SI prefixes defining the scaling factor.
Public function GetValue(const AQuantity: TC2Vector; const APrefixes: TPrefixes): TC2Vector;

Returns the 2-component complex vector scaled for the given prefix.

Parameters
AQuantity
The dimensionless complex vector to scale.
APrefixes
The SI prefixes defining the scaling factor.
Public function GetValue(const AQuantity: TC3Matrix; const APrefixes: TPrefixes): TC3Matrix;

Returns the 3×3 complex matrix scaled for the given prefix.

Parameters
AQuantity
The dimensionless complex matrix to scale.
APrefixes
The SI prefixes defining the scaling factor.
Public function GetValue(const AQuantity: TC3Vector; const APrefixes: TPrefixes): TC3Vector;

Returns the 3-component complex vector scaled for the given prefix.

Parameters
AQuantity
The dimensionless complex vector to scale.
APrefixes
The SI prefixes defining the scaling factor.
Public function GetValue(const AQuantity: TC4Matrix; const APrefixes: TPrefixes): TC4Matrix;

Returns the 4×4 complex matrix scaled for the given prefix.

Parameters
AQuantity
The dimensionless complex matrix to scale.
APrefixes
The SI prefixes defining the scaling factor.
Public function GetValue(const AQuantity: TC4Vector; const APrefixes: TPrefixes): TC4Vector;

Returns the 4-component complex vector scaled for the given prefix.

Parameters
AQuantity
The dimensionless complex vector to scale.
APrefixes
The SI prefixes defining the scaling factor.
Public function GetValue(const AQuantity: TCL3Bivector; const APrefixes: TPrefixes): TCL3Bivector;

Returns the Cl(3,0) bivector scaled for the given prefix.

Parameters
AQuantity
The dimensionless TCL3Bivector to scale.
APrefixes
The SI prefixes defining the scaling factor.
Public function GetValue(const AQuantity: TCL3Multivector; const APrefixes: TPrefixes): TCL3Multivector;

Returns the Cl(3,0) multivector scaled for the given prefix.

Parameters
AQuantity
The dimensionless TCL3Multivector to scale.
APrefixes
The SI prefixes defining the scaling factor.
Public function GetValue(const AQuantity: TCL3Trivector; const APrefixes: TPrefixes): TCL3Trivector;

Returns the Cl(3,0) trivector scaled for the given prefix.

Parameters
AQuantity
The dimensionless TCL3Trivector to scale.
APrefixes
The SI prefixes defining the scaling factor.
Public function GetValue(const AQuantity: TCL3Vector; const APrefixes: TPrefixes): TCL3Vector;

Returns the Cl(3,0) vector scaled for the given prefix.

Parameters
AQuantity
The dimensionless TCL3Vector to scale.
APrefixes
The SI prefixes defining the scaling factor.
Public function GetValue(const AQuantity: TComplex; const APrefixes: TPrefixes): TComplex;

Returns the complex value scaled for the given prefix.

Parameters
AQuantity
The dimensionless complex value to scale.
APrefixes
The SI prefixes defining the scaling factor.
Public function GetValue(const AQuantity: TR2Matrix; const APrefixes: TPrefixes): TR2Matrix;

Returns the 2×2 real matrix scaled for the given prefix.

Parameters
AQuantity
The dimensionless matrix to scale.
APrefixes
The SI prefixes defining the scaling factor.
Public function GetValue(const AQuantity: TR2Vector; const APrefixes: TPrefixes): TR2Vector;

Returns the 2-component real vector scaled for the given prefix.

Parameters
AQuantity
The dimensionless vector to scale.
APrefixes
The SI prefixes defining the scaling factor.
Public function GetValue(const AQuantity: TR3Matrix; const APrefixes: TPrefixes): TR3Matrix;

Returns the 3×3 real matrix scaled for the given prefix.

Parameters
AQuantity
The dimensionless matrix to scale.
APrefixes
The SI prefixes defining the scaling factor.
Public function GetValue(const AQuantity: TR3Vector; const APrefixes: TPrefixes): TR3Vector;

Returns the 3-component real vector scaled for the given prefix.

Parameters
AQuantity
The dimensionless vector to scale.
APrefixes
The SI prefixes defining the scaling factor.
Public function GetValue(const AQuantity: TR4Matrix; const APrefixes: TPrefixes): TR4Matrix;

Returns the 4×4 real matrix scaled for the given prefix.

Parameters
AQuantity
The dimensionless matrix to scale.
APrefixes
The SI prefixes defining the scaling factor.
Public function GetValue(const AQuantity: TR4Vector; const APrefixes: TPrefixes): TR4Vector;

Returns the 4-component real vector scaled for the given prefix.

Parameters
AQuantity
The dimensionless vector to scale.
APrefixes
The SI prefixes defining the scaling factor.
Public function ToComplex(const AQuantity: TComplexQuantity): TComplex;

Returns the dimensionless TComplex value of the complex quantity expressed in this unit.

Parameters
AQuantity
The complex quantity to extract the value from.
Public function ToComplex(const AQuantity: TComplexQuantity; const APrefixes: TPrefixes): TComplex;

Returns the dimensionless TComplex value of the complex quantity with the given prefix applied.

Parameters
AQuantity
The complex quantity to extract the value from.
APrefixes
The SI prefixes defining the output scaling.
Public function ToFloat(const AQuantity: TQuantity): double;

Returns the numerical value of the real quantity expressed in this unit. The value is converted from the internal SI representation.

Parameters
AQuantity
The real quantity to extract the value from.
Public function ToFloat(const AQuantity: TQuantity; const APrefixes: TPrefixes): double;

Returns the numerical value of the real quantity expressed in this unit with the given prefix applied.

Parameters
AQuantity
The real quantity to extract the value from.
APrefixes
The SI prefixes defining the output scaling.
Public function ToMatrix(const AQuantity: TC2MatrixQuantity): TC2Matrix;

Returns the dimensionless TC2Matrix of the 2×2 complex matrix quantity expressed in this unit.

Public function ToMatrix(const AQuantity: TC2MatrixQuantity; const APrefixes: TPrefixes): TC2Matrix;

Returns the dimensionless TC2Matrix with the given prefix applied.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToMatrix(const AQuantity: TC3MatrixQuantity): TC3Matrix;

Returns the dimensionless TC3Matrix of the 3×3 complex matrix quantity expressed in this unit.

Public function ToMatrix(const AQuantity: TC3MatrixQuantity; const APrefixes: TPrefixes): TC3Matrix;

Returns the dimensionless TC3Matrix with the given prefix applied.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToMatrix(const AQuantity: TC4MatrixQuantity): TC4Matrix;

Returns the dimensionless TC4Matrix of the 4×4 complex matrix quantity expressed in this unit.

Public function ToMatrix(const AQuantity: TC4MatrixQuantity; const APrefixes: TPrefixes): TC4Matrix;

Returns the dimensionless TC4Matrix with the given prefix applied.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToMatrix(const AQuantity: TR2MatrixQuantity): TR2Matrix;

Returns the dimensionless TR2Matrix of the 2×2 real matrix quantity expressed in this unit.

Public function ToMatrix(const AQuantity: TR2MatrixQuantity; const APrefixes: TPrefixes): TR2Matrix;

Returns the dimensionless TR2Matrix with the given prefix applied.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToMatrix(const AQuantity: TR3MatrixQuantity): TR3Matrix;

Returns the dimensionless TR3Matrix of the 3×3 real matrix quantity expressed in this unit.

Public function ToMatrix(const AQuantity: TR3MatrixQuantity; const APrefixes: TPrefixes): TR3Matrix;

Returns the dimensionless TR3Matrix with the given prefix applied.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToMatrix(const AQuantity: TR4MatrixQuantity): TR4Matrix;

Returns the dimensionless TR4Matrix of the 4×4 real matrix quantity expressed in this unit.

Public function ToMatrix(const AQuantity: TR4MatrixQuantity; const APrefixes: TPrefixes): TR4Matrix;

Returns the dimensionless TR4Matrix with the given prefix applied.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToString(const AQuantity: TC2MatrixQuantity): string;

Returns a compact string representation of the 2×2 complex matrix quantity in this unit.

Public function ToString(const AQuantity: TC2MatrixQuantity; const APrefixes: TPrefixes): string;

Returns a compact string representation of the 2×2 complex matrix quantity with the given prefix.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToString(const AQuantity: TC2VecQuantity): string;

Returns a compact string representation of the 2-component complex vector quantity in this unit.

Public function ToString(const AQuantity: TC2VecQuantity; const APrefixes: TPrefixes): string;

Returns a compact string representation of the 2-component complex vector quantity with the given prefix.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToString(const AQuantity: TC3MatrixQuantity): string;

Returns a compact string representation of the 3×3 complex matrix quantity in this unit.

Public function ToString(const AQuantity: TC3MatrixQuantity; const APrefixes: TPrefixes): string;

Returns a compact string representation of the 3×3 complex matrix quantity with the given prefix.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToString(const AQuantity: TC3VecQuantity): string;

Returns a compact string representation of the 3-component complex vector quantity in this unit.

Public function ToString(const AQuantity: TC3VecQuantity; const APrefixes: TPrefixes): string;

Returns a compact string representation of the 3-component complex vector quantity with the given prefix.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToString(const AQuantity: TC4MatrixQuantity): string;

Returns a compact string representation of the 4×4 complex matrix quantity in this unit.

Public function ToString(const AQuantity: TC4MatrixQuantity; const APrefixes: TPrefixes): string;

Returns a compact string representation of the 4×4 complex matrix quantity with the given prefix.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToString(const AQuantity: TC4VecQuantity): string;

Returns a compact string representation of the 4-component complex vector quantity in this unit.

Public function ToString(const AQuantity: TC4VecQuantity; const APrefixes: TPrefixes): string;

Returns a compact string representation of the 4-component complex vector quantity with the given prefix.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToString(const AQuantity: TCL3BivecQuantity): string;

Returns a compact string representation of the Cl(3,0) bivector quantity in this unit.

Public function ToString(const AQuantity: TCL3BivecQuantity; const APrefixes: TPrefixes): string;

Returns a compact string representation of the Cl(3,0) bivector quantity with the given prefix.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToString(const AQuantity: TCL3MultivecQuantity): string;

Returns a compact string representation of the Cl(3,0) multivector quantity in this unit.

Public function ToString(const AQuantity: TCL3MultivecQuantity; const APrefixes: TPrefixes): string;

Returns a compact string representation of the Cl(3,0) multivector quantity with the given prefix.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToString(const AQuantity: TCL3TrivecQuantity): string;

Returns a compact string representation of the Cl(3,0) trivector quantity in this unit.

Public function ToString(const AQuantity: TCL3TrivecQuantity; const APrefixes: TPrefixes): string;

Returns a compact string representation of the Cl(3,0) trivector quantity with the given prefix.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToString(const AQuantity: TCL3VecQuantity): string;

Returns a compact string representation of the Cl(3,0) vector quantity in this unit.

Public function ToString(const AQuantity: TCL3VecQuantity; const APrefixes: TPrefixes): string;

Returns a compact string representation of the Cl(3,0) vector quantity with the given prefix.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToString(const AQuantity: TComplexQuantity): string;

Returns a compact string representation of the complex quantity in this unit. Format: '<Re> ± <Im>i <symbol>'.

Parameters
AQuantity
The complex quantity to format.
Public function ToString(const AQuantity: TComplexQuantity; APrecision, ADigits: longint; const APrefixes: TPrefixes): string;

Returns a compact string representation of the complex quantity with controlled precision.

Parameters
AQuantity
The complex quantity to format.
APrecision
Number of significant digits.
ADigits
Minimum number of digits in the output.
APrefixes
The SI prefixes defining the output scaling.
Public function ToString(const AQuantity: TComplexQuantity; const APrefixes: TPrefixes): string;

Returns a compact string representation of the complex quantity with the given prefix.

Parameters
AQuantity
The complex quantity to format.
APrefixes
The SI prefixes defining the output scaling.
Public function ToString(const AQuantity: TQuantity): string;

Returns a compact string representation of the real quantity in this unit. Format: '<value> <symbol>', e.g. '9.81 m/s²'.

Parameters
AQuantity
The real quantity to format.
Public function ToString(const AQuantity: TQuantity; APrecision, ADigits: longint; const APrefixes: TPrefixes): string;

Returns a compact string representation of the real quantity with controlled precision.

Parameters
AQuantity
The real quantity to format.
APrecision
Number of significant digits.
ADigits
Minimum number of digits in the output.
APrefixes
The SI prefixes defining the output scaling.
Public function ToString(const AQuantity: TQuantity; const APrefixes: TPrefixes): string;

Returns a compact string representation of the real quantity in this unit with the given prefix applied.

Parameters
AQuantity
The real quantity to format.
APrefixes
The SI prefixes defining the output scaling.
Public function ToString(const AQuantity, ATolerance: TQuantity; APrecision, ADigits: longint; const APrefixes: TPrefixes): string;

Returns a compact string representation of the real quantity with a tolerance range. Format: '<value> ± <tolerance> <symbol>'.

Parameters
AQuantity
The central real quantity to format.
ATolerance
The tolerance quantity to display alongside the value.
APrecision
Number of significant digits.
ADigits
Minimum number of digits in the output.
APrefixes
The SI prefixes defining the output scaling.
Public function ToString(const AQuantity: TR2MatrixQuantity): string;

Returns a compact string representation of the 2×2 real matrix quantity in this unit.

Public function ToString(const AQuantity: TR2MatrixQuantity; const APrefixes: TPrefixes): string;

Returns a compact string representation of the 2×2 real matrix quantity with the given prefix.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToString(const AQuantity: TR2VecQuantity): string;

Returns a compact string representation of the 2-component real vector quantity in this unit.

Public function ToString(const AQuantity: TR2VecQuantity; const APrefixes: TPrefixes): string;

Returns a compact string representation of the 2-component real vector quantity with the given prefix.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToString(const AQuantity: TR3MatrixQuantity): string;

Returns a compact string representation of the 3×3 real matrix quantity in this unit.

Public function ToString(const AQuantity: TR3MatrixQuantity; const APrefixes: TPrefixes): string;

Returns a compact string representation of the 3×3 real matrix quantity with the given prefix.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToString(const AQuantity: TR3VecQuantity): string;

Returns a compact string representation of the 3-component real vector quantity in this unit.

Public function ToString(const AQuantity: TR3VecQuantity; const APrefixes: TPrefixes): string;

Returns a compact string representation of the 3-component real vector quantity with the given prefix.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToString(const AQuantity: TR4MatrixQuantity): string;

Returns a compact string representation of the 4×4 real matrix quantity in this unit.

Public function ToString(const AQuantity: TR4MatrixQuantity; const APrefixes: TPrefixes): string;

Returns a compact string representation of the 4×4 real matrix quantity with the given prefix.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToString(const AQuantity: TR4VecQuantity): string;

Returns a compact string representation of the 4-component real vector quantity in this unit.

Public function ToString(const AQuantity: TR4VecQuantity; const APrefixes: TPrefixes): string;

Returns a compact string representation of the 4-component real vector quantity with the given prefix.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToVector(const AQuantity: TC2VecQuantity): TC2Vector;

Returns the dimensionless TC2Vector of the 2-component complex vector quantity expressed in this unit.

Public function ToVector(const AQuantity: TC2VecQuantity; const APrefixes: TPrefixes): TC2Vector;

Returns the dimensionless TC2Vector with the given prefix applied.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToVector(const AQuantity: TC3VecQuantity): TC3Vector;

Returns the dimensionless TC3Vector of the 3-component complex vector quantity expressed in this unit.

Public function ToVector(const AQuantity: TC3VecQuantity; const APrefixes: TPrefixes): TC3Vector;

Returns the dimensionless TC3Vector with the given prefix applied.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToVector(const AQuantity: TC4VecQuantity): TC4Vector;

Returns the dimensionless TC4Vector of the 4-component complex vector quantity expressed in this unit.

Public function ToVector(const AQuantity: TC4VecQuantity; const APrefixes: TPrefixes): TC4Vector;

Returns the dimensionless TC4Vector with the given prefix applied.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToVector(const AQuantity: TR2VecQuantity): TR2Vector;

Returns the dimensionless TR2Vector of the 2-component real vector quantity expressed in this unit.

Public function ToVector(const AQuantity: TR2VecQuantity; const APrefixes: TPrefixes): TR2Vector;

Returns the dimensionless TR2Vector with the given prefix applied.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToVector(const AQuantity: TR3VecQuantity): TR3Vector;

Returns the dimensionless TR3Vector of the 3-component real vector quantity expressed in this unit.

Public function ToVector(const AQuantity: TR3VecQuantity; const APrefixes: TPrefixes): TR3Vector;

Returns the dimensionless TR3Vector with the given prefix applied.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToVector(const AQuantity: TR4VecQuantity): TR4Vector;

Returns the dimensionless TR4Vector of the 4-component real vector quantity expressed in this unit.

Public function ToVector(const AQuantity: TR4VecQuantity; const APrefixes: TPrefixes): TR4Vector;

Returns the dimensionless TR4Vector with the given prefix applied.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToVerboseString(const AQuantity: TC2MatrixQuantity): string;

Returns a verbose string representation of the 2×2 complex matrix quantity in this unit.

Public function ToVerboseString(const AQuantity: TC2MatrixQuantity; const APrefixes: TPrefixes): string;

Returns a verbose string representation of the 2×2 complex matrix quantity with the given prefix.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToVerboseString(const AQuantity: TC2VecQuantity): string;

Returns a verbose string representation of the 2-component complex vector quantity in this unit.

Public function ToVerboseString(const AQuantity: TC2VecQuantity; const APrefixes: TPrefixes): string;

Returns a verbose string representation of the 2-component complex vector quantity with the given prefix.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToVerboseString(const AQuantity: TC3MatrixQuantity): string;

Returns a verbose string representation of the 3×3 complex matrix quantity in this unit.

Public function ToVerboseString(const AQuantity: TC3MatrixQuantity; const APrefixes: TPrefixes): string;

Returns a verbose string representation of the 3×3 complex matrix quantity with the given prefix.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToVerboseString(const AQuantity: TC3VecQuantity): string;

Returns a verbose string representation of the 3-component complex vector quantity in this unit.

Public function ToVerboseString(const AQuantity: TC3VecQuantity; const APrefixes: TPrefixes): string;

Returns a verbose string representation of the 3-component complex vector quantity with the given prefix.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToVerboseString(const AQuantity: TC4MatrixQuantity): string;

Returns a verbose string representation of the 4×4 complex matrix quantity in this unit.

Public function ToVerboseString(const AQuantity: TC4MatrixQuantity; const APrefixes: TPrefixes): string;

Returns a verbose string representation of the 4×4 complex matrix quantity with the given prefix.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToVerboseString(const AQuantity: TC4VecQuantity): string;

Returns a verbose string representation of the 4-component complex vector quantity in this unit.

Public function ToVerboseString(const AQuantity: TC4VecQuantity; const APrefixes: TPrefixes): string;

Returns a verbose string representation of the 4-component complex vector quantity with the given prefix.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToVerboseString(const AQuantity: TCL3BivecQuantity): string;

Returns a verbose string representation of the Cl(3,0) bivector quantity in this unit.

Public function ToVerboseString(const AQuantity: TCL3BivecQuantity; const APrefixes: TPrefixes): string;

Returns a verbose string representation of the Cl(3,0) bivector quantity with the given prefix.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToVerboseString(const AQuantity: TCL3MultivecQuantity): string;

Returns a verbose string representation of the Cl(3,0) multivector quantity in this unit.

Public function ToVerboseString(const AQuantity: TCL3MultivecQuantity; const APrefixes: TPrefixes): string;

Returns a verbose string representation of the Cl(3,0) multivector quantity with the given prefix.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToVerboseString(const AQuantity: TCL3TrivecQuantity): string;

Returns a verbose string representation of the Cl(3,0) trivector quantity in this unit.

Public function ToVerboseString(const AQuantity: TCL3TrivecQuantity; const APrefixes: TPrefixes): string;

Returns a verbose string representation of the Cl(3,0) trivector quantity with the given prefix.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToVerboseString(const AQuantity: TCL3VecQuantity): string;

Returns a verbose string representation of the Cl(3,0) vector quantity in this unit.

Public function ToVerboseString(const AQuantity: TCL3VecQuantity; const APrefixes: TPrefixes): string;

Returns a verbose string representation of the Cl(3,0) vector quantity with the given prefix.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToVerboseString(const AQuantity: TComplexQuantity): string;

Returns a verbose string representation of the complex quantity in this unit.

Parameters
AQuantity
The complex quantity to format.
Public function ToVerboseString(const AQuantity: TComplexQuantity; APrecision, ADigits: longint; const APrefixes: TPrefixes): string;

Returns a verbose string representation of the complex quantity with controlled precision.

Parameters
AQuantity
The complex quantity to format.
APrecision
Number of significant digits.
ADigits
Minimum number of digits in the output.
APrefixes
The SI prefixes defining the output scaling.
Public function ToVerboseString(const AQuantity: TComplexQuantity; const APrefixes: TPrefixes): string;

Returns a verbose string representation of the complex quantity with the given prefix.

Parameters
AQuantity
The complex quantity to format.
APrefixes
The SI prefixes defining the output scaling.
Public function ToVerboseString(const AQuantity: TQuantity): string;

Returns a verbose string representation of the real quantity in this unit. Format: '<value> <plural name>', e.g. '9.81 metres per square second'.

Parameters
AQuantity
The real quantity to format.
Public function ToVerboseString(const AQuantity: TQuantity; APrecision, ADigits: longint; const APrefixes: TPrefixes): string;

Returns a verbose string representation of the real quantity with controlled precision.

Parameters
AQuantity
The real quantity to format.
APrecision
Number of significant digits.
ADigits
Minimum number of digits in the output.
APrefixes
The SI prefixes defining the output scaling.
Public function ToVerboseString(const AQuantity: TQuantity; const APrefixes: TPrefixes): string;

Returns a verbose string representation of the real quantity with the given prefix.

Parameters
AQuantity
The real quantity to format.
APrefixes
The SI prefixes defining the output scaling.
Public function ToVerboseString(const AQuantity, ATolerance: TQuantity; APrecision, ADigits: longint; const APrefixes: TPrefixes): string;

Returns a verbose string representation of the real quantity with a tolerance range. Format: '<value> ± <tolerance> <plural name>'.

Parameters
AQuantity
The central real quantity to format.
ATolerance
The tolerance quantity to display alongside the value.
APrecision
Number of significant digits.
ADigits
Minimum number of digits in the output.
APrefixes
The SI prefixes defining the output scaling.
Public function ToVerboseString(const AQuantity: TR2MatrixQuantity): string;

Returns a verbose string representation of the 2×2 real matrix quantity in this unit.

Public function ToVerboseString(const AQuantity: TR2MatrixQuantity; const APrefixes: TPrefixes): string;

Returns a verbose string representation of the 2×2 real matrix quantity with the given prefix.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToVerboseString(const AQuantity: TR2VecQuantity): string;

Returns a verbose string representation of the 2-component real vector quantity in this unit.

Public function ToVerboseString(const AQuantity: TR2VecQuantity; const APrefixes: TPrefixes): string;

Returns a verbose string representation of the 2-component real vector quantity with the given prefix.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToVerboseString(const AQuantity: TR3MatrixQuantity): string;

Returns a verbose string representation of the 3×3 real matrix quantity in this unit.

Public function ToVerboseString(const AQuantity: TR3MatrixQuantity; const APrefixes: TPrefixes): string;

Returns a verbose string representation of the 3×3 real matrix quantity with the given prefix.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToVerboseString(const AQuantity: TR3VecQuantity): string;

Returns a verbose string representation of the 3-component real vector quantity in this unit.

Public function ToVerboseString(const AQuantity: TR3VecQuantity; const APrefixes: TPrefixes): string;

Returns a verbose string representation of the 3-component real vector quantity with the given prefix.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToVerboseString(const AQuantity: TR4MatrixQuantity): string;

Returns a verbose string representation of the 4×4 real matrix quantity in this unit.

Public function ToVerboseString(const AQuantity: TR4MatrixQuantity; const APrefixes: TPrefixes): string;

Returns a verbose string representation of the 4×4 real matrix quantity with the given prefix.

Parameters
APrefixes
The SI prefixes defining the output scaling.
Public function ToVerboseString(const AQuantity: TR4VecQuantity): string;

Returns a verbose string representation of the 4-component real vector quantity in this unit.

Public function ToVerboseString(const AQuantity: TR4VecQuantity; const APrefixes: TPrefixes): string;

Returns a verbose string representation of the 4-component real vector quantity with the given prefix.

Parameters
APrefixes
The SI prefixes defining the output scaling.

Generated by PasDoc 1.0.4.