Record TC2VecQuantityHelper

Unit

Declaration

type TC2VecQuantityHelper = record helper for TC2VecQuantity

Description

Record helper for TC2VecQuantity providing additional operations specific to 2-component complex quantity vectors. Only available when ADIMOFF is not defined.

Overview

Methods

Public function Conjugate: TC2VecQuantity;
Public function Dot(const AVector: TC2VecQuantity): TComplexQuantity;

Description

Methods

Public function Conjugate: TC2VecQuantity;

Returns the element-wise complex conjugate of the vector. Each component vᵢ = (a + i·b) [dim] becomes (a - i·b) [dim]. The physical dimension of each component is preserved.

Public function Dot(const AVector: TC2VecQuantity): TComplexQuantity;

Returns the Hermitian inner product of two 2-component complex quantity vectors. Defined as 〈u, v〉 = Σ conj(uᵢ) · vᵢ. The conjugate of the left operand is used, consistent with the physics convention for Hermitian inner products. The resulting dimension is the product of the two operand dimensions.

Parameters
AVector
The right-hand operand.

Generated by PasDoc 1.0.4.