Boost logo

Boost :

From: David Abrahams (abrahams_at_[hidden])
Date: 2001-03-29 13:39:33


----- Original Message -----
From: "Jeremy Siek" <jsiek_at_[hidden]>

> The reason I went with zero(x) instead of zero<X>() is that for a matrix
> the returned zero-matrix object needs to know how big it is, which it
> can get from another matrix x.

Hmm. So if you want a lower-triangular banded matrix of zeroes you have to
construct one and pass it to zero()?

> abraha> shouldn't identity be called "multiplicative_identity", also?
>
> Probably, but ouch, that's a bummer to write out, especially compared
> to the mathematical I (for identity matrix) or "eye" in matlab.

Too true!


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