Appearance
Multiply
Multiplies (or divides) two double signals: out = a * b or out = a / b. Selectable per-instance.
Category: Math
Keywords: ×, ÷, *, /, product, divide, division, ratio, div, mult
Ports
| Name | Direction | Value type | Notes |
|---|---|---|---|
in_a | input | double | |
in_b | input | double | |
out | output | double |
Parameters
| Name | Label | Type | Default | Units | Description |
|---|---|---|---|---|---|
op | Operation | enum (× / ÷) | 0 | — | 0 = multiply (a × b), 1 = divide (a ÷ b). |
Used in samples
Implemented in C++ class SimCompCtlMultiply (components/control/CSim_comp_ctl_multiply/sim_comp_ctl_multiply.h).