number.h File Reference
#include <symengine/basic.h>
#include <symengine/assumptions.h>
+ Include dependency graph for number.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  SymEngine::Number
 
class  SymEngine::NumberWrapper
 
class  SymEngine::Evaluate
 A class that will evaluate functions numerically. More...
 

Namespaces

 SymEngine
 Main namespace for SymEngine package.
 

Functions

RCP< const Number > SymEngine::addnum (const RCP< const Number > &self, const RCP< const Number > &other)
 Add self and other
 
RCP< const Number > SymEngine::subnum (const RCP< const Number > &self, const RCP< const Number > &other)
 Subtract self and other
 
RCP< const Number > SymEngine::mulnum (const RCP< const Number > &self, const RCP< const Number > &other)
 Multiply self and other
 
RCP< const Number > SymEngine::divnum (const RCP< const Number > &self, const RCP< const Number > &other)
 Divide self and other
 
RCP< const Number > SymEngine::pownum (const RCP< const Number > &self, const RCP< const Number > &other)
 Raise self to power other
 
void SymEngine::iaddnum (const Ptr< RCP< const Number >> &self, const RCP< const Number > &other)
 
void SymEngine::imulnum (const Ptr< RCP< const Number >> &self, const RCP< const Number > &other)
 
void SymEngine::idivnum (const Ptr< RCP< const Number >> &self, const RCP< const Number > &other)
 
bool SymEngine::is_a_Number (const Basic &b)
 
bool SymEngine::is_number_and_zero (const Basic &b)
 
tribool SymEngine::is_zero (const Basic &b, const Assumptions *assumptions=nullptr)
 Check if a number is zero. More...
 
tribool SymEngine::is_nonzero (const Basic &b, const Assumptions *assumptions=nullptr)
 Check if a number is non-zero. More...
 
tribool SymEngine::is_positive (const Basic &b, const Assumptions *assumptions=nullptr)
 
tribool SymEngine::is_nonpositive (const Basic &b, const Assumptions *assumptions=nullptr)
 
tribool SymEngine::is_negative (const Basic &b, const Assumptions *assumptions=nullptr)
 
tribool SymEngine::is_nonnegative (const Basic &b, const Assumptions *assumptions=nullptr)
 
tribool SymEngine::is_integer (const Basic &b, const Assumptions *assumptions=nullptr)
 
tribool SymEngine::is_real (const Basic &b, const Assumptions *assumptions=nullptr)
 
tribool SymEngine::is_complex (const Basic &b, const Assumptions *assumptions=nullptr)
 
tribool SymEngine::is_rational (const Basic &b)
 
tribool SymEngine::is_irrational (const Basic &b)
 
tribool SymEngine::is_finite (const Basic &b, const Assumptions *assumptions=nullptr)
 
tribool SymEngine::is_infinite (const Basic &b, const Assumptions *assumptions=nullptr)
 
tribool SymEngine::is_even (const Basic &b, const Assumptions *assumptions=nullptr)
 
tribool SymEngine::is_odd (const Basic &b, const Assumptions *assumptions=nullptr)
 
tribool SymEngine::is_algebraic (const Basic &b, const Assumptions *assumptions=nullptr)
 
tribool SymEngine::is_transcendental (const Basic &b, const Assumptions *assumptions=nullptr)
 

Detailed Description

Basic Number class.

Definition in file number.h.