MPSolve 3.2.1
Loading...
Searching...
No Matches
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
23extern "C" {
24#endif
25
26/***********************************************************
27** link functions **
28***********************************************************/
29
37void mpf_set_rdpe (mpf_t f, rdpe_t e);
38
45void mpf_get_rdpe (rdpe_t e, mpf_t f);
46
54void mpc_set_cplx (mpc_t mc, cplx_t c);
55
62void mpc_get_cplx (cplx_t c, mpc_t mc);
63
71void mpc_set_cdpe (mpc_t mc, cdpe_t c);
72
79void 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.