License: AGPL-3.0

Nodes of XOD for basic mathematical operations

Node | Description |
---|---|

abs | Outputs absolute value of an input number |

acos | Calculates arc cosine. |

asin | Calculates arc sine. |

atan | Calculates arc tangent. |

ceil | Rounds a number to a minimal integer that is greater than the number |

clip | Clips an input value so that the value is always inside a [MIN, MAX] range. |

cos | Calculates cosine of an angle. |

cube | Computes the cube (i.e. x³) of an input value. |

discretize | Rounds input `X` up to the first threshold `T0`, `T1`, ..., `T𝑛` greater or equal to the `X`. If `X` is even greater than the last threshold, the value is round down to it. |

floor | Rounds a number to a maximal integer that is less than the number |

is-finite | Determines if the given number has a finite value, i.e., it is normal, subnormal, or zero, but not infinite or NaN |

is-nan | Determines if the given number is a NaN value. |

log-10 | Computes logarithm of a number to base 10. |

log-bx | Computes logarithm of `X` to base `B`. |

log-e | Computes natural logarithm of a number. |

map | Projects a number from one range to another preserving ratio |

map-clip | Projects a number from one range to another preserving ratio. Then clips a result to the target range. |

max | Outputs the largest of provided numbers |

min | Outputs the smallest of provided numbers |

pi | Provides math 𝜋 (Pi) = 3.14159265359 |

pow | Computes the power of `BASE` raised to the power exponent `EXP` |

round | Rounds a number to nearest integer |

sin | Calculates sine of an angle. |

sqrt | Computes the square root of an input value. |

square | Computes the square (i.e. x²) of an input value. |

tan | Calculates tangent of an angle. |