December 17, 2010 at 7:31 am #1976
No, that yields ‘incompatible types’, since DenseMatrix(int, int).ONE() is of type Matrix. Please correct me if I’m wrong.
I’m currently doing something like this, but it seems cumbersome:
<code>DenseMatrix I = new DenseMatrix(new DenseMatrix(2, 2).ONE());</code>