Click or drag to resize

IConstraintsProjectorToProjectorWithoutFixedParameters Method

Creates a new constraint projector with all fixed parameters eliminated from the constraints.

Namespace: Altaxo.Calc.Optimization
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3618.0 (4.8.3618.0)
Syntax
C#
(IConstraintsProjector Projector, double?[] ) ToProjectorWithoutFixedParameters()

Return Value

ValueTupleIConstraintsProjector, NullableDouble
A tuple containing the new constraint projector with fixed parameters removed, and an array of nullable doubles representing the values of the fixed parameters.
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown if any fixed parameters remain after elimination, indicating an unexpected state.
Remarks
Use this method to obtain a projector that operates only on free parameters, with all parameters fixed by constraints removed. The returned array provides the values of the parameters that were fixed.
See Also