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

Power Struct Template Reference

Generic power calculation. More...

#include <generic_math.h>

Collaboration diagram for Power:

Collaboration graph
[legend]
List of all members.

Static Public Attributes

const LongDouble value = X*Power<X, Y-1>::value

Detailed Description

template<int X, int Y>
struct rs::gen_math::Power< X, Y >

Generic power calculation.

Power<X,Y>::value calculates the Yth power of X at compile time

Definition at line 20 of file generic_math.h.


Member Data Documentation

const LongDouble value = X*Power<X, Y-1>::value [static]
 

Definition at line 20 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