Mercurial > hg > octave-lyh
annotate liboctave/oct-cmplx.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 | a1dbe9d80eee |
children | 9f7ce4bf7650 |
rev | line source |
---|---|
1648 | 1 /* |
2 | |
7017 | 3 Copyright (C) 1995, 1996, 1997, 2000, 2001, 2004, 2005, 2007 |
4 John W. Eaton | |
1648 | 5 |
6 This file is part of Octave. | |
7 | |
8 Octave is free software; you can redistribute it and/or modify it | |
9 under the terms of the GNU General Public License as published by the | |
7016 | 10 Free Software Foundation; either version 3 of the License, or (at your |
11 option) any later version. | |
1648 | 12 |
13 Octave is distributed in the hope that it will be useful, but WITHOUT | |
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
16 for more details. | |
17 | |
18 You should have received a copy of the GNU General Public License | |
7016 | 19 along with Octave; see the file COPYING. If not, see |
20 <http://www.gnu.org/licenses/>. | |
1648 | 21 |
22 */ | |
23 | |
24 #if !defined (octave_oct_cmplx_h) | |
25 #define octave_oct_cmplx_h 1 | |
26 | |
27 #include <complex> | |
28 | |
3504 | 29 typedef std::complex<double> Complex; |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
30 typedef std::complex<float> FloatComplex; |
1648 | 31 |
32 #endif | |
33 | |
34 /* | |
35 ;;; Local Variables: *** | |
36 ;;; mode: C++ *** | |
37 ;;; End: *** | |
38 */ |