Record TCVector
Unit
Declaration
type generic TCVector<TSpace> = record
Description
Generic column vector of complex values (TComplex) with TSpace.N components.
Extends TRVector to the complex domain. Supports implicit conversion from a real vector. Use the default array property a[row] to read and write individual components. Concrete types are provided as TC2Vector, TC3Vector, and TC4Vector.
Overview
Nested Types
| Public | TCMatrix = specialize TCMatrix<TSpace>; |
| Public | TRVector = specialize TRVector<TSpace>; |
Methods
| Public | function IsNotNull: boolean; |
| Public | function IsNull: boolean; |
| Public | function Norm: double; |
| Public | function Normalize: TCVector; |
| Public | function Reciprocal: TCVector; |
| Public | function SquaredNorm: double; |
| Public | class operator *(const ALeft: double; const ARight: TCVector): TCVector; |
| Public | class operator *(const ALeft: TCMatrix; const ARight: TCVector): TCVector; |
| Public | class operator *(const ALeft: TComplex; const ARight: TCVector): TCVector; |
| Public | class operator *(const ALeft: TCVector; const ARight: double): TCVector; |
| Public | class operator *(const ALeft: TCVector; const ARight: TCMatrix): TCVector; |
| Public | class operator *(const ALeft: TCVector; const ARight: TComplex): TCVector; |
| Public | class operator *(const ALeft, ARight: TCVector): TComplex; |
| Public | class operator +(const ASelf: TCVector): TCVector; |
| Public | class operator +(const ALeft, ARight: TCVector): TCVector; |
| Public | class operator -(const ASelf: TCVector): TCVector; |
| Public | class operator -(const ALeft, ARight: TCVector): TCVector; |
| Public | class operator /(const ALeft: double; const ARight: TCVector): TCVector; |
| Public | class operator /(const ALeft: TComplex; const ARight: TCVector): TCVector; |
| Public | class operator /(const ALeft: TCVector; const ARight: double): TCVector; |
| Public | class operator /(const ALeft: TCVector; const ARight: TComplex): TCVector; |
| Public | class operator :=(const ASelf: TRVector): TCVector; |
| Public | class operator <>(const ALeft, ARight: TCVector): boolean; |
| Public | class operator =(const ALeft, ARight: TCVector): boolean; |
Properties
| Public | property a[ARow: longint]: TComplex read Get write Put; default; |
Description
Nested Types
| Public | TCMatrix = specialize TCMatrix<TSpace>; |
|
This item has no description. | |
| Public | TRVector = specialize TRVector<TSpace>; |
|
This item has no description. | |
Methods
| Public | function IsNotNull: boolean; |
|
Returns | |
| Public | function IsNull: boolean; |
|
Returns | |
| Public | function Norm: double; |
|
Returns the Euclidean norm (magnitude) of the complex vector. | |
| Public | function Normalize: TCVector; |
|
Returns the unit vector in the same direction. Each component is divided by Norm. | |
| Public | function Reciprocal: TCVector; |
|
Returns the element-wise reciprocal of the vector. Each component | |
| Public | function SquaredNorm: double; |
|
Returns the squared Euclidean norm of the complex vector. | |
| Public | class operator *(const ALeft: double; const ARight: TCVector): TCVector; |
|
Returns the product of a real scalar and a complex vector. Each component is multiplied by | |
| Public | class operator *(const ALeft: TCMatrix; const ARight: TCVector): TCVector; |
|
Returns the product of a square complex matrix and a column complex vector: | |
| Public | class operator *(const ALeft: TComplex; const ARight: TCVector): TCVector; |
|
Returns the product of a complex scalar and a complex vector. Each component is multiplied by | |
| Public | class operator *(const ALeft: TCVector; const ARight: double): TCVector; |
|
Returns the product of a complex vector and a real scalar. Each component is multiplied by | |
| Public | class operator *(const ALeft: TCVector; const ARight: TCMatrix): TCVector; |
|
Returns the product of a row complex vector and a square complex matrix: | |
| Public | class operator *(const ALeft: TCVector; const ARight: TComplex): TCVector; |
|
Returns the product of a complex vector and a complex scalar. Each component is multiplied by | |
| Public | class operator *(const ALeft, ARight: TCVector): TComplex; |
|
Returns the dot product (inner product) of two complex vectors. | |
| Public | class operator +(const ASelf: TCVector): TCVector; |
|
Unary plus. Returns the vector unchanged. | |
| Public | class operator +(const ALeft, ARight: TCVector): TCVector; |
|
Returns the component-wise sum of two complex vectors. | |
| Public | class operator -(const ASelf: TCVector): TCVector; |
|
Unary minus. Returns the negation of the vector: each component | |
| Public | class operator -(const ALeft, ARight: TCVector): TCVector; |
|
Returns the component-wise difference of two complex vectors. | |
| Public | class operator /(const ALeft: double; const ARight: TCVector): TCVector; |
|
Returns the element-wise quotient of a real scalar divided by a complex vector: each component becomes | |
| Public | class operator /(const ALeft: TComplex; const ARight: TCVector): TCVector; |
|
Returns the element-wise quotient of a complex scalar divided by a complex vector: each component becomes | |
| Public | class operator /(const ALeft: TCVector; const ARight: double): TCVector; |
|
Returns the complex vector divided by a real scalar. Each component is divided by | |
| Public | class operator /(const ALeft: TCVector; const ARight: TComplex): TCVector; |
|
Returns the complex vector divided by a complex scalar. Each component is divided by | |
| Public | class operator :=(const ASelf: TRVector): TCVector; |
|
Implicit conversion from a real vector to a complex vector. Each component | |
| Public | class operator <>(const ALeft, ARight: TCVector): boolean; |
|
Returns | |
| Public | class operator =(const ALeft, ARight: TCVector): boolean; |
|
Returns | |
Properties
| Public | property a[ARow: longint]: TComplex read Get write Put; default; |
|
Provides access to individual complex vector components using a 1-based index. | |
Generated by PasDoc 1.0.4.