Skip to content
项目

关于

通过 PyCall 调用 SymPy 的 Julia 接口

其他项目

这些数字如何统计

实测星标增长

24小时
0
7天
+1
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

SymPy

Docs Build Status Coverage

SymPyCore provides a Julian interface to the SymPy library of Python.

SymPy utilizes SymPyCore and the PyCall package (to provide the interop between Julia and Python) to enable access to Python's SymPy library using the practices and idioms of Julia.

The package SymPyPythonCall does a similar thing with the PythonCall package providing the interop.

Installation

To use this package, both Python and its SymPy library must be installed on your system. If PyCall is installed using Conda (which is the default if no system python is found), then the underlying SymPy library will be installed via Conda when the package is first loaded.

If there are issues, you might try installing PyCall first, along the lines of :

julia> using Pkg
julia> ENV["PYTHON"]=""
julia> Pkg.build("PyCall")
julia> Pkg.add("SymPy")
julia> using SymPy

Otherwise, installing both Python and the SymPy library can be done by other means. In this case, the Anaconda distribution is suggested, as it provides a single installation of Python that includes SymPy and many other scientific libraries that can be profitably accessed within Julia via PyCall. (Otherwise, install Python then download the SymPy library from https://github.com/sympy/sympy/releases and install.)

To upgrade the underlying sympy library, which has new releases at a rate similar to Julia, when installed with Conda, the following commands are available:

using Pkg
Pkg.add("Conda") #  if needed
using Conda
Conda.update()

探索相关项目

加载中…