|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.math3.optim.SimpleBounds
public class SimpleBounds
Simple optimization constraints: lower and upper bounds.
The valid range of the parameters is an interval that can be infinite
(in one or both directions).
Immutable class.
Constructor Summary | |
---|---|
SimpleBounds(double[] lB,
double[] uB)
|
Method Summary | |
---|---|
double[] |
getLower()
Gets the lower bounds. |
double[] |
getUpper()
Gets the upper bounds. |
static SimpleBounds |
unbounded(int dim)
Factory method that creates instance of this class that represents unbounded ranges. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleBounds(double[] lB, double[] uB)
lB
- Lower bounds.uB
- Upper bounds.Method Detail |
---|
public double[] getLower()
public double[] getUpper()
public static SimpleBounds unbounded(int dim)
dim
- Number of parameters.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |