| 1 | initial version |
A ring is a set with multiplication and addition, for example QQ = rational numbers and ZZ = integers.
You can construct quaternions as follows:
sage: i,j,k = QuaternionAlgebra(1,1).gens()
sage: j*k
-i
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.