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

Need docs for how to use mathjs functions #22

Open
maueroats opened this issue Jan 5, 2023 · 1 comment
Open

Need docs for how to use mathjs functions #22

maueroats opened this issue Jan 5, 2023 · 1 comment

Comments

@maueroats
Copy link

maueroats commented Jan 5, 2023

Some obscure mathjs functions work great. The call below shows that $6 = 2*18+(-1)*30$.

xgcd(18,30) => xgcd: [6,2,-1]

Others do not. The call below should produce the multiplicative inverse of 2 mod 13, which is 7.

invmod(2,13) => (intermediate value)(intermediate value)(intermediate value) is not a function

I looked at the source and could not determine what makes these different. Just a line or two of documentation (or even a reply here) could save people some effort.

@CalebJohn
Copy link
Owner

Looks like the invmod function was added in mathjs v10.1.0 and this plugin is still using mathjs v8.1.1. I'm planning on doing some updates this weekend and will try to get mathjs up to a recent version.

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

No branches or pull requests

2 participants