Dew MtxVec NET
TSparseMtx.Resize Method
Summary
Resizes the sparse matrix to a new number of non-zeros.

Class
TSparseMtx

Declaration
Function Resize(Len: integer; ZeroIt: boolean = False): TMtxVec;

Description
Resizes the sparse matrix to a new number of non-zeros. The existing values are preserved up to the new size. This includes the sparsity pattern arrays Ai and Ap. This resize does not change the number of Columns of the sparse matrix, but only the number of non-zeros that can be stored in the matrix.

Copyright 2008 Dew Research
http://www.dewresearch.com