Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File 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

static 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 41 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 48 of file Combinatoric.h.


The documentation for this struct was generated from the following file:
Generated on Fri May 6 17:42:52 2005 for COrnell Data EXchange (CODEX) by  doxygen 1.4.1