SymEngine C++ API
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
x
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
x
z
Enumerations
Enumerator
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
x
z
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
z
~
Variables
b
c
d
h
i
n
r
t
x
Related Functions
Files
File List
Globals
All
Macros
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Friends
Macros
Pages
symengine
eval_mpc.h
Go to the documentation of this file.
1
7
#ifndef SYMENGINE_EVAL_MPC_H
8
#define SYMENGINE_EVAL_MPC_H
9
10
#include <symengine/symengine_config.h>
11
12
#ifdef HAVE_SYMENGINE_MPC
13
#include <
symengine/basic.h
>
14
#include <mpc.h>
15
16
namespace
SymEngine
17
{
18
20
// Different precisions for real and imaginary parts of `result` is not
21
// supported
22
// Use `mpc_init2` to initialize `result`
23
void
eval_mpc(mpc_ptr result,
const
Basic &b, mpfr_rnd_t rnd);
24
25
}
// namespace SymEngine
26
27
#endif
// HAVE_SYMENGINE_MPC
28
29
#endif
basic.h
The base class for SymEngine.
SymEngine
Main namespace for SymEngine package.
Definition:
add.cpp:19
Code