ntheory_funcs.h
1 #ifndef SYMENGINE_NTHEORY_FUNCS_H
2 #define SYMENGINE_NTHEORY_FUNCS_H
3 
4 #include <symengine/basic.h>
5 #include <symengine/symengine_casts.h>
6 #include <symengine/constants.h>
7 #include <symengine/functions.h>
8 
9 namespace SymEngine
10 {
11 
12 class PrimePi : public OneArgFunction
13 {
20 public:
21  IMPLEMENT_TYPEID(SYMENGINE_PRIMEPI)
22  PrimePi(const RCP<const Basic> &arg);
23  bool is_canonical(const RCP<const Basic> &arg) const;
24  RCP<const Basic> create(const RCP<const Basic> &arg) const;
25 };
26 
27 RCP<const Basic> primepi(const RCP<const Basic> &arg);
28 
29 class Primorial : public OneArgFunction
30 {
36 public:
37  IMPLEMENT_TYPEID(SYMENGINE_PRIMORIAL)
38  Primorial(const RCP<const Basic> &arg);
39  bool is_canonical(const RCP<const Basic> &arg) const;
40  RCP<const Basic> create(const RCP<const Basic> &arg) const;
41 };
42 
43 RCP<const Basic> primorial(const RCP<const Basic> &arg);
44 
45 } // namespace SymEngine
46 
47 #endif
The base class for SymEngine.
#define IMPLEMENT_TYPEID(SYMENGINE_ID)
Inline members and functions.
Definition: basic.h:340
RCP< const Basic > create(const RCP< const Basic > &arg) const
Method to construct classes with canonicalization.
RCP< const Basic > create(const RCP< const Basic > &arg) const
Method to construct classes with canonicalization.
Main namespace for SymEngine package.
Definition: add.cpp:19