SymPy Modules Reference¶
Because every feature of SymPy must have a test case, when you are not sure how
to use something, just look into the tests/
directories, find that feature
and read the tests for it, that will tell you everything you need to know.
Most of the things are already documented though in this document, that is automatically generated using SymPy’s docstrings.
Click the “modules” (Module Index) link in the top right corner to easily access any SymPy module, or use the list below:
- SymPy Core
- Combinatorics Module
- Number Theory
- Basic Cryptography Module
- Concrete Mathematics
- Numerical evaluation
- Structural Details of Code Generation with Sympy
- Numeric Computation
- Functions Module
- Geometry Module
- Holonomic Functions
- Symbolic Integrals
- Numeric Integrals
- Lie Algebra Module
- Logic Module
- Matrices
- Polynomials Manipulation Module
- Printing System
- Printer Class
- PrettyPrinter Class
- C code printers
- C++ code printers
- RCodePrinter
- Fortran Printing
- Mathematica code printing
- Javascript Code printing
- Julia code printing
- Octave (and Matlab) Code printing
- Rust code printing
- Theano Code printing
- Gtk
- LambdaPrinter
- LatexPrinter
- MathMLPrinter
- PythonPrinter
- srepr
- StrPrinter
- Tree Printing
- Preview
- Implementation - Helper Classes/Functions
- Pretty-Printing Implementation Helpers
- dotprint
- Plotting Module
- Pyglet Plotting Module
- Assumptions module
- Term rewriting
- Series Module
- Sets
- Simplify
- Details on the Hypergeometric Function Expansion Module
- Stats
- ODE
- PDE
- Solvers
- Diophantine
- Inequality Solvers
- Solveset
- What’s wrong with solve():
- Why Solveset?
- Why do we use Sets as an output type?
- Input API of
solveset
- What is this domain argument about?
- What are the general methods employed by solveset to solve an equation?
- How do we manipulate and return an infinite solution?
- How does
solveset
ensure that it is not returning any wrong solution? - Search based solver and step-by-step solution
- How do we deal with cases where only some of the solutions are known?
- What will you do with the old solve?
- How are symbolic parameters handled in solveset?
- References
- Solveset Module Reference
- linear_eq_to_matrix
- linsolve
- nonlinsolve
- Diophantine Equations (DEs)
- Inequalities
- Ordinary Differential equations (ODEs)
- Partial Differential Equations (PDEs)
- Tensor Module
- Utilities
- Parsing input
- Calculus
- Physics Module
- Category Theory Module
- Differential Geometry Module
- Vector Module
Contributions to docs¶
All contributions are welcome. If you’d like to improve something, look into
the sources if they contain the information you need (if not, please fix them),
otherwise the documentation generation needs to be improved (look in the
doc/
directory).