ProteoWizard
Public Member Functions | List of all members
ralab::base::stats::NthPower< N, TReal > Struct Template Reference

#include <scale.hpp>

Inheritance diagram for ralab::base::stats::NthPower< N, TReal >:

Public Member Functions

TReal operator() (const TReal &x)
 

Detailed Description

template<int N, typename TReal>
struct ralab::base::stats::NthPower< N, TReal >

Definition at line 42 of file scale.hpp.

Member Function Documentation

◆ operator()()

template<int N, typename TReal >
TReal ralab::base::stats::NthPower< N, TReal >::operator() ( const TReal &  x)
inline

Definition at line 44 of file scale.hpp.

45 {
46 TReal ret = x;
47 for (int i=1; i < N; ++i) {
48 ret *= x;
49 }
50 return ret;
51 }
N
Definition Chemistry.hpp:80
KernelTraitsBase< Kernel >::space_type::abscissa_type x

References N, and x.


The documentation for this struct was generated from the following file: