Ask Your Question

Revision history [back]

click to hide/show revision 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