amplify.constraint.clamp
- clamp(*args, **kwargs)
Overloaded function.
clamp(poly: amplify.BinaryPoly, ge: float, le: float, label: str = ‘’, method: amplify.InequalityFormulation = <InequalityFormulation.Default: 8>) -> amplify.BinaryConstraint
clamp(poly: amplify.BinaryIntPoly, ge: int, le: int, label: str = ‘’, method: amplify.InequalityFormulation = <InequalityFormulation.Default: 8>) -> amplify.BinaryIntConstraint
clamp(poly: amplify.IsingPoly, ge: float, le: float, label: str = ‘’, method: amplify.InequalityFormulation = <InequalityFormulation.Default: 8>) -> amplify.IsingConstraint
clamp(poly: amplify.IsingIntPoly, ge: int, le: int, label: str = ‘’, method: amplify.InequalityFormulation = <InequalityFormulation.Default: 8>) -> amplify.IsingIntConstraint
clamp(poly: amplify.BinaryPolyArray, ge: float, le: float, label: str = ‘’, method: amplify.InequalityFormulation = <InequalityFormulation.Default: 8>) -> amplify.BinaryConstraint
clamp(poly: amplify.BinaryPolyArrayView1, ge: float, le: float, label: str = ‘’, method: amplify.InequalityFormulation = <InequalityFormulation.Default: 8>) -> amplify.BinaryConstraint
clamp(poly: amplify.BinaryPolyArrayView2, ge: float, le: float, label: str = ‘’, method: amplify.InequalityFormulation = <InequalityFormulation.Default: 8>) -> amplify.BinaryConstraint
clamp(poly: amplify.BinaryPolyArrayView3, ge: float, le: float, label: str = ‘’, method: amplify.InequalityFormulation = <InequalityFormulation.Default: 8>) -> amplify.BinaryConstraint
clamp(poly: amplify.BinaryIntPolyArray, ge: int, le: int, label: str = ‘’, method: amplify.InequalityFormulation = <InequalityFormulation.Default: 8>) -> amplify.BinaryIntConstraint
clamp(poly: amplify.BinaryIntPolyArrayView1, ge: int, le: int, label: str = ‘’, method: amplify.InequalityFormulation = <InequalityFormulation.Default: 8>) -> amplify.BinaryIntConstraint
clamp(poly: amplify.BinaryIntPolyArrayView2, ge: int, le: int, label: str = ‘’, method: amplify.InequalityFormulation = <InequalityFormulation.Default: 8>) -> amplify.BinaryIntConstraint
clamp(poly: amplify.BinaryIntPolyArrayView3, ge: int, le: int, label: str = ‘’, method: amplify.InequalityFormulation = <InequalityFormulation.Default: 8>) -> amplify.BinaryIntConstraint
clamp(poly: amplify.IsingPolyArray, ge: float, le: float, label: str = ‘’, method: amplify.InequalityFormulation = <InequalityFormulation.Default: 8>) -> amplify.IsingConstraint
clamp(poly: amplify.IsingPolyArrayView1, ge: float, le: float, label: str = ‘’, method: amplify.InequalityFormulation = <InequalityFormulation.Default: 8>) -> amplify.IsingConstraint
clamp(poly: amplify.IsingPolyArrayView2, ge: float, le: float, label: str = ‘’, method: amplify.InequalityFormulation = <InequalityFormulation.Default: 8>) -> amplify.IsingConstraint
clamp(poly: amplify.IsingPolyArrayView3, ge: float, le: float, label: str = ‘’, method: amplify.InequalityFormulation = <InequalityFormulation.Default: 8>) -> amplify.IsingConstraint
clamp(poly: amplify.IsingIntPolyArray, ge: int, le: int, label: str = ‘’, method: amplify.InequalityFormulation = <InequalityFormulation.Default: 8>) -> amplify.IsingIntConstraint
clamp(poly: amplify.IsingIntPolyArrayView1, ge: int, le: int, label: str = ‘’, method: amplify.InequalityFormulation = <InequalityFormulation.Default: 8>) -> amplify.IsingIntConstraint
clamp(poly: amplify.IsingIntPolyArrayView2, ge: int, le: int, label: str = ‘’, method: amplify.InequalityFormulation = <InequalityFormulation.Default: 8>) -> amplify.IsingIntConstraint
clamp(poly: amplify.IsingIntPolyArrayView3, ge: int, le: int, label: str = ‘’, method: amplify.InequalityFormulation = <InequalityFormulation.Default: 8>) -> amplify.IsingIntConstraint