+1 Seems sensible to me too -----Original Message----- From: Ted Dunning [mailto:[email protected]] Sent: Friday, November 19, 2010 8:12 AM To: [email protected] Subject: Re: Matrix and Vector classes: Read-only semantics
What it really means is fail or return something sensible. I think your interpretation is pretty sensible. On Fri, Nov 19, 2010 at 1:28 AM, Lance Norskog <[email protected]> wrote: > Here's the problem: "empty" means writable. A read-only class cannot > do this. I think the semantics meant are: "return a writable Vector > with the same dense/sparse styleas this Vector": a dense read-only > vector class would create a DenseVector, for example. > > Yes? No? >
