suan is a calculator supporting advanced mathematics.

This crate can also be used to compile as a Python MP library, aiming to be the PARI/GP on Python?

Support types: | PARI type | Symbol | Description | Rust | |-----------|--------|-------------|------| | tINT | Z | Integers (with arbitrary precision) | num-bigint / rug | | tREAL | R | Real numbers (with arbitrary precision) | rug | | tINTMOD | Z/nZ | Intmods (integers modulo n) | N/A | | tFRAC | Q | Rational numbers (in irreducible form) | num-rational / rug | | tFFELT | Fq | Finite field element | N/A (ff?) | | tCOMPLEX | T[i] | Complex numbers | num-complex / rug | | tPADIC | Qp | p-adic numbers | N/A | | tQUAD | Q[w] | Quadratic Numbers (where [Z[w]:Z] = 2) | num-irrational | | tPOLMOD | T[X]/(P) | Polmods (polynomials modulo P ∈ T[X]) | N/A | | tPOL | T[X] | Polynomials | N/A | | tSER | T((X)) | Power series (finite Laurent series) | N/A | | tRFRAC | T(X) | Rational functions (in irreducible form) | N/A |

References: - Pari/GP - Pari/GP cheatsheet - mpmath - FLINT