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 this contens:
- 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
- Polynomials Manipulation Module
- Printing System
- Printer Class
- PrettyPrinter Class
- C code printers
- C++ code printers
- Fortran Printing
- Mathematica code printing
- Julia code printing
- Octave (and Matlab) Code printing
- Theano Code printing
- Tree Printing
- Implementation - Helper Classes/Functions
- Pretty-Printing Implementation Helpers
- Plotting Module
- Pyglet Plotting Module
- Assumptions module
- Term rewriting
- Series Module
- Details on the Hypergeometric Function Expansion Module
- Inequality Solvers
- What’s wrong with solve():
- Why Solveset?
- Why do we use Sets as an output type?
- Input API of
- 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
solvesetensure 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?
- Solveset Module Reference
- Diophantine Equations (DEs)
- Ordinary Differential equations (ODEs)
- Partial Differential Equations (PDEs)
- Tensor Module
- Parsing input
- 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