| 2025-06-04 21:53:50 +0100 | marked best answer | How to handle a root of unity with symbolic exponents I'm doing some calculations involving matrices whose entries look something like q^L, where q is a root of unity and L is meant to be a generic complex number that I would prefer to leave as a symbol. I would actually prefer to have the final result be displayed in terms of q as well, but that isn't as big of a sticking point. For small dimensions, if I work over the symbolic ring (SR) and leave q as a symbol too, everything behaves as it should. The problem is when moving to higher dimensions, it not only gets prohibitively slow, but there are a few entries that I know (by other means) should simplify to zero but aren't, even if I replace the symbol q with it's concrete complex value. I was recommended Cyclotomic Fields as a way to help Sage deal with fixed roots of unity more efficiently, but I can't figure out the right way (if there is one) to work over a Cyclotomic Field where the exponents can include symbols without just putting everything back into SR which defeats the purpose. Code leaving everything in SR since that worked okay. The choice to use |
| 2025-06-04 21:53:50 +0100 | received badge | ● Scholar (source) |
| 2025-06-02 16:46:44 +0100 | received badge | ● Student (source) |
| 2025-06-02 05:03:24 +0100 | commented answer | How to handle a root of unity with symbolic exponents YOU ARE AWESOME! I had to tweak a couple things to make it run properly, but introducing L1 and L2 as their own symbols |
| 2025-06-01 22:03:57 +0100 | commented question | How to handle a root of unity with symbolic exponents It actually goes up to quarter integers, but replacing q with a higher degree root of unity to get only integer exponent |
| 2025-06-01 22:03:05 +0100 | commented question | How to handle a root of unity with symbolic exponents It actually goes up to quarter integers, but replacing q with a higher degree root of unity to get only integer exponent |
| 2025-06-01 20:08:33 +0100 | edited question | How to handle a root of unity with symbolic exponents How to handle a root of unity with symbolic exponents I'm doing some calculations involving matrices whose entries look |
| 2025-06-01 20:05:48 +0100 | received badge | ● Editor (source) |
| 2025-06-01 20:05:48 +0100 | edited question | How to handle a root of unity with symbolic exponents How to handle a root of unity with symbolic exponents I'm doing some calculations involving matrices whose entries look |
| 2025-05-30 15:51:18 +0100 | asked a question | How to handle a root of unity with symbolic exponents How to handle a root of unity with symbolic exponents I'm doing some calculations involving matrices whose entries look |
| 2025-05-29 19:35:32 +0100 | received badge | ● Organizer (source) |
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.