MPSolve  3.2.1
root.h
1 #ifndef xmpsolve_ROOT_H
2 #define xmpsolve_ROOT_H
3 
4 #include <mps/mps.h>
5 
6 namespace xmpsolve {
7 
8 class Root
9 {
10 
11 public:
12  explicit Root();
13  explicit Root(mpc_t value, rdpe_t radius, mps_root_status status = MPS_ROOT_STATUS_CLUSTERED);
14  double get_real_part();
15  double get_imag_part();
16  double get_radius();
17 
18  mpc_t value;
19  rdpe_t radius;
20  mps_root_status status;
21 };
22 
23 } // namespace xmpsolve
24 
25 #endif // xmpsolve_ROOT_H
Definition: root.h:9
Header file for libmps.