1 #ifndef __JMATH__JPOWER__
2 #define __JMATH__JPOWER__
13 namespace JPP {
using namespace JMATH; }
98 in >>
object.alpha >>
object.factor;
113 return out <<
object.alpha <<
' ' <<
object.factor;
Power law function object.
double getValue(const double x) const
Function value.
double operator()(const double x) const
Function value.
JPower(const double alpha, const double factor=1.0)
Constructor.
friend std::istream & operator>>(std::istream &in, JPower &object)
Read power from input.
double getIntegral(const double x) const
Integral value.
double getDerivative(const double x) const
Derivative value.
T pow(const T &x, const double y)
Power .
then set_variable DIR else fatal Wrong number of arguments fi for INPUT_FILE in ls rt $DIR stage * log
friend std::ostream & operator<<(std::ostream &out, const JPower &object)
Write power to output.
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in