Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

basic interface to Risa/Asir #38596

Open
wants to merge 27 commits into
base: develop
Choose a base branch
from

Conversation

fchapoton
Copy link
Contributor

@fchapoton fchapoton commented Aug 31, 2024

tentative to make a working interface to risa/asir

https://github.com/openxm-org/OpenXM

this is based on the file OpenXM/src/sage/asir.py there, currently broken

📝 Checklist

  • The title is concise and informative.
  • The description explains in detail what this PR is about.
  • I have linked a relevant issue or discussion.
  • I have created tests covering the changes.
  • I have updated the documentation and checked the documentation preview.

⌛ Dependencies

@fchapoton
Copy link
Contributor Author

to identify the type of objects, one could use type(a) which returns an integer

see http://www.math.kobe-u.ac.jp/OpenXM/Current/doc/asir2000/html-en/man/man_16.html#Types-in-Asir

@fchapoton fchapoton marked this pull request as draft August 31, 2024 10:04
Copy link

github-actions bot commented Aug 31, 2024

Documentation preview for this PR (built with commit d397067; changes) is ready! 🎉
This preview will update shortly after each push to this PR.

@fchapoton
Copy link
Contributor Author

I have an annoying failure about pickling and LazyImport, but this works for other interfaces. Any idea on how to fix that ?

@nobuki-takayama
Copy link

A = asir('[1,2.3*@i,4.5]'); A.sage()
[1, 2.30000000000000*I, 4.50000000000000]
now works. See
https://github.com/openxm-org/OpenXM/commit/2061788bc47144bc6893fb1adbc753daabde1e3b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants