numericalMethods.calculus.minimizing
Class nmLineNDEvaluator

java.lang.Object
  |
  +--numericalMethods.calculus.minimizing.nmLineND
        |
        +--numericalMethods.calculus.minimizing.nmLineNDEvaluator
All Implemented Interfaces:
nmDoubleArrayValued, nmDoubleParametrized, nmDoubleValued, java.io.Serializable
Direct Known Subclasses:
nmLineNDBrent

public class nmLineNDEvaluator
extends nmLineND
implements nmDoubleValued, java.io.Serializable

See Also:
Serialized Form

Field Summary
protected  nmDoubleArrayParametrized doubleArrayParametrized
           
protected  nmDoubleValued doubleValued
           
protected  double[] pointAtT
           
 
Fields inherited from class numericalMethods.calculus.minimizing.nmLineND
direction, n, point, t
 
Constructor Summary
nmLineNDEvaluator(nmDoubleArrayParametrized functionND)
           
nmLineNDEvaluator(nmDoubleArrayParametrized functionNDPar, nmDoubleValued functionNDVal)
           
nmLineNDEvaluator(nmDoubleArrayParametrized functionNDpar, nmDoubleValued functionNDval, double[] point, double[] direction)
           
 
Method Summary
 double getDoubleValue()
          Get the double value.
 void setDoubleParameter(double p)
          Set the double parameter.
 
Methods inherited from class numericalMethods.calculus.minimizing.nmLineND
getDirection, getDoubleArrayValue, getDoubleArrayValue, getDoubleArrayValueLength, getN, getPoint, getT, getValue, setDirection, setN, setPoint, setT
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

doubleArrayParametrized

protected nmDoubleArrayParametrized doubleArrayParametrized

doubleValued

protected nmDoubleValued doubleValued

pointAtT

protected double[] pointAtT
Constructor Detail

nmLineNDEvaluator

public nmLineNDEvaluator(nmDoubleArrayParametrized functionND)

nmLineNDEvaluator

public nmLineNDEvaluator(nmDoubleArrayParametrized functionNDPar,
                         nmDoubleValued functionNDVal)

nmLineNDEvaluator

public nmLineNDEvaluator(nmDoubleArrayParametrized functionNDpar,
                         nmDoubleValued functionNDval,
                         double[] point,
                         double[] direction)
Method Detail

setDoubleParameter

public void setDoubleParameter(double p)
Description copied from interface: nmDoubleParametrized
Set the double parameter.
Overrides:
setDoubleParameter in class nmLineND
Following copied from interface: numericalMethods.function.nmDoubleParametrized
Parameters:
p - the value to which the double parameter is set.

getDoubleValue

public double getDoubleValue()
Description copied from interface: nmDoubleValued
Get the double value.
Specified by:
getDoubleValue in interface nmDoubleValued
Following copied from interface: numericalMethods.function.nmDoubleValued
Returns:
the double value.