You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
538 B

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