FEDRA emulsion software from the OPERA Collaboration
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
meta_mag< I > Struct Template Reference

#include <Functions.hh>

Static Public Member Functions

template<class A , class T >
static T f (const A &rhs, const T &x)
 

Member Function Documentation

◆ f()

template<unsigned int I>
template<class A , class T >
static T meta_mag< I >::f ( const A &  rhs,
const T &  x 
)
inlinestatic
168 {
169 return square(rhs.apply(I)) + meta_mag<I-1>::f(rhs, x);
170 }
const T square(const T &x)
Definition: Functions.hh:46
static T f(const A &rhs, const T &x)
Definition: Functions.hh:168

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