SymPy:Python 中的符号数学
SymPy: Symbolic Mathematics in Python

原始链接: https://www.sympy.org/en/index.html

Introducing SymPy - A Full-Featured Computer Algebra System Written Entirely In Python! SymPy 旨在成为一款全面的数学软件,同时又不失简单性和易于扩展性。 凭借其轻量级的特性,仅依赖 mpmath 来处理复数并使用 Python 作为编程语言,该软件为各种数学需求提供了实用的解决方案。 Here’s why it stands out: - 免费:根据 BSD 许可证,SymPy 可以免费访问,任何人都可以享受它的好处,没有任何财务障碍。 - 轻量级:SymPy 独立且仅依赖于 mpmath,因此安装无忧且快速。 其用户友好性允许将其嵌入其他应用程序中。 - Comprehensive Features: SymPy has many capabilities including tensor algebras, chemical formula creation and handling, geometry algebra, dynamic shape and stride support via PyTorch, quantum programming for oscillators, and more. Cadabra、ChemPy、OctSymPy、PyDy、PyTorch TorchInductor、SageMath、Spyder、yt 等项目已集成 SymPy 作为其功能的一部分。 查看“使用 SymPy 的项目”部分了解更多详细信息。 除了其广泛的功能之外,用户还可以探索教程指南或下载最新版本、开发版本或稳定版本。 要了解与 SymPy 相关的所有最新信息,请注册邮件列表或通过 Planet SymPy、聊天 (Gitter) 或 IRC 频道日志关注它们。 探索有关最新版本的新闻、贡献者或开发人员所做的更改,或参与基于介绍的贡献。 立即在线尝试 SymPy,亲自体验它的强大功能! #开源 #数学软件 #ComputerAlgebraSystem #SymbolicCalculus #PythonLibrary

然而,它仍然没有达到 Mathematica 的速度和能力。 尽管如此,它为开源目的提供了一个很好的选择。 如果您需要极致的性能,Mathematica 和 Maple 仍然是符号计算的主要工具。
相关文章

原文

Why SymPy

SymPy is…

  • Free: Licensed under BSD, SymPy is free both as in speech and as in beer.
  • Python-based: SymPy is written entirely in Python and uses Python for its language.
  • Lightweight: SymPy only depends on mpmath, a pure Python library for arbitrary floating point arithmetic, making it easy to use.
  • A library: Beyond use as an interactive tool, SymPy can be embedded in other applications and extended with custom functions.

See SymPy's features

Projects using SymPy

This is an (incomplete) list of projects that use SymPy. If you use SymPy in your project, please let us know on our mailinglist, so that we can add your project here as well.

  • Cadabra: Tensor algebra and (quantum) field theory system using SymPy for scalar algebra.
  • ChemPy: A package useful for chemistry written in Python.
  • devito: A symbolic DSL and just-in-time compiler for high performance stencil computation.
  • EinsteinPy: A Python package for symbolic and numerical General Relativity.
  • galgebra: Geometric algebra (previously sympy.galgebra).
  • LaTeX Expression project: Easy LaTeX typesetting of algebraic expressions in symbolic form with automatic substitution and result computation).
  • Lcapy: Experimental Python package for teaching linear circuit analysis.
  • OctSymPy: A Symbolic Package for Octave using SymPy.
  • Optlang: A Python package for solving mathematical optimization problems.
  • PyDy: Multibody dynamics in Python.
  • pyneqsys: Solve symbolically defined systems of non-linear equations numerically.
  • pyodesys: Straightforward numerical integration of ODE systems from Python.
  • PyTorch TorchInductor: TorchInductor uses SymPy to support dynamic shapes and strides.
  • QMCPACK: Quantum Monte Carlo in C++. Sympy is used to generate reference values for unit tests and some code generation.
  • Quantum Programming in Python: Quantum 1D Simple Harmonic Oscillator and Quantum Mapping Gate.
  • SageMath: Open source mathematics system that includes SymPy.
  • Scikit-fdiff: Finite differences discretization.
  • SfePy: Simple finite elements in Python.
  • Spyder: The Scientific Python Development Environment, a Python equivalent to Rstudio or MATLAB; full SymPy support can be enabled in Spyder's IPython Consoles.
  • Symbolic statistical modeling: Adding statistical operations to complex physical models.
  • yt: Python package for analyzing and visualizing volumetric data (unyt, the yt unit system, uses SymPy).
联系我们 contact @ memedata.com