public class OrthogonalLineFunction extends Object implements UnivariateFunction
| Constructor and Description |
|---|
OrthogonalLineFunction(MultivariateFunction func)
construct univariate function from multivariate function
|
| Modifier and Type | Method and Description |
|---|---|
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)
|
public OrthogonalLineFunction(MultivariateFunction func)
func - multivariate functionpublic 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)
UnivariateFunctionevaluate in interface UnivariateFunctionarg - function argumentpublic double getLowerBound()
UnivariateFunctiongetLowerBound in interface UnivariateFunctionpublic double getUpperBound()
UnivariateFunctiongetUpperBound in interface UnivariateFunctionCopyright © 2015–2021 Fiji. All rights reserved.