The current implementation that you have uses up space with a cache matrix. It shouldn't since otherwise, you can just initialize a matrix with random values in a single line and get faster performance.
On Sat, Nov 20, 2010 at 8:49 PM, Lance Norskog <[email protected]> wrote: > Ok. The use case is read-only random Vector & Matrix classes. They > return the same value for each position. They take no space. > Matrix.like() could make whatever you want: Dense, Sparse, whatever. > >
