|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.mathematics.analysis.ValuedPair
public class ValuedPair
This class represents an (x, f(x)) pair for vectorial functions.
A vectorial function is a function of one vectorial parameter x whose value is a vector. This class is used has a simple placeholder to contain both an abscissa and the value of the function at this abscissa.
SampledMapping,
Serialized Form| Constructor Summary | |
|---|---|
ValuedPair(double x,
double y)
Simple constructor, values are wrapped into their corresponding type and into an array. |
|
ValuedPair(float x,
float y)
Simple constructor, values are wrapped into their corresponding type and into an array. |
|
ValuedPair(int x,
int y)
Simple constructor, values are wrapped into their corresponding type and into an array. |
|
ValuedPair(long x,
long y)
Simple constructor, values are wrapped into their corresponding type and into an array. |
|
ValuedPair(java.lang.Number[] x,
java.lang.Number[] y)
Simple constructor. |
|
ValuedPair(java.lang.Number x,
java.lang.Number y)
Simple constructor, values are wrapped into an array. |
|
ValuedPair(ValuedPair p)
Copy-constructor. |
|
| Method Summary | |
|---|---|
java.lang.Number[] |
getX()
Getter for the abscissa, values are wrapped into an array. |
java.lang.Number[] |
getY()
Getter for the ordinate, values are wrapped into an array. |
void |
setX(double x)
Setter for the abscissa, value is wrapped into its corresponding type and into an array. |
void |
setX(float x)
Setter for the abscissa, value is wrapped into its corresponding type and into an array. |
void |
setX(int x)
Setter for the abscissa, value is wrapped into its corresponding type and into an array. |
void |
setX(long x)
Setter for the abscissa, value is wrapped into its corresponding type and into an array. |
void |
setX(java.lang.Number x)
Setter for the abscissa, value is wrapped into an array. |
void |
setX(java.lang.Number[] x)
Setter for the abscissa. |
void |
setY(double y)
Setter for the ordinate, value is wrapped into its corresponding type and into an array. |
void |
setY(float y)
Setter for the ordinate, value is wrapped into its corresponding type and into an array. |
void |
setY(int y)
Setter for the ordinate, value is wrapped into its corresponding type and into an array. |
void |
setY(long y)
Setter for the ordinate, value is wrapped into its corresponding type and into an array. |
void |
setY(java.lang.Number y)
Setter for the ordinate, value is wrapped into an array. |
void |
setY(java.lang.Number[] 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 ValuedPair(double x,
double y)
x - abscissay - ordinate (value of the function)
public ValuedPair(float x,
float y)
x - abscissay - ordinate (value of the function)
public ValuedPair(long x,
long y)
x - abscissay - ordinate (value of the function)
public ValuedPair(int x,
int y)
x - abscissay - ordinate (value of the function)
public ValuedPair(java.lang.Number x,
java.lang.Number y)
x - abscissay - ordinate (value of the function)
public ValuedPair(java.lang.Number[] x,
java.lang.Number[] y)
x - abscissay - ordinate (value of the function)public ValuedPair(ValuedPair p)
p - point to copy| Method Detail |
|---|
public java.lang.Number[] getX()
public java.lang.Number[] getY()
public void setX(double x)
x - new value for the abscissapublic void setY(double y)
y - new value for the ordinatepublic void setX(float x)
x - new value for the abscissapublic void setY(float y)
y - new value for the ordinatepublic void setX(long x)
x - new value for the abscissapublic void setY(long y)
y - new value for the ordinatepublic void setX(int x)
x - new value for the abscissapublic void setY(int y)
y - new value for the ordinatepublic void setX(java.lang.Number x)
x - new value for the abscissapublic void setY(java.lang.Number y)
y - new value for the ordinatepublic void setX(java.lang.Number[] x)
x - new value for the abscissapublic void setY(java.lang.Number[] y)
y - new value for the ordinate
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||