Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template pow

boost::units::pow — raise a value to a static_rational power.

Synopsis

// In header: <boost/units/pow.hpp>


template<typename Rat, typename Y> 
  power_typeof_helper< Y, Rat >::type pow(const Y & x);

Description

raise a value to an integer power.


PrevUpHomeNext