Re: [Rd] setClass question

2003-08-26 Thread Roger Koenker
> Roger Koenker wrote: > > My understanding is that if I now try to construct a matrix.diag.csr > > object checking of it should be like the checking for a matrix.csr object On Tue, 26 Aug 2003, John Chambers wrote: > Well, hopefully. But there seems a slight problem in the validity > method. >

Re: [Rd] setClass question

2003-08-26 Thread John Chambers
Roger Koenker wrote: > > I would like to add a class to the SparseM package. I have a class "matrix.csr" > that describes a matrix in compressed sparse row format, now I would like a class > matrix.diag.csr that describes such objects when they happen to be diagonal. > The idea is that matrix.dia

[Rd] setClass question

2003-08-24 Thread Roger Koenker
I would like to add a class to the SparseM package. I have a class "matrix.csr" that describes a matrix in compressed sparse row format, now I would like a class matrix.diag.csr that describes such objects when they happen to be diagonal. The idea is that matrix.diag.csr objects should behave (lat