First time here? Check out the FAQ!

Ask Your Question
1

Package that is used for the sage.symbolic.expression.Expression

asked 2 years ago

Pickle gravatar image

Hi,

I am wondering what package is used for the core sage.symbolic.expression.Expression object? Does this utilize SymPy's sympy.core.symbol.Symbol?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
0

answered 2 years ago

tmonteil gravatar image

updated 2 years ago

The library behind symbolic expressions is a fork of ginac that was named pynac and was then incorporated into Sage source code directly. Expressions can be turned into Sympy objects with the _sympy_ method:

e = pi
print(type(e))
print(type(e._sympy_()))
Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2 years ago

Seen: 130 times

Last updated: Jul 20 '22