|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjebl.math.OrthogonalLineFunction
public class 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 |
|
OrthogonalLineFunction(MultivariateFunction func,
int selectedDimension,
double[] initialArguments)
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 function
public OrthogonalLineFunction(MultivariateFunction func,
int selectedDimension,
double[] initialArguments)
func - multivariate functionselectedDimension - The selected dimension/argument that the line "runs" alonginitialArguments - the initial arguments to the base MultivariateFunction (may be null)| Method 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 UnivariateFunctionarg - function argument
public double getLowerBound()
UnivariateFunction
getLowerBound in interface UnivariateFunctionpublic double getUpperBound()
UnivariateFunction
getUpperBound in interface UnivariateFunction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||