Overload List
| # | Signature | Description |
|---|---|---|
| 1 | void Transp | Transpose sparse matrix in-place. |
| 2 | void Transp(TSparseMtx Src) | Transpose Src sparse matrix. |
| 3 | void Transp(TSparseMtx Src, Int32[] P, Int32[] Q) |
Overload 1: void Transp
Transpose sparse matrix in-place.
Result: stored in self (calling object)
Examples
TMtx A;
MtxVec.CreateIt(out A);
A.Size(2,1,true); // 2x1 complex matrix
A.SetVal(Cplx(3,4));
A.Transp;
MtxVec.FreeIt(ref A);
Overload 2: void Transp(TSparseMtx Src)
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: void Transp(TSparseMtx Src, Int32[] P, Int32[] Q)
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TSparseMtx | |
| 2 | P | Int32[] | |
| 3 | Q | Int32[] |
Result: stored in self (calling object)