amplify.constraint.clamp

clamp(*args, **kwargs)

Overloaded function.

  1. clamp(arg0: amplify.BinaryPoly, arg1: int, arg2: int) -> amplify.BinaryConstraint

  2. clamp(arg0: amplify.BinaryIntPoly, arg1: int, arg2: int) -> amplify.BinaryIntConstraint

  3. clamp(arg0: amplify.IsingPoly, arg1: int, arg2: int) -> amplify.IsingConstraint

  4. clamp(arg0: amplify.IsingIntPoly, arg1: int, arg2: int) -> amplify.IsingIntConstraint