OpenCurves  0.9
Power< T > Struct Template Reference

A binary_function object which raises the one value to the power of another. More...

#include <plotexpressionarithmetic.h>

Inheritance diagram for Power< T >:

Public Member Functions

operator() (const T &left, const T &right) const
 Expression effector calculating left raised to the power of right. More...
 

Detailed Description

template<class T>
struct Power< T >

A binary_function object which raises the one value to the power of another.

Member Function Documentation

template<class T >
T Power< T >::operator() ( const T &  left,
const T &  right 
) const
inline

Expression effector calculating left raised to the power of right.

Parameters
leftThe base value.
rightThe exponent.
Returns
left raised to the power of right.

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