|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--pal.math.OrthogonalLineFunction
converts a multivariate function into a univariate function by keeping all but one argument constant
Constructor Summary | |
OrthogonalLineFunction(MultivariateFunction func)
construct univariate function from multivariate function |
Method Summary | |
double |
evaluate(double arg)
compute function value |
double |
getLowerBound()
get lower bound of argument |
double |
getUpperBound()
get upper bound of argument |
void |
selectArgument(int num)
use only the specified argument in the constructed univariate function and keep all others constant |
void |
setAllArguments(double[] start)
set (change) values of all arguments (start values) |
void |
setArgument(double val)
set (change) value of a single argument (the one currently active) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OrthogonalLineFunction(MultivariateFunction func)
func
- multivariate functionMethod Detail |
public void setAllArguments(double[] start)
start
- start valuespublic void setArgument(double val)
val
- value of argumentpublic void selectArgument(int num)
num
- argument numberpublic double evaluate(double arg)
UnivariateFunction
evaluate
in interface UnivariateFunction
pal.math.UnivariateFunction
function
- argumentpublic double getLowerBound()
UnivariateFunction
getLowerBound
in interface UnivariateFunction
pal.math.UnivariateFunction
public double getUpperBound()
UnivariateFunction
getUpperBound
in interface UnivariateFunction
pal.math.UnivariateFunction
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |