Mercurial > octave
view .hgsubstate @ 22246:fa917f1f0faf
MatrixType: remove duplicate code for SparseMatrix and ComplexSparseMatrix.
* liboctave/array/MatrixType.cc: constructor for SparseMatrix and
ComplexSparseMatrix is exactly the same. With C++11, we have conj,
norm, real, and imag functions overloaded for double and float that
behave as we would want them to.
author | Carnë Draug <carandraug@octave.org> |
---|---|
date | Wed, 10 Aug 2016 00:56:51 +0100 |
parents | 3008798dc5ba |
children | dc4e2203cd15 |