comparison 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
comparison
equal deleted inserted replaced
7788:45f5faba05a2 7789:82be108cc558
49 49
50 Matrix (const dim_vector& dv, double val) : MArray2<double> (dv, val) { } 50 Matrix (const dim_vector& dv, double val) : MArray2<double> (dv, val) { }
51 51
52 Matrix (const Matrix& a) : MArray2<double> (a) { } 52 Matrix (const Matrix& a) : MArray2<double> (a) { }
53 53
54 Matrix (const MArray2<double>& a) : MArray2<double> (a) { } 54 template <class U>
55 Matrix (const MArray2<U>& a) : MArray2<double> (a) { }
56
57 template <class U>
58 Matrix (const Array2<U>& a) : MArray2<double> (a) { }
55 59
56 explicit Matrix (const RowVector& rv); 60 explicit Matrix (const RowVector& rv);
57 61
58 explicit Matrix (const ColumnVector& cv); 62 explicit Matrix (const ColumnVector& cv);
59 63