User Tools

Site Tools


ai:modules:math:formula

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ai:modules:math:formula [2018/10/14 14:21] – [Formula language] icke_siegenai:modules:math:formula [2018/10/15 07:01] (current) icke_siegen
Line 8: Line 8:
 ^ ports | Input A [numeric/control]\\ Input B [numeric/control]\\ Input C [numeric/control]\\ Input D [numeric/control]\\ Out [numeric/control]\\ Compile Formula [pushbutton] | ^ ports | Input A [numeric/control]\\ Input B [numeric/control]\\ Input C [numeric/control]\\ Input D [numeric/control]\\ Out [numeric/control]\\ Compile Formula [pushbutton] |
 ^ skins | Small, **Medium** | ^ skins | Small, **Medium** |
 +
 +Type in the formula, wire inputs and output, hit ''Compile''. Now the output value is dynamically computed from the input value(s).
  
 ==== used in example ==== ==== used in example ====
  
-{{backlinks>.}}+{{backlinks>.#ai:examples}}
  
 ===== Manual ===== ===== Manual =====
 > Applies a user defined formula to the inputs and outputs the value on the Out port.  The formula syntax follows the mu parser format as specifed here:  http://muparser.beltoforion.de/ with a few additional functions such as the Modulus function mod(a, b) and the addition of vector component access in the Vector Formula module. > Applies a user defined formula to the inputs and outputs the value on the Out port.  The formula syntax follows the mu parser format as specifed here:  http://muparser.beltoforion.de/ with a few additional functions such as the Modulus function mod(a, b) and the addition of vector component access in the Vector Formula module.
-> {{:ai:modules:math:formula.png|}}+> {{:ai:modules:math:formula_skins.png|}}
  
 ===== Skins ===== ===== Skins =====
Line 48: Line 50:
 | asinh | 1 | hyperbolic arcus sine function | | asinh | 1 | hyperbolic arcus sine function |
 | acosh | 1 | hyperbolic arcus tangens function | | acosh | 1 | hyperbolic arcus tangens function |
-| atanh | 1 | hyperbolic arcur tangens function |+| atanh | 1 | hyperbolic arcus tangens function |
 | log2  | 1 | logarithm to the base 2  | | log2  | 1 | logarithm to the base 2  |
 | log10 | 1 | logarithm to the base 10 | | log10 | 1 | logarithm to the base 10 |
Line 83: Line 85:
 | / | division  | 6 | | / | division  | 6 |
 | <nowiki>^</nowiki> | raise x to the power of y | 7  | | <nowiki>^</nowiki> | raise x to the power of y | 7  |
- +  
- *The assignment operator is special since it changes one of its arguments and can only by applied to variables. +  * The assignment operator is special since it changes one of its arguments and can only by applied to variables. 
  
 ==== Ternary Operators ==== ==== Ternary Operators ====
ai/modules/math/formula.1539526881.txt.gz · Last modified: 2018/10/14 14:21 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki