Accord.Math.Optimization.NonlinearConstraint.IsViolated C# (CSharp) Method

IsViolated() public method

Gets whether this constraint is being violated (within the current tolerance threshold).
public IsViolated ( double input ) : bool
input double The function point.
return bool
        public bool IsViolated(double[] input)
        {
            return GetViolation(input) < -Tolerance;
        }