Complex Ring with multiple parameters and roots of unity
cuhlone · Thu Aug 12, 2010 8:52 pm
I apologize in advance if the answer to this question is obvious. It's entirely possible that I can't see the forest through the trees.
I'm making a complex ring.
ring r = (complex,30,i),(x,y,z),dp;
And I would like to work with the nth root of unity. For the sake of simplicity, let's look at the 5th root of unity.
What I want to do is add another parameter Q to the ring declaration and then
minpoly = rootofUnity(5);
or something like that.
But I can't figure out how to add another parameter to the complex ring.
Likely, the right way to do this is something completely different, but I'm spinning my wheels and not getting anywhere.
Thanks in advance for any assistance you can provide.
C.
I'm making a complex ring.
ring r = (complex,30,i),(x,y,z),dp;
And I would like to work with the nth root of unity. For the sake of simplicity, let's look at the 5th root of unity.
What I want to do is add another parameter Q to the ring declaration and then
minpoly = rootofUnity(5);
or something like that.
But I can't figure out how to add another parameter to the complex ring.
Likely, the right way to do this is something completely different, but I'm spinning my wheels and not getting anywhere.
Thanks in advance for any assistance you can provide.
C.