public class PowerFunction2D extends java.lang.Object implements Function2D
| Constructor and Description |
|---|
PowerFunction2D(double a,
double b)
Creates a new power function.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getValue(double x)
Returns the value of the function for a given input ('x').
|
public PowerFunction2D(double a, double b)
a - the 'a' coefficient.b - the 'b' coefficient.public double getValue(double x)
getValue in interface Function2Dx - the x-value.Copyright © 2000-2009 by Object Refinery Limited. All Rights Reserved.