GiNaC 1.8.8
Namespaces | Functions | Variables
utils.cpp File Reference

Implementation of several small and furry utilities needed within GiNaC but not of any interest to the user of the library. More...

#include "ex.h"
#include "numeric.h"
#include "utils.h"
#include "version.h"

Go to the source code of this file.

Namespaces

namespace  GiNaC
 

Functions

unsigned GiNaC::log2 (unsigned n)
 Integer binary logarithm.
 
const numeric GiNaC::multinomial_coefficient (const std::vector< unsigned > &p)
 Compute the multinomial coefficient n!/(p1!*p2!*...*pk!) where n = p1+p2+...+pk, i.e.
 

Variables

const int GiNaC::version_major = GINACLIB_MAJOR_VERSION
 
const int GiNaC::version_minor = GINACLIB_MINOR_VERSION
 
const int GiNaC::version_micro = GINACLIB_MICRO_VERSION
 
const numericGiNaC::_num_120_p
 
const ex GiNaC::_ex_120 = ex(*_num_120_p)
 
const numericGiNaC::_num_60_p
 
const ex GiNaC::_ex_60 = ex(*_num_60_p)
 
const numericGiNaC::_num_48_p
 
const ex GiNaC::_ex_48 = ex(*_num_48_p)
 
const numericGiNaC::_num_30_p
 
const ex GiNaC::_ex_30 = ex(*_num_30_p)
 
const numericGiNaC::_num_25_p
 
const ex GiNaC::_ex_25 = ex(*_num_25_p)
 
const numericGiNaC::_num_24_p
 
const ex GiNaC::_ex_24 = ex(*_num_24_p)
 
const numericGiNaC::_num_20_p
 
const ex GiNaC::_ex_20 = ex(*_num_20_p)
 
const numericGiNaC::_num_18_p
 
const ex GiNaC::_ex_18 = ex(*_num_18_p)
 
const numericGiNaC::_num_15_p
 
const ex GiNaC::_ex_15 = ex(*_num_15_p)
 
const numericGiNaC::_num_12_p
 
const ex GiNaC::_ex_12 = ex(*_num_12_p)
 
const numericGiNaC::_num_11_p
 
const ex GiNaC::_ex_11 = ex(*_num_11_p)
 
const numericGiNaC::_num_10_p
 
const ex GiNaC::_ex_10 = ex(*_num_10_p)
 
const numericGiNaC::_num_9_p
 
const ex GiNaC::_ex_9 = ex(*_num_9_p)
 
const numericGiNaC::_num_8_p
 
const ex GiNaC::_ex_8 = ex(*_num_8_p)
 
const numericGiNaC::_num_7_p
 
const ex GiNaC::_ex_7 = ex(*_num_7_p)
 
const numericGiNaC::_num_6_p
 
const ex GiNaC::_ex_6 = ex(*_num_6_p)
 
const numericGiNaC::_num_5_p
 
const ex GiNaC::_ex_5 = ex(*_num_5_p)
 
const numericGiNaC::_num_4_p
 
const ex GiNaC::_ex_4 = ex(*_num_4_p)
 
const numericGiNaC::_num_3_p
 
const ex GiNaC::_ex_3 = ex(*_num_3_p)
 
const numericGiNaC::_num_2_p
 
const ex GiNaC::_ex_2 = ex(*_num_2_p)
 
const numericGiNaC::_num_1_p
 
const ex GiNaC::_ex_1 = ex(*_num_1_p)
 
const numericGiNaC::_num_1_2_p
 
const ex GiNaC::_ex_1_2 = ex(*_num_1_2_p)
 
const numericGiNaC::_num_1_3_p
 
const ex GiNaC::_ex_1_3 = ex(*_num_1_3_p)
 
const numericGiNaC::_num_1_4_p
 
const ex GiNaC::_ex_1_4 = ex(*_num_1_4_p)
 
const numericGiNaC::_num0_p
 
const ex GiNaC::_ex0 = ex(*_num0_p)
 
const numericGiNaC::_num1_4_p
 
const ex GiNaC::_ex1_4 = ex(*_num1_4_p)
 
const numericGiNaC::_num1_3_p
 
const ex GiNaC::_ex1_3 = ex(*_num1_3_p)
 
const numericGiNaC::_num1_2_p
 
const ex GiNaC::_ex1_2 = ex(*_num1_2_p)
 
const numericGiNaC::_num1_p
 
const ex GiNaC::_ex1 = ex(*_num1_p)
 
const numericGiNaC::_num2_p
 
const ex GiNaC::_ex2 = ex(*_num2_p)
 
const numericGiNaC::_num3_p
 
const ex GiNaC::_ex3 = ex(*_num3_p)
 
const numericGiNaC::_num4_p
 
const ex GiNaC::_ex4 = ex(*_num4_p)
 
const numericGiNaC::_num5_p
 
const ex GiNaC::_ex5 = ex(*_num5_p)
 
const numericGiNaC::_num6_p
 
const ex GiNaC::_ex6 = ex(*_num6_p)
 
const numericGiNaC::_num7_p
 
const ex GiNaC::_ex7 = ex(*_num7_p)
 
const numericGiNaC::_num8_p
 
const ex GiNaC::_ex8 = ex(*_num8_p)
 
const numericGiNaC::_num9_p
 
const ex GiNaC::_ex9 = ex(*_num9_p)
 
const numericGiNaC::_num10_p
 
const ex GiNaC::_ex10 = ex(*_num10_p)
 
const numericGiNaC::_num11_p
 
const ex GiNaC::_ex11 = ex(*_num11_p)
 
const numericGiNaC::_num12_p
 
const ex GiNaC::_ex12 = ex(*_num12_p)
 
const numericGiNaC::_num15_p
 
const ex GiNaC::_ex15 = ex(*_num15_p)
 
const numericGiNaC::_num18_p
 
const ex GiNaC::_ex18 = ex(*_num18_p)
 
const numericGiNaC::_num20_p
 
const ex GiNaC::_ex20 = ex(*_num20_p)
 
const numericGiNaC::_num24_p
 
const ex GiNaC::_ex24 = ex(*_num24_p)
 
const numericGiNaC::_num25_p
 
const ex GiNaC::_ex25 = ex(*_num25_p)
 
const numericGiNaC::_num30_p
 
const ex GiNaC::_ex30 = ex(*_num30_p)
 
const numericGiNaC::_num48_p
 
const ex GiNaC::_ex48 = ex(*_num48_p)
 
const numericGiNaC::_num60_p
 
const ex GiNaC::_ex60 = ex(*_num60_p)
 
const numericGiNaC::_num120_p
 
const ex GiNaC::_ex120 = ex(*_num120_p)
 

Detailed Description

Implementation of several small and furry utilities needed within GiNaC but not of any interest to the user of the library.

Definition in file utils.cpp.


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