|
Header
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jfree.data.function.PowerFunction2D
public class PowerFunction2D
A function of the form y = a * x ^ b.
Constructor Summary | |
---|---|
PowerFunction2D(double a,
double b)
Creates a new power function. |
Method Summary | |
---|---|
double |
getValue(double x)
Returns the value of the function for a given input ('x'). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PowerFunction2D(double a, double b)
a
- the 'a' coefficient.b
- the 'b' coefficient.Method Detail |
---|
public double getValue(double x)
getValue
in interface Function2D
x
- the x-value.
|
Footer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |