Formula¶
Functionality¶
- Formula2 - support next operations:
- vector*vector, define hierarhy and calculate respectfully to it.
- Vector*scalar, the same. And output to vector.
- Moreover, you can define lists with formula, i.e.
`0,1,2,3,4,5`
for series or`(1,2,3),(1,2,3)`
for vertices. - Supporting expressions beside * / - +:
- acos()
- acosh()
- asin()
- asinh()
- atan()
- atan2()
- atanh()
- ceil()
- copysign()
- cos()
- cosh()
- degrees()
- e
- erf()
- erfc()
- exp()
- expm1()
- fabs()
- factorial()
- floor()
- fmod()
- frexp()
- fsum()
- gamma()
- hypot()
- isfinite()
- isinf()
- isnan()
- ldexp()
- lgamma()
- log()
- log10()
- log1p()
- log2()
- modf()
- pi
- pow()
- radians()
- sin()
- sinh()
- sqrt()
- str()
- tan()
- tanh()
- trunc()
- ==
- !=
- <, >
- for, in, if, else
- []
Inputs¶
X - main x that defines sequence. it can be range of vertices or range of floats/integers. If x == one number, than other veriables will be the same - one number, if two - two.
n[0,1,2,3,4] - multisocket for veriables.
Parameters¶
Formula - the string line, defining formula, i.e. `x>n[0]`
or `x**n[0]+(n[1]/n[2])`
are expressions.
May have `x if x>n[0] else n[1]`
Outputs¶
Result - what we got as result.