Class MEAL::PowerLaw

class PowerLaw : public MEAL::Univariate<Scalar>

PowerLaw function.

Public Functions

void set_scale(double scale)

Set the amplitude scale factor.

double get_scale() const

Get the centre.

void set_offset(double offset)

Set the horizontal offset.

double get_offset() const

Get the horizontal offset.

void set_power(double power)

Set the power.

double get_power() const

Get the power.

virtual std::string get_name() const

Return the name of the class.