multiplier

photonforge.abstract.multiplier(*, scale=1.0, exponent0=1.0, exponent1=1.0)[source]

Abstract electrical multiplier: compute the product of 2 inputs.

Based on photonforge.ExpressionTimeStepper.

Parameters:
  • scale (float) – Output scaling factor.

  • exponent0 (float) – Exponent used for the first input. Fractional values will fail on negative inputs.

  • exponent1 (float) – Exponent used for the second input. Fractional values will fail on negative inputs.

Return type:

Component