GiNaC  1.8.0
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

 GiNaC
 

Functions

unsigned GiNaC::log2 (unsigned n)
 Integer binary logarithm. More...
 
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. More...
 

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

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.