MPSolve  3.2.1
link.h
Go to the documentation of this file.
1 /***********************************************************
2 ** Link library for MT, MPC and GMP **
3 ** Version 1.0 **
4 ** **
5 ** Written by Giuseppe Fiorentino **
6 ** (fiorent@dm.unipi.it) **
7 ***********************************************************/
8 
15 #ifndef __LINK_H__
16 #define __LINK_H__
17 
18 /* needed header files */
19 #include <mps/mt.h>
20 #include <mps/mpc.h>
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
26 /***********************************************************
27 ** link functions **
28 ***********************************************************/
29 
37 void mpf_set_rdpe (mpf_t f, rdpe_t e);
38 
45 void mpf_get_rdpe (rdpe_t e, mpf_t f);
46 
54 void mpc_set_cplx (mpc_t mc, cplx_t c);
55 
62 void mpc_get_cplx (cplx_t c, mpc_t mc);
63 
71 void mpc_set_cdpe (mpc_t mc, cdpe_t c);
72 
79 void mpc_get_cdpe (cdpe_t c, mpc_t mc);
80 
81 #ifdef __cplusplus
82 }
83 #endif
84 
85 #endif
86 
87 /***********************************************************
88 ** **
89 ***********************************************************/
Multiprecision complex type, based on mpf multiprecision floating point type.
Library with extended types in C.