Abstract Polynomial Interface for high performance implementations. #4973
Replies: 1 comment
-
|
Hi Jack! (sorry for the late response) I'll try to answer some of the questions (and add some more questions).
I can imagine that something like this could be useful.
This can probably made work.
To be honest, for the multivariate polynomials, it is not too clear what the "interface" is. Also, there is actually only very little code that is provided for multivariate polynomials implementing the interface. Is there some specific "polynomial functionality", that you would like to work?
Yes, one can build this laurent polynomials using any multivariate polynomial ring; see here.
Yes, they need to be different.
Keep the questions coming. We try to be a bit quicker with our response in the future. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
My research group (mostly @alexp616) has been working on implementing polynomial multiplication and polynomial powering on the GPU using CUDA.jl hardware. Our motivation is for applications in Birational Geometry and Number Theory, where polynomial powering over the integers is a fundamental operation. The current implementation uses a multi-modular parallel FFT that noticeably outperforms FLINT. The implementation isn't complete, for example there are many basic operations that still aren't implemented on the GPU.
I think it would be really cool to have this implementation used by Oscar. The use cases I would be interested in are
Julia has well-documented interfaces such as
AbstractArrayandAbstractDict, which packages can implement to make drop-in replacements forArrayandDict. What I'd really like is to have anAbstractPolynomialorAbstractMPolyRingfor which one can implement various types and then mix and match them.Given that context, I have a few (hopefully not to vague) questions:
CuZZMPolyRingElemhave the same parentZZMPolyRing? Or would its implementation require a new parent type?I'd appreciate any feedback or advice, I'm still a newcomer to Oscar.
Beta Was this translation helpful? Give feedback.
All reactions