|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.spaceroots.mantissa.functions.scalar.ScalarValuedPair
This class represents an (x, f(x)) pair for scalar functions.
A scalar function is a function of one scalar parameter x whose value is a scalar. This class is used has a simple placeholder to contain both an abscissa and the value of the function at this abscissa.
SampledFunction,
VectorialValuedPair,
Serialized Form| Constructor Summary | |
ScalarValuedPair(double x,
double y)
Simple constructor. |
|
ScalarValuedPair(ScalarValuedPair p)
Copy-constructor. |
|
| Method Summary | |
double |
getX()
Getter for the abscissa. |
double |
getY()
Getter for the ordinate. |
void |
setX(double x)
Setter for the abscissa. |
void |
setY(double y)
Setter for the ordinate. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ScalarValuedPair(double x,
double y)
x - abscissay - ordinate (value of the function)public ScalarValuedPair(ScalarValuedPair p)
p - point to copy| Method Detail |
public double getX()
public double getY()
public void setX(double x)
x - new value for the abscissapublic void setY(double y)
y - new value for the ordinate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||