MPSolve
3.2.2
Toggle main menu visibility
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
14
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
***********************************************************/
mpc_get_cplx
void mpc_get_cplx(cplx_t c, mpc_t mc)
Get the cplx_t version of the Multiprecision value mc.
Definition
link.c:49
mpf_set_rdpe
void mpf_set_rdpe(mpf_t f, rdpe_t e)
Set the Multiprecision value f with the value stored in e.
Definition
link.c:21
mpf_get_rdpe
void mpf_get_rdpe(rdpe_t e, mpf_t f)
Get the RDPE version of the Multiprecision value f.
Definition
link.c:31
mpc_get_cdpe
void mpc_get_cdpe(cdpe_t c, mpc_t mc)
Get the CDPE version of the Multiprecision value mc.
Definition
link.c:68
mpc_set_cdpe
void mpc_set_cdpe(mpc_t mc, cdpe_t c)
Set the Multiprecision value mc with the value stored in c.
Definition
link.c:61
mpc_set_cplx
void mpc_set_cplx(mpc_t mc, cplx_t c)
Set the Multiprecision value mc with the value stored in c.
Definition
link.c:42
mpc.h
Multiprecision complex type, based on mpf multiprecision floating point type.
mt.h
Library with extended types in C.
include
mps
link.h
Generated on
for MPSolve by
1.17.0