comparison liboctave/CNDArray.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 36594d5bbe13
children 935be827eaf8
comparison
equal deleted inserted replaced
7788:45f5faba05a2 7789:82be108cc558
44 44
45 ComplexNDArray (const ComplexNDArray& a) : MArrayN<Complex> (a) { } 45 ComplexNDArray (const ComplexNDArray& a) : MArrayN<Complex> (a) { }
46 46
47 ComplexNDArray (const ComplexMatrix& a) : MArrayN<Complex> (a) { } 47 ComplexNDArray (const ComplexMatrix& a) : MArrayN<Complex> (a) { }
48 48
49 ComplexNDArray (const MArrayN<Complex>& a) : MArrayN<Complex> (a) { } 49 template <class U>
50 ComplexNDArray (const MArrayN<U>& a) : MArrayN<Complex> (a) { }
51
52 template <class U>
53 ComplexNDArray (const ArrayN<U>& a) : MArrayN<Complex> (a) { }
50 54
51 ComplexNDArray& operator = (const ComplexNDArray& a) 55 ComplexNDArray& operator = (const ComplexNDArray& a)
52 { 56 {
53 MArrayN<Complex>::operator = (a); 57 MArrayN<Complex>::operator = (a);
54 return *this; 58 return *this;