Math Function
MathHet MathFunction-blok past een configureerbare wiskundige functie toe op het ingangssignaal. Het ondersteunt exponentiële functies (), natuurlijke en decimale logaritmen (, ), machtsverheffingen (), modulo/restwaarde en afrondingsoperaties (round, floor, ceil).
Wiskundig Model
Ingangen & Uitgangen
| Direction | ID | Label | Type | Status |
|---|---|---|---|---|
| → In | in |
Input | number | Required |
| ← Out | out |
Output | number | Output |
Parameters
| Parameters | Label | Type | Standaard | Beschrijving |
|---|---|---|---|---|
function |
Function | select | exp |
|
constant |
Constant (n) | number | 2 |
Opmerkingen & Best Practices
- Robuust bij Singulariteiten: Logaritmische functies geven netjes in plaats van een crash wanneer de invoer nul nadert.
- WASM Geoptimaliseerd: Gebruikt hardwarematige math-intrinsics voor maximale rekensnelheid.
Gerelateerde Componenten
- Trigonometric: Goniometrische functies (sin, cos, tan, atan2)
- SquareRoot: Vierkantswortel trekken
- Abs: Absolute waarde