TSparseMtx.Split Method

procedure Split(const LowerTriang: TSparseMtx; const Diag: TVec; const UpperTriang: TSparseMtx; DiagWithLower: Boolean);

Split sparse matrix into lower triangle, main diagonal and upper triangle.

#NameTypeDescription
1LowerTriangTSparseMtx
2DiagTVec
3UpperTriangTSparseMtx
4DiagWithLowerBoolean

Result: stored in self (calling object)

Remarks:

Splits the calling sparse matrix in to lower triangle, main diagonal and upper triangle. LowerTriang sparse matrix will then contain the lower triangle of the sparse matrix with or without the diagonal depending on the DiagWithLower parameter. UpperTriang sparse matrix will contain the upper diagonal of the calling sparse matrix.

See Also: TSparseMtx.AddSplit