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

Questions about mathjs library #315

Open
interuseration-IURT opened this issue Oct 6, 2024 · 3 comments
Open

Questions about mathjs library #315

interuseration-IURT opened this issue Oct 6, 2024 · 3 comments
Labels

Comments

@interuseration-IURT
Copy link

Hello, I followed the tutorial on the document and tried to plot the gamma function, but it didn't work. I initially thought it was a version problem of function-plot.js or mathjs, but when I switched several CDN libraries or two js versions, I found that it still didn't work, so I submitted an issue

Following is my code

image

And the console reports an error:CodeGenerator.js:43 Uncaught SyntaxError: symbol "gamma" is undefined (at CodeGenerator.js:43:13)

What should I do next? Looking forward to your reply

@interuseration-IURT
Copy link
Author

@mauriciopoppe

@mauriciopoppe
Copy link
Owner

I haven't used mathjs in a long time and their API might have changed. The website is using:

<script src="//cdnjs.cloudflare.com/ajax/libs/mathjs/1.5.2/math.min.js"></script>

Could you try with that version please?

I will also deprecate implicit usage of the library if it mathjs is defined in window #283.

Copy link

stale bot commented Feb 1, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants