Mercurial > hg > x
comparison xcomplex.h @ 5:5f3c32dc6e17
* Adjust comment syntax to permit Doxygen to generate HTML documentation; add Doxyfile
author | Chris Cannam |
---|---|
date | Wed, 06 Oct 2010 15:19:49 +0100 |
parents | 6422640a802f |
children | c6528c38b23c |
comparison
equal
deleted
inserted
replaced
4:92ee28024c05 | 5:5f3c32dc6e17 |
---|---|
1 #ifndef XCOMPLEX | 1 #ifndef XCOMPLEX |
2 #define XCOMPLEX | 2 #define XCOMPLEX |
3 | 3 |
4 | 4 |
5 /* | 5 #include <math.h> |
6 xcomplex.h - Xue's complex number class. | 6 |
7 /** | |
8 \file xcomplex.h - Xue's complex number class. | |
7 | 9 |
8 This classes is modelled after standard c++ complex class, with a few additional methods. Unused | 10 This classes is modelled after standard c++ complex class, with a few additional methods. Unused |
9 standard member and non-member functions/operators may not have been implemented. | 11 standard member and non-member functions/operators may not have been implemented. |
10 */ | 12 */ |
11 | 13 |
12 #include <math.h> | |
13 | |
14 //* | |
15 template <class T> class cmplx | 14 template <class T> class cmplx |
16 { | 15 { |
17 public: | 16 public: |
18 //standard members | 17 //standard members |
19 T x; | 18 T x; |