Boost logo

Glas :

[glas] clearing a vector

From: Karl Meerbergen (Karl.Meerbergen_at_[hidden])
Date: 2005-09-30 01:58:28


Hello,

I have written free function, clear_values(v) to set the values of the vector
to zero. A function clear(v) could also be provided to also clear the sparse
structure.

Attached are some timings.

Karl



clear.png