docs.sympy.org Open in urlscan Pro
2606:50c0:8001::153  Public Scan

Submitted URL: http://docs.sympy.org/
Effective URL: https://docs.sympy.org/latest/index.html
Submission: On December 05 via api from US — Scanned from DE

Form analysis 1 forms found in the DOM

GET search.html

<form class="sidebar-search-container" method="get" action="search.html" role="search">
  <input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
  <input type="hidden" name="check_keywords" value="yes">
  <input type="hidden" name="area" value="default">
</form>

Text Content

Contents Menu Expand Light mode Dark mode Auto light/dark mode
Hide navigation sidebar
Hide table of contents sidebar
Toggle site navigation sidebar
SymPy 1.12 documentation
Toggle Light / Dark / Auto color theme
Toggle table of contents sidebar

SymPy 1.12 documentation


 * Installation
 * Tutorials
   Toggle child pages in navigation
   * Introductory Tutorial
     Toggle child pages in navigation
     * Preliminaries
     * Introduction
     * Gotchas
     * SymPy Features
       Toggle child pages in navigation
       * Basic Operations
       * Printing
       * Simplification
       * Calculus
       * Solvers
       * Matrices
       * Advanced Expression Manipulation
     * What’s Next
 * How-to Guides
   Toggle child pages in navigation
   * Assumptions
   * Symbolic and fuzzy booleans
   * Writing Custom Functions
   * Solve Equations
     Toggle child pages in navigation
     * Solving Guidance
     * Solve an Equation Algebraically
     * Solve a System of Equations Algebraically
     * Solve One or a System of Equations Numerically
     * Solve an Ordinary Differential Equation (ODE) Algebraically
     * Find the Roots of a Polynomial Algebraically or Numerically
     * Solve a Matrix Equation Algebraically
     * Reduce One or a System of Inequalities for a Single Variable
       Algebraically
     * Solve a Diophantine Equation Algebraically
   * Citing SymPy
 * Explanations
   Toggle child pages in navigation
   * Gotchas and Pitfalls
   * Solve Output by Type
   * SymPy Special Topics
     Toggle child pages in navigation
     * Finite Difference Approximations to Derivatives
     * Classification of SymPy objects
   * List of active deprecations
   * Glossary
 * API Reference
   Toggle child pages in navigation
   * Basics
     Toggle child pages in navigation
     * Assumptions
       Toggle child pages in navigation
       * Ask
       * Assume
       * Refine
       * Predicates
     * Calculus
     * Combinatorics
       Toggle child pages in navigation
       * Partitions
       * Permutations
       * Permutation Groups
       * Polyhedron
       * Prufer Sequences
       * Subsets
       * Gray Code
       * Named Groups
       * Galois Groups
       * Nilpotent, Abelian and Cyclic Numbers
       * Utilities
       * Group constructors
       * Test Utilities
       * Tensor Canonicalization
       * Finitely Presented Groups
       * Polycyclic Groups
     * Functions
       Toggle child pages in navigation
       * Elementary
       * Combinatorial
       * Enumeration
       * Special
     * Integrals
       Toggle child pages in navigation
       * Computing Integrals using Meijer G-Functions
       * Integrals
     * Series
       Toggle child pages in navigation
       * Series Expansions
       * Sequences
       * Fourier Series
       * Formal Power Series
       * Limits of Sequences
     * Simplify
       Toggle child pages in navigation
       * Simplify
       * Hypergeometric Expansion
       * Hongguang Fu’s Trigonometric Simplification
     * Solvers
       Toggle child pages in navigation
       * Diophantine
       * Inequality Solvers
       * ODE
       * PDE
       * Solvers
       * Solveset
     * abc
     * Algebras
     * Concrete
     * Core
     * Discrete
     * Numerical Evaluation
     * Numeric Computation
     * Term Rewriting
   * Code Generation
     Toggle child pages in navigation
     * Code Generation
   * Logic
     Toggle child pages in navigation
     * Logic
     * Sets
   * Matrices
     Toggle child pages in navigation
     * Matrices
       Toggle child pages in navigation
       * Matrices (linear algebra)
       * Common Matrices
       * Dense Matrices
       * Sparse Matrices
       * Sparse Tools
       * Immutable Matrices
       * Matrix Expressions
       * Matrix Normal Forms
     * Tensor
       Toggle child pages in navigation
       * N-dim array
       * N-dim array expressions
       * Indexed Objects
       * Methods
       * Tensor
       * Tensor Operators
     * Vector
       Toggle child pages in navigation
       * Introduction
       * Basic Implementation details
       * More about Coordinate Systems
       * Scalar and Vector Field Functionality
       * General examples of usage
       * Applications of Vector Integrals
       * Vector API
         Toggle child pages in navigation
         * Essential Classes in sympy.vector (docstrings)
         * Orienter classes (docstrings)
         * Essential Functions in sympy.vector (docstrings)
   * Number Theory
     Toggle child pages in navigation
     * Number Theory
   * Physics
     Toggle child pages in navigation
     * Hydrogen Wavefunctions
     * Matrices
     * Pauli Algebra
     * Quantum Harmonic Oscillator in 1-D
     * Quantum Harmonic Oscillator in 3-D
     * Second Quantization
     * Wigner Symbols
     * Unit systems
       Toggle child pages in navigation
       * Philosophy behind unit systems
       * More examples
       * Dimensions and dimension systems
       * Unit prefixes
       * Units and unit systems
       * Physical quantities
     * High energy physics
     * The Physics Vector Module
       Toggle child pages in navigation
       * Vector & ReferenceFrame
       * Vector: Kinematics
       * Potential Issues/Advanced Topics/Future Features in Physics/Vector
         Module
       * Scalar and Vector Field Functionality
       * Physics Vector API
         Toggle child pages in navigation
         * Essential Classes
         * Kinematics (Docstrings)
         * Printing (Docstrings)
         * Essential Functions (Docstrings)
         * Docstrings for basic field functions
     * Classical Mechanics
       Toggle child pages in navigation
       * Masses, Inertias, Particles and Rigid Bodies in Physics/Mechanics
       * Kane’s Method in Physics/Mechanics
       * Lagrange’s Method in Physics/Mechanics
       * Joints Framework in Physics/Mechanics
       * Symbolic Systems in Physics/Mechanics
       * Linearization in Physics/Mechanics
         Toggle child pages in navigation
         * Nonminimal Coordinates Pendulum
       * Examples for Physics/Mechanics
         Toggle child pages in navigation
         * A rolling disc
           Toggle child pages in navigation
           * A rolling disc, with Kane’s method
           * A rolling disc, with Kane’s method and constraint forces
           * A rolling disc using Lagrange’s Method
         * A bicycle
         * Nonminimal Coordinates Pendulum
         * Multi Degree of Freedom Holonomic System
         * A four bar linkage
       * Potential Issues/Advanced Topics/Future Features in Physics/Mechanics
       * References for Physics/Mechanics
       * Autolev Parser
       * SymPy Mechanics for Autolev Users
       * Mechanics API Reference
         Toggle child pages in navigation
         * Masses, Inertias & Particles, RigidBodys (Docstrings)
         * Body (Docstrings)
         * Kane’s Method & Lagrange’s Method (Docstrings)
         * Joints Framework (Docstrings)
         * SymbolicSystem (Docstrings)
         * Linearization (Docstrings)
         * Expression Manipulation (Docstrings)
         * Printing (Docstrings)
     * Quantum Mechanics
       Toggle child pages in navigation
       * Anticommutator
       * Clebsch-Gordan Coefficients
       * Commutator
       * Constants
       * Dagger
       * Inner Product
       * Tensor Product
       * Cartesian Operators and States
       * Hilbert Space
       * Operator
       * Operator/State Helper Functions
       * Qapply
       * Represent
       * Spin
       * State
       * Circuit Plot
       * Gates
       * Grover’s Algorithm
       * QFT
       * Qubit
       * Shor’s Algorithm
       * Particle in a Box
     * Optics Module
       Toggle child pages in navigation
       * Gaussian Optics
       * Medium
       * Polarization
       * Utilities
       * Waves
     * Control Module
       Toggle child pages in navigation
       * Control
       * Control API
       * Control System Plots
     * Continuum Mechanics
       Toggle child pages in navigation
       * Beam (Docstrings)
       * Solving Beam Bending Problems using Singularity Functions
       * Truss (Docstrings)
   * Utilities
     Toggle child pages in navigation
     * Testing
       Toggle child pages in navigation
       * pytest
       * Randomised Testing
       * Run Tests
     * Utilities
       Toggle child pages in navigation
       * Autowrap Module
       * Codegen
       * Decorator
       * Enumerative
       * Exceptions and Warnings
       * Iterables
       * Lambdify
       * Memoization
       * Miscellaneous
       * PKGDATA
       * Source Code Inspection
       * Timing Utilities
     * Interactive
     * Parsing
     * Printing
   * Topics
     Toggle child pages in navigation
     * Geometry
       Toggle child pages in navigation
       * Entities
       * Utils
       * Points
       * Lines
       * Curves
       * Ellipses
       * Polygons
       * Plane
     * Holonomic
       Toggle child pages in navigation
       * About Holonomic Functions
       * Representation of holonomic functions in SymPy
       * Operations on holonomic functions
       * Converting other representations to holonomic
       * Uses and Current limitations
       * Internal API
     * Lie Algebra
     * Polynomial Manipulation
       Toggle child pages in navigation
       * Basic functionality of the module
       * Examples from Wester’s Article
       * Polynomials Manipulation Module Reference
       * AGCA - Algebraic Geometry and Commutative Algebra Module
       * Introducing the Domains of the poly module
       * Reference docs for the Poly Domains
       * Internals of the Polynomial Manipulation Module
       * Series Manipulation using Polynomials
       * Literature
       * Poly solvers
       * Introducing the domainmatrix of the poly module
       * Number Fields
     * Category Theory
     * Cryptography
     * Differential Geometry
     * Plotting
     * Stats
 * Contributing
   Toggle child pages in navigation
   * Development Environment Setup
   * Dependencies
   * Build the Documentation
   * Debugging
   * SymPy Docstrings Style Guide
   * Docstring Style Guide
   * Making a Contribution
   * Deprecation Policy

DOCUMENTATION VERSION

 * SymPy 1.12 (latest version)
 * SymPy 1.13-dev (dev version)

Back to top
Toggle Light / Dark / Auto color theme
Toggle table of contents sidebar


WELCOME TO SYMPY’S DOCUMENTATION!#

A PDF version of these docs is also available.

SymPy is a Python library for symbolic mathematics. If you are new to SymPy,
start with the introductory tutorial.

This is the central page for all of SymPy’s documentation.

--------------------------------------------------------------------------------


INSTALLATION#

Instructions on how to install SymPy.


TUTORIALS#

Tutorials are the best place to start for anyone new to SymPy or one of SymPy’s
features.


HOW-TO GUIDES#

How-to guides are step-by-step instructions on how to do specific tasks.


EXPLANATIONS#

Explanations provide in-depth discussions about select SymPy features. These
topic guides talk about things like the motivation behind design decisions,
technical implementation details, and opinionated recommendations.


API REFERENCE#

The API reference is a detailed description of the SymPy API. Every SymPy
function and class is enumerated here with detailed information on what each
function does.


CONTRIBUTING#

The contributing guide goes over the details necessary to contribute to SymPy.
See also the full Development Workflow guide on the SymPy wiki.


Next
Installation
Copyright © 2023 SymPy Development Team
Made with Sphinx and @pradyunsg's Furo
Last updated on May 09, 2023