Mercurial > octave-nkf
comparison liboctave/CDiagMatrix.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 | 8b1a2555c4e2 |
comparison
equal
deleted
inserted
replaced
7788:45f5faba05a2 | 7789:82be108cc558 |
---|---|
85 ComplexDiagMatrix& fill (const ColumnVector& a, octave_idx_type beg); | 85 ComplexDiagMatrix& fill (const ColumnVector& a, octave_idx_type beg); |
86 ComplexDiagMatrix& fill (const ComplexColumnVector& a, octave_idx_type beg); | 86 ComplexDiagMatrix& fill (const ComplexColumnVector& a, octave_idx_type beg); |
87 ComplexDiagMatrix& fill (const RowVector& a, octave_idx_type beg); | 87 ComplexDiagMatrix& fill (const RowVector& a, octave_idx_type beg); |
88 ComplexDiagMatrix& fill (const ComplexRowVector& a, octave_idx_type beg); | 88 ComplexDiagMatrix& fill (const ComplexRowVector& a, octave_idx_type beg); |
89 | 89 |
90 ComplexDiagMatrix hermitian (void) const; // complex conjugate transpose | 90 ComplexDiagMatrix hermitian (void) const { return MDiagArray2<Complex>::hermitian (std::conj); } |
91 ComplexDiagMatrix transpose (void) const; | 91 ComplexDiagMatrix transpose (void) const { return MDiagArray2<Complex>::transpose(); } |
92 | 92 |
93 friend ComplexDiagMatrix conj (const ComplexDiagMatrix& a); | 93 friend ComplexDiagMatrix conj (const ComplexDiagMatrix& a); |
94 | 94 |
95 // resize is the destructive analog for this one | 95 // resize is the destructive analog for this one |
96 | 96 |