Documentation of CSL
Data Structures | Namespaces | Functions | Variables
numerical.h File Reference
#include "buildingBlock.h"
Include dependency graph for numerical.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  csl::AbstractNumerical
 Abstract class from which derive numerical types, i.e. Float, Integer, IntFraction. More...
 
class  csl::Integer
 Handle numbers in expr. More...
 
class  csl::Float
 Handle numbers in expr. More...
 
class  csl::IntFraction
 Handles fractions of Number. More...
 
class  csl::Complex
 

Namespaces

 csl
 Namespace for csl library.
 

Functions

Expr csl::float_s (long double value)
 
Expr csl::int_s (long long int value)
 
Expr csl::autonumber_s (long double value)
 
Expr csl::intfraction_s (long long int num, long long int denom)
 
Expr csl::complex_s (Expr const &real, Expr const &imag)
 

Variables

csl::allocator< Integer > csl::alloc_integer
 
csl::allocator< Float > csl::alloc_float
 
csl::allocator< IntFraction > csl::alloc_intfraction
 
csl::allocator< Complex > csl::alloc_complex
 
const csl::Expr CSL_0 = csl::make_shared<csl::Integer>(0)
 
const csl::Expr CSL_1 = csl::make_shared<csl::Integer>(1)
 
const csl::Expr CSL_2 = csl::make_shared<csl::Integer>(2)
 
const csl::Expr CSL_M_1 = csl::make_shared<csl::Integer>(-1)
 
const csl::Expr CSL_M_2 = csl::make_shared<csl::Integer>(-2)
 
const csl::Expr CSL_HALF = csl::make_shared<csl::IntFraction>(1, 2)
 
const csl::Expr CSL_THIRD = csl::make_shared<csl::IntFraction>(1, 3)
 
const csl::Expr CSL_M_HALF = csl::make_shared<csl::IntFraction>(-1, 2)
 
const csl::Expr CSL_M_THIRD = csl::make_shared<csl::IntFraction>(-1, 3)
 

Detailed Description

Author
Grégoire Uhlrich
Version
1.3
Date
2020-11-05