Quaternion can't use subs ?
Hi
we can't use subs with quaternions?
Q.<i,j,k> = QuaternionAlgebra(SR, -1, -1)
aVars = var('a', n=4, latex_name='a')
bVars = var('b', n=4, latex_name='b')
qa = a0 + a1 * i + a2 * j + a3 * k
dic={a0: -1, a1: 0, a2: 1, a3: 0}
print(qa.substitute(dic))
eq=[a0==-1,a1==0,a2==1,a3==0]
print(qa.subs(eq))
While searching the site for topics that include Quaternions, I noticed that someone had already asked my question. Sorry.
Quaternions Missing Important Functionality?