Boost logo

Boost :

From: boost (boost_at_[hidden])
Date: 2001-12-07 08:13:44


Salut,

On Friday 07 December 2001 13:37, Toon Knapen wrote:
> Peter Schmitteckert (boost) wrote:
> > Allthough a submatrix adapter would be sufficient for me.
>
> Do you mean that you would first create a matrix of sufficient size,
> then take a submatrix and resizing the latter does not need reallocation
> as long as the size of the submatrix is not bigger as the size of the
> original matrix. That would indeed cover the `quest for a minimal number
> of reallocations`.

Yes, but I think a submatrix should not be allowed to resized larger than
the original matrix.

Peter


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk