SymEngine C++ API
symengine
refine.h
1
#ifndef SYMENGINE_REFINE_H
2
#define SYMENGINE_REFINE_H
3
4
#include <
symengine/visitor.h
>
5
#include <
symengine/basic.h
>
6
#include <symengine/assumptions.h>
7
8
namespace
SymEngine
9
{
10
11
class
RefineVisitor
:
public
BaseVisitor
<RefineVisitor, TransformVisitor>
12
{
13
private
:
14
const
Assumptions
*assumptions_;
15
16
public
:
17
using
TransformVisitor::bvisit;
18
19
RefineVisitor
(
const
Assumptions
*assumptions)
20
:
BaseVisitor<RefineVisitor, TransformVisitor>
(),
21
assumptions_(assumptions)
22
{
23
}
24
25
void
bvisit(
const
Abs
&x);
26
void
bvisit(
const
Sign
&x);
27
void
bvisit(
const
Floor
&x);
28
void
bvisit(
const
Ceiling
&x);
29
void
bvisit(
const
Conjugate
&x);
30
void
bvisit(
const
Max
&x);
31
void
bvisit(
const
Min
&x);
32
void
bvisit(
const
Pow
&x);
33
void
bvisit(
const
Log
&x);
34
void
bvisit(
const
Interval
&x);
35
};
36
37
RCP<const Basic> refine(
const
RCP<const Basic> &x,
38
const
Assumptions
*assumptions);
39
40
}
// namespace SymEngine
41
42
#endif
basic.h
The base class for SymEngine.
SymEngine::Abs
Definition:
functions.h:1242
SymEngine::Assumptions
Definition:
assumptions.h:14
SymEngine::BaseVisitor
Definition:
visitor.h:48
SymEngine::Ceiling
Definition:
functions.h:219
SymEngine::Conjugate
Definition:
functions.h:249
SymEngine::Floor
Definition:
functions.h:204
SymEngine::Interval
Definition:
sets.h:146
SymEngine::Log
Definition:
functions.h:530
SymEngine::Max
Definition:
functions.h:1259
SymEngine::Min
Definition:
functions.h:1274
SymEngine::Pow
Definition:
pow.h:18
SymEngine::RefineVisitor
Definition:
refine.h:12
SymEngine::Sign
Definition:
functions.h:189
SymEngine
Main namespace for SymEngine package.
Definition:
add.cpp:19
visitor.h