1 | // Built-in complex number ring. |
2 | |
3 | #ifndef _CL_COMPLEX_RING_H |
4 | #define _CL_COMPLEX_RING_H |
5 | |
6 | #include "cln/ring.h" |
7 | #include "cln/complex_class.h" |
8 | |
9 | namespace cln { |
10 | |
11 | typedef cl_specialized_number_ring<cl_N> cl_complex_ring; |
12 | extern const cl_complex_ring cl_C_ring; // math. C |
13 | extern cl_class cl_class_complex_ring; |
14 | |
15 | class cl_C_ring_init_helper |
16 | { |
17 | static int count; |
18 | public: |
19 | cl_C_ring_init_helper(); |
20 | ~cl_C_ring_init_helper(); |
21 | }; |
22 | static cl_C_ring_init_helper cl_C_ring_init_helper_instance; |
23 | |
24 | } // namespace cln |
25 | |
26 | #endif /* _CL_COMPLEX_RING_H */ |
27 | |