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:
[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]
|
|
The documentation for this struct was generated from the following file:
Contact me in case of errors or questions.
This documentation is powered by
. |
(C) 2000-2002  |