GiNaC  1.8.0
Classes | Namespaces | Typedefs | Functions
numeric.h File Reference

Makes the interface to the underlying bignum package available. More...

#include "basic.h"
#include "ex.h"
#include "archive.h"
#include <cln/complex.h>
#include <stdexcept>
#include <vector>

Go to the source code of this file.

Classes

class  GiNaC::_numeric_digits
 This class is used to instantiate a global singleton object Digits which behaves just like Maple's Digits. More...
 
class  GiNaC::pole_error
 Exception class thrown when a singularity is encountered. More...
 
class  GiNaC::numeric
 This class is a wrapper around CLN-numbers within the GiNaC class hierarchy. More...
 

Namespaces

 GiNaC
 

Typedefs

typedef void(* GiNaC::digits_changed_callback) (long)
 Function pointer to implement callbacks in the case 'Digits' gets changed. More...
 

Functions

 GiNaC::GINAC_DECLARE_UNARCHIVER (numeric)
 
const numeric GiNaC::exp (const numeric &x)
 Exponential function. More...
 
const numeric GiNaC::log (const numeric &x)
 Natural logarithm. More...
 
const numeric GiNaC::sin (const numeric &x)
 Numeric sine (trigonometric function). More...
 
const numeric GiNaC::cos (const numeric &x)
 Numeric cosine (trigonometric function). More...
 
const numeric GiNaC::tan (const numeric &x)
 Numeric tangent (trigonometric function). More...
 
const numeric GiNaC::asin (const numeric &x)
 Numeric inverse sine (trigonometric function). More...
 
const numeric GiNaC::acos (const numeric &x)
 Numeric inverse cosine (trigonometric function). More...
 
const numeric GiNaC::atan (const numeric &x)
 Numeric arcustangent. More...
 
const numeric GiNaC::atan (const numeric &y, const numeric &x)
 Numeric arcustangent of two arguments, analytically continued in a suitable way. More...
 
const numeric GiNaC::sinh (const numeric &x)
 Numeric hyperbolic sine (trigonometric function). More...
 
const numeric GiNaC::cosh (const numeric &x)
 Numeric hyperbolic cosine (trigonometric function). More...
 
const numeric GiNaC::tanh (const numeric &x)
 Numeric hyperbolic tangent (trigonometric function). More...
 
const numeric GiNaC::asinh (const numeric &x)
 Numeric inverse hyperbolic sine (trigonometric function). More...
 
const numeric GiNaC::acosh (const numeric &x)
 Numeric inverse hyperbolic cosine (trigonometric function). More...
 
const numeric GiNaC::atanh (const numeric &x)
 Numeric inverse hyperbolic tangent (trigonometric function). More...
 
const numeric GiNaC::Li2 (const numeric &x)
 
const numeric GiNaC::zeta (const numeric &x)
 Numeric evaluation of Riemann's Zeta function. More...
 
const numeric GiNaC::lgamma (const numeric &x)
 
const numeric GiNaC::tgamma (const numeric &x)
 
const numeric GiNaC::psi (const numeric &x)
 The psi function (aka polygamma function). More...
 
const numeric GiNaC::psi (const numeric &n, const numeric &x)
 The psi functions (aka polygamma functions). More...
 
const numeric GiNaC::factorial (const numeric &n)
 Factorial combinatorial function. More...
 
const numeric GiNaC::doublefactorial (const numeric &n)
 The double factorial combinatorial function. More...
 
const numeric GiNaC::binomial (const numeric &n, const numeric &k)
 The Binomial coefficients. More...
 
const numeric GiNaC::bernoulli (const numeric &nn)
 Bernoulli number. More...
 
const numeric GiNaC::fibonacci (const numeric &n)
 Fibonacci number. More...
 
const numeric GiNaC::isqrt (const numeric &x)
 Integer numeric square root. More...
 
const numeric GiNaC::sqrt (const numeric &x)
 Numeric square root. More...
 
const numeric GiNaC::abs (const numeric &x)
 Absolute value. More...
 
const numeric GiNaC::mod (const numeric &a, const numeric &b)
 Modulus (in positive representation). More...
 
const numeric GiNaC::smod (const numeric &a_, const numeric &b_)
 Modulus (in symmetric representation). More...
 
const numeric GiNaC::irem (const numeric &a, const numeric &b)
 Numeric integer remainder. More...
 
const numeric GiNaC::irem (const numeric &a, const numeric &b, numeric &q)
 Numeric integer remainder. More...
 
const numeric GiNaC::iquo (const numeric &a, const numeric &b)
 Numeric integer quotient. More...
 
const numeric GiNaC::iquo (const numeric &a, const numeric &b, numeric &r)
 Numeric integer quotient. More...
 
const numeric GiNaC::gcd (const numeric &a, const numeric &b)
 Greatest Common Divisor. More...
 
const numeric GiNaC::lcm (const numeric &a, const numeric &b)
 Least Common Multiple. More...
 
const numeric GiNaC::pow (const numeric &x, const numeric &y)
 
const numeric GiNaC::inverse (const numeric &x)
 
numeric GiNaC::step (const numeric &x)
 
int GiNaC::csgn (const numeric &x)
 
bool GiNaC::is_zero (const numeric &x)
 
bool GiNaC::is_positive (const numeric &x)
 
bool GiNaC::is_negative (const numeric &x)
 
bool GiNaC::is_integer (const numeric &x)
 
bool GiNaC::is_pos_integer (const numeric &x)
 
bool GiNaC::is_nonneg_integer (const numeric &x)
 
bool GiNaC::is_even (const numeric &x)
 
bool GiNaC::is_odd (const numeric &x)
 
bool GiNaC::is_prime (const numeric &x)
 
bool GiNaC::is_rational (const numeric &x)
 
bool GiNaC::is_real (const numeric &x)
 
bool GiNaC::is_cinteger (const numeric &x)
 
bool GiNaC::is_crational (const numeric &x)
 
int GiNaC::to_int (const numeric &x)
 
long GiNaC::to_long (const numeric &x)
 
double GiNaC::to_double (const numeric &x)
 
const numeric GiNaC::real (const numeric &x)
 
const numeric GiNaC::imag (const numeric &x)
 
const numeric GiNaC::numer (const numeric &x)
 
const numeric GiNaC::denom (const numeric &x)
 
ex GiNaC::PiEvalf ()
 Floating point evaluation of Archimedes' constant Pi. More...
 
ex GiNaC::EulerEvalf ()
 Floating point evaluation of Euler's constant gamma. More...
 
ex GiNaC::CatalanEvalf ()
 Floating point evaluation of Catalan's constant. More...
 

Detailed Description

Makes the interface to the underlying bignum package available.

Definition in file numeric.h.


This page is part of the GiNaC developer's reference. It was generated automatically by doxygen. For an introduction, see the tutorial.