Mercurial > hg > octave-lyh
diff liboctave/dMatrix.h @ 7789:82be108cc558
First attempt at single precision tyeps
* * *
corrections to qrupdate single precision routines
* * *
prefer demotion to single over promotion to double
* * *
Add single precision support to log2 function
* * *
Trivial PROJECT file update
* * *
Cache optimized hermitian/transpose methods
* * *
Add tests for tranpose/hermitian and ChangeLog entry for new transpose code
author | David Bateman <dbateman@free.fr> |
---|---|
date | Sun, 27 Apr 2008 22:34:17 +0200 |
parents | 45f5faba05a2 |
children | 5861b95e9879 |
line wrap: on
line diff
--- a/liboctave/dMatrix.h +++ b/liboctave/dMatrix.h @@ -51,7 +51,11 @@ Matrix (const Matrix& a) : MArray2<double> (a) { } - Matrix (const MArray2<double>& a) : MArray2<double> (a) { } + template <class U> + Matrix (const MArray2<U>& a) : MArray2<double> (a) { } + + template <class U> + Matrix (const Array2<U>& a) : MArray2<double> (a) { } explicit Matrix (const RowVector& rv);