Diploma Thesis Percolation Simulation
C++ Sourcecode Documentation

www.AndreasKrueger.de/thesis/code

Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

statistics::manipdata< ELEM > Class Template Reference

#include <statistics.h>

List of all members.

Public Methods

ELEM linear (ELEM x, ELEM dummy)
ELEM square (ELEM x, ELEM dummy)
ELEM notzero (ELEM x, ELEM dummy)
ELEM bitone_notzero (ELEM x, ELEM dummy)
ELEM bit_notzero (ELEM x, ELEM bit)
ELEM allbits_notzero (ELEM x, ELEM dim)
ELEM shift (ELEM x, ELEM shift)

template<class ELEM>
class statistics::manipdata< ELEM >


Member Function Documentation

template<class ELEM>
ELEM statistics::manipdata< ELEM >::allbits_notzero ELEM    x,
ELEM    dim
[inline]
 

Definition at line 53 of file statistics.h.

References pow().

00053 {return (x==(ELEM)pow((int)2,(int)dim)-1);};

template<class ELEM>
ELEM statistics::manipdata< ELEM >::bit_notzero ELEM    x,
ELEM    bit
[inline]
 

Definition at line 52 of file statistics.h.

References pow().

00052 {return ((x&(ELEM)pow((int)2,(int)bit-1))!=0);};

template<class ELEM>
ELEM statistics::manipdata< ELEM >::bitone_notzero ELEM    x,
ELEM    dummy
[inline]
 

Definition at line 50 of file statistics.h.

00050 {return (x&1!=0);};

template<class ELEM>
ELEM statistics::manipdata< ELEM >::linear ELEM    x,
ELEM    dummy
[inline]
 

Definition at line 44 of file statistics.h.

00044 {return (x);}; 

template<class ELEM>
ELEM statistics::manipdata< ELEM >::notzero ELEM    x,
ELEM    dummy
[inline]
 

Definition at line 49 of file statistics.h.

00049 {return (x!=0);};

template<class ELEM>
ELEM statistics::manipdata< ELEM >::shift ELEM    x,
ELEM    shift
[inline]
 

Definition at line 55 of file statistics.h.

References statistics::manipdata< ELEM >::shift().

Referenced by statistics::manipdata< ELEM >::shift().

00055 {return (x+shift);};

template<class ELEM>
ELEM statistics::manipdata< ELEM >::square ELEM    x,
ELEM    dummy
[inline]
 

Definition at line 47 of file statistics.h.

00047 {return (x*x);};


The documentation for this class was generated from the following file:




Diploma Thesis Sourcecode Documentation
check out the text and the executable binaries

www.AndreasKrueger.de/thesis/code