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

Factorial Struct Template Reference

Generic factorial calculation. More...

#include <generic_math.h>

Collaboration diagram for Factorial:

Collaboration graph
[legend]
List of all members.

Static Public Attributes

const LongDouble value = N * Factorial<N-1>::value

Detailed Description

template<int N>
struct rs::gen_math::Factorial< N >

Generic factorial calculation.

Factorial<N>::value calculates factorial of N at compile time

Definition at line 29 of file generic_math.h.


Member Data Documentation

const LongDouble value = N * Factorial<N-1>::value [static]
 

Definition at line 29 of file generic_math.h.


The documentation for this struct was generated from the following file:
Contact me in case of errors or questions.
This documentation is powered by Doxygen.
(C) 2000-2002 Doxygen