rustemb/extra-functions@0.0.7

License: MIT

Extra functions and constants.
NodeDescription
factorial
Factorial of number. (n!)
gamma
Gamma function. (Г(n))
example-gamma
EXAMPLE gamma function
e
Provides e = 2.718281828459
exp
exp(x) = e^x
example-exp
EXAMPLE exp
tau
Provides tau = 2*pi = 6.283185307179586
circle-length
Circle length = 2 * pi * radius = tau * radius
example-trig-circ
EXAMPLE trigonometric functions for circle
circle-area
Circle area = pi * radius^2
arc-length
Arc length = radius * angle in radians
circle-sector-area
Circle sector area = 1/2 * radius * angle in radians
count-of-digits
Count of digits in integer number.
inc
Increment number by 1.
dec
Decrement number by one.
gcd
Calculates greatest common (positive) divisor.
lcm
Calculates least common (non-negative) multiple.
inv
inv(n) = 1/n
even
Is number even?
odd
Is number odd?
example-gcd-lcmNo description
To use the nodes in your project you should have the rustemb/extra-functions library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.