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

CODEX_VSS::choose< N, T > Struct Template Reference

Templated structure to calculatate nCt. More...

#include <Combinatoric.h>

List of all members.

Static Public Attributes

const unsigned int value = N*choose<N-1,T-1>::value/T
 The result of the computation.


Detailed Description

template<int N, int T>
struct CODEX_VSS::choose< N, T >

Templated structure to calculatate nCt.

Definition at line 38 of file Combinatoric.h.


Member Data Documentation

template<int N, int T>
const unsigned int CODEX_VSS::choose< N, T >::value = N*choose<N-1,T-1>::value/T [static]
 

The result of the computation.

By putting the division at the end, we guarantee that there will be no problems with dropped remainders.

Definition at line 45 of file Combinatoric.h.


The documentation for this struct was generated from the following file:
Generated on Wed Jun 2 16:33:24 2004 for COrnell Data EXchange (CODEX) by doxygen1.2.18