symengine
ExprTK
Our great sponsors
symengine | ExprTK | |
---|---|---|
5 | 10 | |
1,094 | 570 | |
2.7% | - | |
7.2 | 0.0 | |
13 days ago | 4 months ago | |
C++ | C++ | |
GNU General Public License v3.0 or later | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
symengine
-
C++ library for solving EQUATIONS
SymEngine will do this: https://github.com/symengine/symengine
-
Maxima: A computer algebra system written in Common Lisp
If you need programmability or interoperability, Sympy is way nicer. If you just want an interactive symbolic calculator, Maxima is fine but sometimes quirky (has odd conventions due mainly to its age). As heisig points out, Maxima can be quite a bit faster (but I run into slow things with it too). Using Maxima via Sage is in some ways the best of both worlds.
You may also be interested in SymEngine: https://github.com/symengine/symengine
-
Help rendering LateX equation to image format
Context: I'm making a application for robotics calculations, making symbolic calculations using (symengine), and at some point I would like to be able to see the steps of these calculations, symengine has a function that returns the latex code do the elements you want. So I was trying to find a library or something of sorts to render that text into an image, I'm using Dear IMGUI in the docking branch to make a simple UI where I would like to display these equations. I know it might not even exists but I would like to give it a try. I found KLateXFormula, which depends on Qt as far as I understood, so I would like to avoid that if possible, I also studied a bit about the TeXStudio repo and found they use Qt to render previews. I also tried to understand the miktex repo searching for a function that I could use, but I barely understood the structure of the repo. I'm getting frustraded. I also found approaches where people would call latex executables to parse latex to DVI(Or something like this) but I would also like to avoid this approaches if possible.
-
Announcing Savage, a computer algebra system written in Rust
- Might there be any way to leverage the work of https://github.com/symengine/symengine ? I assume a straight-up language binding to symengine might be a completely separate project, but possibly for some specific features symengine, maybe... (It is a pity they chose c++ and not rust to implement symengine in. In the end, the main target seems python/sympy here and not c++.)
- How do you deal with the fact that all the math, physics you did in university is pretty much useless in the workplace because you don't need them and your position doesn't require you to know them?
ExprTK
-
A Cpp library to evaluate mathematical literal expressions dynamically
I have found many libraries that can evaluate mathematical expressions, e.g. this one: https://www.partow.net/programming/exprtk/index.html
-
Better library for evaluating math expressions stored on a String
I have used https://github.com/ArashPartow/exprtk for this task, since it is cpp we also used on IOS, however in android we changed to exp4j since it requires less space and did the same job.
-
What do I do if a repo only has a make file and I'm on windows?
For the specific example repo you cited, the project website also offers some preconfigured example MSVC solutions. You may find this much easier to get set up and running if using a Makefile is not a hard requirement.
- What are some projects that taught you a lot?
-
How to calculate an expression that is stored in a string in C++
This ExprTk library looks promising: https://www.partow.net/programming/exprtk/index.html
-
A boolean logic simulator written in c++ & opengl 3.3. This is a toy project I'm currently developing to help me learn c++ & opengl. No libraries used, apart from stb_image and glad.
Now there are lots of libraries out there for expression processing as well. I would recommend exprtk: https://github.com/ArashPartow/exprtk
- library for solving equations from string?
-
Regular language input math operations
If your actual goal isn't to implement it yourself and you need it for something else, take a look at this library: https://github.com/ArashPartow/exprtk
What are some alternatives?
ceres-solver - A large scale non-linear optimization library
TinyExpr - tiny recursive descent expression parser, compiler, and evaluation engine for math expressions
latex-online - Online latex compiler. You give it a link, it gives you PDF
muparser - muparser is a fast math parser library for C/C++ with (optional) OpenMP support.
maxima-client - Maxima client
CGal - The public CGAL repository, see the README below
Rust-CAS - Rust Computer Algebra library
Eigen
maxima-jupyter - A Maxima kernel for Jupyter, based on CL-Jupyter (Common Lisp kernel)
GLM - OpenGL Mathematics (GLM)
reduce-algebra - reduce-algebra: a portable general-purpose computer algebra system, automatically mirrored from https://svn.code.sf.net/p/reduce-algebra/code/. Please visit the REDUCE Homepage, https://reduce-algebra.sourceforge.io/, to report any bugs or request assistance.
OpenBLAS - OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.