Appearance
Math Function
Applies one function to a double input: |u|, √u, u², 1/u, sign, eᵘ, ln, log₁₀, or the power aᵇ (which adds a second input b at the bottom). Out-of-domain inputs follow IEEE-754 arithmetic, as Multiply does for division: √ of a negative number and ln or log₁₀ of a negative number give NaN, ln 0 gives −∞, and 1/0 gives ±∞. sign gives −1, 0 or 1.
Category: Math
Ports
| Port | Kind | Signal | Notes |
|---|---|---|---|
in | Control input | Real | |
in_b | Control input | Real | Shown when Function is aᵇ |
out | Control output | Real |
Parameters
| Parameter | Type | Default | Units | Description | ID |
|---|---|---|---|---|---|
| Function | Choice: |u| / √u / u² / 1/u / sgn / eᵘ / ln / log₁₀ / aᵇ | |u| | — | The function applied to the input u. aᵇ raises the input a to the power on the second input b. | op |