|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--numericalMethods.calculus.minimizing.nmLineND
Field Summary | |
(package private) double[] |
direction
|
(package private) int |
n
|
(package private) double[] |
point
|
(package private) double |
t
|
Constructor Summary | |
nmLineND(double[] aPoint,
double[] aDirection)
|
Method Summary | |
double[] |
getDirection()
Get the value of direction. |
double[] |
getDoubleArrayValue()
|
void |
getDoubleArrayValue(double[] value,
int offset)
Writes the double array value into a
double[] . |
int |
getDoubleArrayValueLength()
Get the length of the double array value. |
int |
getN()
Get the value of n. |
double[] |
getPoint()
Get the value of point. |
double |
getT()
Get the value of t. |
void |
getValue(double[] value)
|
void |
setDirection(double[] v)
Set the value of direction. |
void |
setDoubleParameter(double p)
Set the double parameter. |
void |
setN(int v)
Set the value of n. |
void |
setPoint(double[] v)
Set the value of point. |
void |
setT(double v)
Set the value of t. |
Methods inherited from class java.lang.Object |
|
Field Detail |
double[] point
double[] direction
int n
double t
Constructor Detail |
public nmLineND(double[] aPoint, double[] aDirection)
Method Detail |
public double getT()
public void setT(double v)
v
- Value to assign to t.public int getN()
public void setN(int v)
v
- Value to assign to n.public double[] getDirection()
public void setDirection(double[] v)
v
- Value to assign to direction.public double[] getPoint()
public void setPoint(double[] v)
v
- Value to assign to point.public void setDoubleParameter(double p)
nmDoubleParametrized
double
parameter.setDoubleParameter
in interface nmDoubleParametrized
numericalMethods.function.nmDoubleParametrized
p
- the value to which the double
parameter is set.public double[] getDoubleArrayValue()
public final int getDoubleArrayValueLength()
nmDoubleArrayValued
double
array value.getDoubleArrayValueLength
in interface nmDoubleArrayValued
numericalMethods.function.nmDoubleArrayValued
double
array value.public final void getValue(double[] value)
public final void getDoubleArrayValue(double[] value, int offset)
nmDoubleArrayValued
double
array value into a
double[]
. When the method returns,
value[offset,…,offset+len-1]
contains the
double
array value, where len
is the value
returned by nmDoubleArrayValued.getDoubleArrayValueLength()
. The other elements
of value
should not be changed.getDoubleArrayValue
in interface nmDoubleArrayValued
numericalMethods.function.nmDoubleArrayValued
value
- a double[]
whith length at least
offset+len
, into which the double
array
value is copied.offset
- the position in value
where the
double
array value is copied to.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |