Skip to content

abstract.multiplier

multiplier(
*, scale: float = 1.0, exponent0: float = 1.0, exponent1: float = 1.0
) -> photonforge.Component

Abstract electrical multiplier: compute the product of 2 inputs.

Based on ExpressionTimeStepper.

Args

  • scale: Output scaling factor.
  • exponent0: Exponent used for the first input. Fractional values will fail on negative inputs.
  • exponent1: Exponent used for the second input. Fractional values will fail on negative inputs.