Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

atlas::size Namespace Reference


Classes

class  atlas::size::PrimesMax< n >
 Ordinal (position on the list of primes) of the largest prime factor of a Weyl group of rank at most n. More...
class  atlas::size::PrimesMax< 8 >
 Position on the list of primes of the largest possible prime factor of a Weyl group of rank at most 8. More...
class  atlas::size::PrimesMax< 16 >
 Position on the list of primes of the largest possible prime factor of a Weyl group of rank at most 16. More...
class  atlas::size::PrimesMax< 32 >
 Position on the list of primes of the largest possible prime factor of a Weyl group of rank at most 32. More...
class  atlas::size::PrimesMax< 64 >
 Position on the list of primes of the largest possible prime factor of a Weyl group of rank at most 64. More...
class  atlas::size::SizeType< C >
 Stores a positive integer as product of prime powers, using the first PRIMES_MAX primes. More...

Typedefs

typedef signed char BaseType
typedef unsigned char UnsignedBaseType
typedef SizeType< BaseTypeSize

Functions

unsigned long prime (size_t j)
template<typename C>
void factorial (SizeType< C > &, unsigned long)

Variables

const size_t PRIMES_MAX = PrimesMax<constants::RANK_MAX>::value
 Position on the list of primes of the largest possible prime factor of a Weyl group of rank at most RANK_MAX.


Typedef Documentation

typedef signed char atlas::size::BaseType
 

Definition at line 25 of file size.h.

typedef SizeType<BaseType> atlas::size::Size
 

Definition at line 27 of file size.h.

Referenced by atlas::realweyl::blockStabilizerSize(), atlas::realweyl::dualRealWeylSize(), atlas::cartanclass::CartanClass::makeOrbitSize(), atlas::weyl::WeylGroup::order(), atlas::realredgp_io::printBlockStabilizer(), atlas::realredgp_io::printRealWeyl(), atlas::realweyl::realWeylSize(), and atlas::weylsize::weylSize().

typedef unsigned char atlas::size::UnsignedBaseType
 

Definition at line 26 of file size.h.


Function Documentation

template<typename C>
void atlas::size::factorial SizeType< C > &  a,
unsigned long  n
 

Synopsis: puts in a the factorial of n.

Precondition: n is not greater than the PRIMES_MAX-th prime number.

Definition at line 171 of file size_def.h.

References atlas::size::SizeType< C >::reset().

Referenced by atlas::weylsize::weylSize().

unsigned long atlas::size::prime size_t  j  ) 
 

Synopsis: returns the j-th prime number, counting from 0.

Precondition: j < PRIMES_MAX;

Definition at line 56 of file size.cpp.

Referenced by atlas::size::SizeType< C >::operator *=(), atlas::size::SizeType< C >::piece(), and atlas::size::SizeType< C >::SizeType().


Variable Documentation

const size_t atlas::size::PRIMES_MAX = PrimesMax<constants::RANK_MAX>::value
 

Position on the list of primes of the largest possible prime factor of a Weyl group of rank at most RANK_MAX.

With RANK_MAX=16, this is 7 (for the seventh prime 17).

Definition at line 106 of file size.h.

Referenced by atlas::size::SizeType< BaseType >::operator!=(), atlas::size::SizeType< BaseType >::operator=(), atlas::size::SizeType< BaseType >::operator==(), atlas::size::SizeType< BaseType >::reset(), atlas::size::SizeType< C >::SizeType(), and atlas::size::SizeType< BaseType >::SizeType().


Generated on Wed Mar 26 16:53:04 2008 for atlas by  doxygen 1.3.9.1