Chapter 4
MATH – Math blocks
The MATH library offers a comprehensive collection of mathematical operations and functions. It includes basic arithmetic blocks like ADD, SUB, MUL, and DIV for standard calculations, and more specialized blocks such as ABS for absolute values, SQRT for square roots, and SQR for squaring. Advanced functionalities are provided by blocks like LIN for linear transformations, POL for polynomial evaluations, and FNX, FNXY for customizable mathematical functions. The library also features integer-specific operations through blocks like IADD, IMUL, IDIV, and IMOD.
ADD – Addition of two signals
ADDQUAD, ADDOCT, ADDHEXD – Multi-input addition
CNB – Boolean (logic) constant
CNE – Enumeration constant
CNI – Integer constant
CNR – Real constant
DIF – Difference
DIV – Division of two signals
EAS – Extended addition and subtraction
EMD – Extended multiplication and division
FNX – Evaluation of single-variable function
FNXY – Evaluation of two-variables function
GAIN – Multiplication by a constant
GRADS – Gradient search optimization
IADD – Integer addition
IDIV – Integer division
IMOD – Remainder after integer division
IMUL – Integer multiplication
ISUB – Integer subtraction
LIN – Linear interpolation
MUL – Multiplication of two signals
POL – Polynomial evaluation
REC – Reciprocal value
REL – Relational operator
RTOI – Real to integer number conversion
SQR – Square value
SQRT – Square root
SUB – Subtraction of two signals
UTOI – Unsigned to signed integer number conversion
[Previous] [Back to top] [Up] [Next]
2024 © REX Controls s.r.o., www.rexygen.com