-
There's a quaternion type in examples. I propose that this become a part of Base.
#1609 mentions them as part of a graphics package, but quaternions are a useful mathematical concept outside of graph…
-
Vincent noticed in #10534 that this module was completely useless because of itertools, and it even happens that nothing in Sage uses it.
What about getting rid of it ?
It implements:
* `concat` -…
-
To those in the know, this string in brandt.py sounds stupid:
```
raise NotImplementedError, "Currently this algorithm only works when the quaternion algebra is only ramified at one prime."
```
C…
-
Continuing from #567, it seems that there is a general consensus that the animation system needs an overhaul.
Everyone seems to agree that the GL thread should be responsible for managing animation …
-
Generalizes the code for quaternion orders of quaternion algebras over QQ to allow for quaternion orders of quaternion algebras over number fields.
Depends on #13509
Dependencies: **#13509 - Pari …
-
Bit confused about this.
``` clojure
(defprotocol PMatrixScaling
"Protocol to support matrix scaling by scalar values"
(scale [m a])
(pre-scale [m a]))
```
Surely pre- and post-multiplication …
-
This algorithm follows John Voight's Alg. 2.10 in Identifying the Matrix Ring. This currently works only for quaternion algebras. The goal is to make it more functional once Algebras have more funct…
-
I've implemented the hilbert_conductor for elements of number fields and the discriminant for quaternion algebras over number fields.
CC: @sagetrac-schisholm
Component: **number theory**
Keyword…
-
Following code in Quaternion.js has a problem to process qa=-qb.
```
if (cosHalfTheta < 0) {
qm.w = -qb.w; qm.x = -qb.x; qm.y = -qb.y; qm.z = -qb.z;
cosHalfTheta = -cosHalfTheta;
} else {
…
-
1.) The norm of an ideal in quaternion algebra is off by a factor of 2
```
sage: A. = QuaternionAlgebra(-1,-1)
sage: I = A.ideal([i,j,k,1/2 + 1/2*i + 1/2*j + 1/2*k]) # this is actually an orde…