🚧 under construction 🚧
The latex2lambda parses LaTeX mathematical expressions into the correspondent python lambda function. It is adapted from latex2sympy2 by OrangeX4, which is an adaptation from augustt198/latex2sympy and purdue-tlt / latex2sympy.
This project is a part of the Lion Of Graphs project, is an application that aims to generate any kind of graphs, that can be highly configurated its the users.
ANTLR is used to generate the parser.
🚧 under construction 🚧
- Arithmetic: Add (+), Sub (-), Dot Mul (·), Cross Mul (×), Frac (/), Power (^), Abs (|x|), Sqrt (√), etc...
- Alphabet: a - z, A - Z, α - ω, Subscript (x_1), Accent Bar(ā), etc...
- Common Functions: gcd, lcm, floor, ceil, max, min, log, ln, exp, sin, cos, tan, csc, sec, cot, arcsin, sinh, arsinh, etc...
- Funcion Symbol: f(x), f(x-1,), g(x,y), etc...
-
Calculous: Limit (
$lim_{n\to\infty}$ ), Derivation ($\frac{d}{dx}(x^2+x)$), Integration ($\int xdx$ ), etc... - Linear Algebra: Matrix, Determinant, Transpose, Inverse, Elementary Transformation, etc...
- Other: Binomial...
NOTICE: It will do some irreversible calculations when converting determinants, transposed matrixes and elementary transformations...
🚧 under construction 🚧
🚧 under construction 🚧
If you want to add a new grammar, you can fork the code from OrangeX4/latex2sympy.
🚧 under construction 🚧
luisferreira32 |
Mr Toino |
GNU General Public License © 2023. See source reference.
🚧 under construction 🚧