symengine
symengine copied to clipboard
SymEngine is a fast symbolic manipulation library, written in C++
I wanted to evaluate an expression with the modulo operator using our LLVM backend, it doesn't look like we have support for it, so I added it in this PR....
A start for Matrix expressions * `IdentityMatrix` * `ZeroMatrix` * `DiagonalMatrix` (immutable special case matrix literal) * `MatrixAdd` Test functions for matrix expressions: * `is_zero` * `is_real` * `is_symmetric` *...
* Change `tribool` from plain `enum` to safer `enum class` * Move `tribool` to its own header `tribool.h` * Add `or_tribool` and `orwk_tribool` for completeness * Add tests for `tribool_from_bool`...
Hello guys, I found some unexpected behaviors about this library. This is a sample. ```C++ #include #include int main() { using namespace std; using namespace SymEngine; Expression x(10); cout
Hi, I have looked in many places but I could not find a systematic tutorial to the c++ version, is there any? If not, where can I find some hint...
I noticed that in many places, SymEngine uses `and` and `or`, which are the [alternative operator representations](https://en.cppreference.com/w/cpp/language/operator_alternative) of `&&` and `||`. In other places, the standard `&&` and `||` were...
## The Issue In attempting to compile Symengine for a C++ project (written in Microsoft Visual Studio 2022), I followed the installation instructions to compile the symengine libraries in an...