fix bug #294: add a diagonal() method to SparseMatrix (const)
3 files changed