equal_to¶

equal_to(poly: Poly, right: float, label: str = '') Constraint¶
equal_to(array: PolyArray, right: float, label: str = '', axis: Literal[None] | None = None) Constraint
equal_to(
array: PolyArray,
right: float,
label: str = '',
axis: int | tuple[int, ...] | None = None,
) Constraint | ConstraintList

equal_to

Overloading:

1. equal_to(poly: amplify.Poly, right: float, label: str = '') -> amplify.Constraint

Args:
  • poly (amplify.Poly):

  • right (float):

  • label (str): Defaults to ''.

Returns:

amplify.Constraint:

2. equal_to(array: amplify.PolyArray, right: float, label: str = '', axis: Optional[Literal[None]] = None) -> amplify.Constraint

Args:
  • array (amplify.PolyArray):

  • right (float):

  • label (str): Defaults to ''.

  • axis (Literal[None] | None): Defaults to None.

Returns:

amplify.Constraint:

3. equal_to(array: amplify.PolyArray, right: float, label: str = '', axis: Optional[Union[int, tuple[int, ...]]] = None) -> Union[amplify.Constraint, amplify.ConstraintList]

Args:
  • array (amplify.PolyArray):

  • right (float):

  • label (str): Defaults to ''.

  • axis (int | tuple[int, ...] | None): Defaults to None.

Returns:

amplify.Constraint | amplify.ConstraintList: