Comments (4)
from fuchsia.
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.
from fuchsia.
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 suggest-changevar
that will analyze the matrix and suggest the appropriate transformation, if required. Perhaps you could try that first.
from fuchsia.
The original issue here was fixed in a6db3aa.
What you're seeing is probably due to using --use-maple
and a having a polynomial in the denominator that Maple can not solve with just roots -- it returns RootOf(poly, x)
in these cases. Probably a spurious pole with a mixture of x
and eps
, right? Such poles usually happen either because your IBP routine gave you more masters than it should (i.e. there are linear relations between the masters), or because of an unfortunate master selection (i.e. you can choose different masters, and this spurious pole will go away).
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.
from fuchsia.
Related Issues (17)
- Project's name HOT 5
- Performance issue with `fuchsify` and `git_410.mtx` HOT 7
- [Algorithm 2] Avoid tremendous polynoms in eps HOT 4
- CLI issues HOT 5
- Infinite loop in the normalizer HOT 7
- Barkatou examples from ISSAC'10 HOT 5
- Permutation to the block-triangular form needed
- Release #1 HOT 3
- Bug with `solve` in `singularities` HOT 13
- 'fuchsia' binary installed by pip doesn't work HOT 3
- Multivarate dependence HOT 4
- can not factor epsilon HOT 6
- Some unit tests fail HOT 8
- Different output when using Maple and Maxima HOT 2
- Differential equations with free variables HOT 4
- Transform out spurious poles without solving the polynomials
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fuchsia.