ParameterOptimizerCheckEqualitySatisfaction Method |
A helper method to determine if the
equality constraints are
satisfied with the
currentEqualityValues.
Namespace:
AGI.Foundation.NumericalMethods
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public static bool CheckEqualitySatisfaction(
IList<SolverConstraintSettings> equalities,
double[] currentEqualityValues
)
Public Shared Function CheckEqualitySatisfaction (
equalities As IList(Of SolverConstraintSettings),
currentEqualityValues As Double()
) As Boolean
public:
static bool CheckEqualitySatisfaction(
IList<SolverConstraintSettings^>^ equalities,
array<double>^ currentEqualityValues
)
static member CheckEqualitySatisfaction :
equalities : IList<SolverConstraintSettings> *
currentEqualityValues : float[] -> bool
Parameters
- equalities
- Type: System.Collections.GenericIListSolverConstraintSettings
The equality constraints of the function. - currentEqualityValues
- Type: SystemDouble
The values to check against the DesiredValue
of the equalities.
Return Value
Type:
Boolean if all of the equality constraints are satisfied or there are no equality constraints;
otherwise
.
See Also