equal_to¶
- equal_to(poly: Poly, right: float, label: str = '') Constraint ¶
- equal_to(array: PolyArray[_Dim], right: float, label: str = '', *, axis: Literal[None] = None) Constraint
- equal_to( ) Constraint | ConstraintList
- equal_to(array: PolyArray[_Dim], right: float, label: str = '', *, axis: tuple[()]) ConstraintList
- equal_to(array: PolyArray[Dim1], right: float, label: str = '', *, axis: int | tuple[int]) Constraint
- equal_to(array: PolyArray[Dim2], right: float, label: str = '', *, axis: tuple[int, int]) Constraint
- equal_to(array: PolyArray[Dim2], right: float, label: str = '', *, axis: int | tuple[int]) ConstraintList
- equal_to(array: PolyArray[Dim3], right: float, label: str = '', *, axis: tuple[int, int, int]) Constraint
- equal_to( ) ConstraintList
- equal_to(array: PolyArray[Dim4], right: float, label: str = '', *, axis: tuple[int, int, int, int]) Constraint
- equal_to(
- array: PolyArray[Dim4],
- right: float,
- label: str = '',
- *,
- axis: int | tuple[int] | tuple[int, int] | tuple[int, int, int],
equal_to
Overload 1.
- Args:
poly (amplify.Poly)
right (float)
label (str): Defaults to
''
.
- Returns:
amplify.Constraint:
Overload 2.
- Args:
array (amplify.PolyArray[_Dim])
right (float)
label (str): Defaults to
''
.axis (typing.Literal[None]): Defaults to
None
.
- Returns:
amplify.Constraint:
Overload 3.
- Args:
array (amplify.PolyArray[Dim])
right (float)
label (str): Defaults to
''
.axis (int | tuple[int, …])
- Returns:
amplify.Constraint | amplify.ConstraintList:
Overload 4.
- Args:
array (amplify.PolyArray[_Dim])
right (float)
label (str): Defaults to
''
.axis (tuple[()])
- Returns:
amplify.ConstraintList:
Overload 5.
- Args:
array (amplify.PolyArray[Dim1])
right (float)
label (str): Defaults to
''
.axis (int | tuple[int])
- Returns:
amplify.Constraint:
Overload 6.
- Args:
array (amplify.PolyArray[Dim2])
right (float)
label (str): Defaults to
''
.axis (tuple[int, int])
- Returns:
amplify.Constraint:
Overload 7.
- Args:
array (amplify.PolyArray[Dim2])
right (float)
label (str): Defaults to
''
.axis (int | tuple[int])
- Returns:
amplify.ConstraintList:
Overload 8.
- Args:
array (amplify.PolyArray[Dim3])
right (float)
label (str): Defaults to
''
.axis (tuple[int, int, int])
- Returns:
amplify.Constraint:
Overload 9.
- Args:
array (amplify.PolyArray[Dim3])
right (float)
label (str): Defaults to
''
.axis (int | tuple[int] | tuple[int, int])
- Returns:
amplify.ConstraintList:
Overload 10.
- Args:
array (amplify.PolyArray[Dim4])
right (float)
label (str): Defaults to
''
.axis (tuple[int, int, int, int])
- Returns:
amplify.Constraint:
Overload 11.
- Args:
array (amplify.PolyArray[Dim4])
right (float)
label (str): Defaults to
''
.axis (int | tuple[int] | tuple[int, int] | tuple[int, int, int])
- Returns:
amplify.ConstraintList: