Overload List
| # | Signature | Description |
|---|---|---|
| 1 | procedure Transp; | Transpose sparse matrix in-place. |
| 2 | procedure Transp(const Src: TSparseMtx); | Transpose Src sparse matrix. |
| 3 | procedure Transp(const Src: TSparseMtx; const P: TIntegerArray; const Q: TIntegerArray); |
Overload 1: procedure Transp;
Transpose sparse matrix in-place.
Result: stored in self (calling object)
Examples
var A: TMtx;
begin
CreateIt(A);
A.Size(2,1,True); // 2x1 complex matrix
A.SetVal(Cplx(3,4));
A.Transp;
FreeIt(A);
end;
Overload 2: procedure Transp(const Src: TSparseMtx);
Transpose Src sparse matrix.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TSparseMtx |
Result: stored in self (calling object)
Remarks:
Store the results in calling sparse matrix. Size and Complex properties of calling sparse matrix are adjusted automatically.
Overload 3: procedure Transp(const Src: TSparseMtx; const P: TIntegerArray; const Q: TIntegerArray);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TSparseMtx | |
| 2 | P | TIntegerArray | |
| 3 | Q | TIntegerArray |
Result: stored in self (calling object)