TSparseMtx.Transp Method

Overload List

#SignatureDescription
1void TranspTranspose sparse matrix in-place.
2void Transp(TSparseMtx Src)Transpose Src sparse matrix.
3void 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.

#NameTypeDescription
1SrcTSparseMtx

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)

#NameTypeDescription
1SrcTSparseMtx
2PInt32[]
3QInt32[]

Result: stored in self (calling object)