Skip to main content

*=

Symbol of State.

Overloads

NameDescription
(State lhs *= const bool rhs) -> StateMultiplies the state by a constant coefficient.
(State lhs *= const real rhs) -> StateMultiplies the state by a constant coefficient.
(State lhs *= const integer rhs) -> StateMultiplies the state by a constant coefficient.
(State lhs *= const complex rhs) -> StateMultiplies the state by a constant coefficient.

(State lhs *= const bool rhs) -> State

Multiplies the state by a constant coefficient.

Performs in-place multiplication of all coefficients in the state by the given value.

Parameters

  • lhs: Left-hand side value.
  • rhs: The coefficient to multiply the state by.

(State lhs *= const real rhs) -> State

Multiplies the state by a constant coefficient.

Performs in-place multiplication of all coefficients in the state by the given value.

Parameters

  • lhs: Left-hand side value.
  • rhs: The coefficient to multiply the state by.

(State lhs *= const integer rhs) -> State

Multiplies the state by a constant coefficient.

Performs in-place multiplication of all coefficients in the state by the given value.

Parameters

  • lhs: Left-hand side value.
  • rhs: The coefficient to multiply the state by.

(State lhs *= const complex rhs) -> State

Multiplies the state by a constant coefficient.

Performs in-place multiplication of all coefficients in the state by the given value.

Parameters

  • lhs: Left-hand side value.
  • rhs: The coefficient to multiply the state by.