Just an alert that this is heading us towards having a DiagonalMatrix implementation.
It might be jsut as well to store the diagonal matrix as a sparse matrix and use our existing times method. As Jake points out, we need some specialization towards DRM by in-memory matrix. That would give more generality and just as much speed as a specialized diagonal implementation. On Sun, Sep 12, 2010 at 12:12 PM, Jeff Eastman <[email protected]>wrote: > +1 on adding DistributedMatrix.timesDiagonal(Matrix) and perhaps also > timesDiagonal(Vector)? Perhaps after the 20.2 retrofit? >
