GiNaC  1.6.2
Classes | Enumerations | Functions | Variables
GiNaC::internal Namespace Reference

Classes

struct  _iter_rep

Enumerations

enum  { num_primes = 29 }

Functions

unsigned long next_prime (unsigned long n)

Variables

static const unsigned long prime_list [num_primes]

Enumeration Type Documentation

anonymous enum
Enumerator:
num_primes 

Definition at line 42 of file hash_map.h.


Function Documentation

unsigned long GiNaC::internal::next_prime ( unsigned long  n) [inline]

Definition at line 54 of file hash_map.h.

References last, num_primes, and prime_list.

Referenced by GiNaC::exhashmap< T, A >::grow().


Variable Documentation

const unsigned long GiNaC::internal::prime_list[num_primes] [static]
Initial value:
{
    31ul,        53ul,         97ul,         193ul,       389ul,
    769ul,       1543ul,       3079ul,       6151ul,      12289ul,
    24593ul,     49157ul,      98317ul,      196613ul,    393241ul,
    786433ul,    1572869ul,    3145739ul,    6291469ul,   12582917ul,
    25165843ul,  50331653ul,   100663319ul,  201326611ul, 402653189ul,
    805306457ul, 1610612741ul, 3221225473ul, 4294967291ul
}

Definition at line 44 of file hash_map.h.

Referenced by next_prime().


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