Package edu.cnu.mdi.splot.fit
Class PolynomialFitter.ParameterBounds
java.lang.Object
edu.cnu.mdi.splot.fit.PolynomialFitter.ParameterBounds
- Enclosing class:
PolynomialFitter
Coefficient bounds for c0..cN. Use +/-infinity for "no bound".
This is retained as a polynomial-friendly API, but the actual enforcement is
handled through the base class ParameterValidator mechanism (via
clamping).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder for per-coefficient bounds. -
Method Summary
-
Method Details
-
size
public int size()- Returns:
- number of parameters (degree+1).
-
lower
public double[] lower()- Returns:
- defensive copy of lower bounds.
-
upper
public double[] upper()- Returns:
- defensive copy of upper bounds.
-
unbounded
Create unbounded bounds for nParams parameters. -
builder
Builder for coefficient bounds for a given degree.
-