Class TcMatrix
Unit
Declaration
type TcMatrix = class(TObject)
Description
Hierarchy
- TObject
- TcMatrix
Overview
Fields
InvertError: Integer; |
Methods
constructor CreateMatrix(N: Integer); |
|
constructor CreateMatrixInplace(N: Integer; pValues: pComplex); |
|
destructor Destroy; OVERRIDE; |
|
procedure Invert; |
|
procedure Negate; |
|
function IsZero: Boolean; |
|
function IsColRowZero(n: Integer): Boolean; |
|
procedure Clear; inline; |
|
procedure AddFrom(OtherMatrix: TcMatrix); |
|
procedure CopyFrom(OtherMatrix: TcMatrix); |
|
procedure SetElement(i, j: Integer; Value: Complex); |
|
procedure SetElemsym(i, j: Integer; Value: Complex); |
|
procedure AddElement(i, j: Integer; Value: Complex); |
|
procedure AddElemsym(i, j: Integer; Value: Complex); |
|
function GetElement(i, j: Integer): Complex; |
|
function GetErrorCode: Integer; |
|
procedure MVmult(b, x: pComplexArray); inline; |
|
function GetValuesArrayPtr(var Order: Integer): pComplexArray; |
|
procedure ZeroRow(iRow: Integer); |
|
procedure ZeroCol(iCol: Integer); |
|
function AvgDiagonal: Complex; |
|
function AvgOffDiagonal: Complex; |
|
function MtrxMult(B: TcMatrix): TcMatrix; |
|
function Kron(EliminationRow: Integer): TcMatrix; |
Properties
property Order: Integer READ Norder; |
Description
Fields
InvertError: Integer; |
|
Methods
constructor CreateMatrix(N: Integer); |
|
constructor CreateMatrixInplace(N: Integer; pValues: pComplex); |
|
destructor Destroy; OVERRIDE; |
|
procedure Invert; |
|
procedure Negate; |
|
function IsZero: Boolean; |
|
function IsColRowZero(n: Integer): Boolean; |
|
procedure Clear; inline; |
|
procedure AddFrom(OtherMatrix: TcMatrix); |
|
Zero out matrix |
procedure CopyFrom(OtherMatrix: TcMatrix); |
|
procedure SetElement(i, j: Integer; Value: Complex); |
|
procedure SetElemsym(i, j: Integer; Value: Complex); |
|
procedure AddElement(i, j: Integer; Value: Complex); |
|
procedure AddElemsym(i, j: Integer; Value: Complex); |
|
function GetElement(i, j: Integer): Complex; |
|
function GetErrorCode: Integer; |
|
procedure MVmult(b, x: pComplexArray); inline; |
|
function GetValuesArrayPtr(var Order: Integer): pComplexArray; |
|
b = Ax |
procedure ZeroRow(iRow: Integer); |
|
procedure ZeroCol(iCol: Integer); |
|
function AvgDiagonal: Complex; |
|
function AvgOffDiagonal: Complex; |
|
Average of Diagonal Elements |
function MtrxMult(B: TcMatrix): TcMatrix; |
|
function Kron(EliminationRow: Integer): TcMatrix; |
|
Multiply two square matrices of same order. Result = A*B |
Properties
property Order: Integer READ Norder; |
|
Perform Kron reduction on last row/col and return new matrix |
Generated by PasDoc 0.16.0.