BoxConstraintsProjector(NullableDouble, NullableDouble, NullableDouble) Constructor |
Initializes a new instance of the BoundaryConstraintProjector class with specified fixed values and optional
lower and upper bounds.
Namespace: Altaxo.Calc.OptimizationAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3618.0 (4.8.3618.0)
Syntaxpublic BoxConstraintsProjector(
double?[] fixedValues,
double?[]? lowerBounds,
double?[]? upperBounds
)
Parameters
- fixedValues NullableDouble
- An array of fixed values for each dimension. Null entries indicate unfixed dimensions.
- lowerBounds NullableDouble
- An optional array specifying the lower bounds for each dimension. Null entries indicate no lower bound.
- upperBounds NullableDouble
- An optional array specifying the upper bounds for each dimension. Null entries indicate no upper bound.
Exceptions| Exception | Condition |
|---|
| ArgumentException | Thrown when the lengths of lowerBounds or upperBounds do not match fixedValues, when a fixed value is NaN, when
a fixed value is outside the specified bounds, or when a lower bound is greater than the corresponding upper
bound. |
See Also