-
Notifications
You must be signed in to change notification settings - Fork 5
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
NameError: Unknown variable: 'sqrt' #12
Comments
You can add something like [1] to the main branch.
[1] 58388a9
|
Is this implemented in the newest version? Unfortunately I cannot get past this error: NameError: Unknown variable: 'RootOf' Edit: I should mention that the matrix I am working with does not contain square-roots, but has a high degree in eps and x. |
I'm not a fuchsia dev, but from my experience the appearance of square roots might signal that your matrix requires a nonlinear variable transformation before it can be turned into a canonical form. The CPP version of Fuchsia (github.com/magv/fuchsia.cpp) has an option |
The original issue here was fixed in a6db3aa. What you're seeing is probably due to using Unfortunately the underlying CAS we're using -- Sagemath&Maxima do not have an equivalent of Maple's RootOf (AFAIK), so just importing that function will be of little benefit overall, as the reduction will choke a few steps later. There is a somewhat better strategy of dealing with such spurious poles: they can be transformed away separately without the need for solving the polynomials. Think of it this way: if choosing different masters can remove this pole, then we know that a rational transformation exists that does it for us. At the moment we don't have it implemented though, and rotating the master selection is what we do in practice. In any case, these poles is a problem many people have run into (Vladyslav have been asking about it in #16 for example), so I'm bound to fix it at some point. I've opened issue #17 for this, and I'll close this issue since the original problem is fixed. |
Let us improve I/O functions, so that Fuchsia deals correctly with matrices which contain
sqrt(?)
andSqrt[?]
objects.The text was updated successfully, but these errors were encountered: