You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>>>fromsympyimportMatrix>>>fromgalgebra.ltimportMatrix_to_dictionary, Dictionary_to_Matrix>>>fromgalgebra.gaimportGa>>>g2=Ga('e_x e_y', g=[1,1])
>>>m=Matrix([
... [1, 2],
... [3, 4]])
>>>d=Matrix_to_dictionary(m, g2.basis)
>>>d
{e_x: e_x+3*e_y, e_y: 2*e_x+4*e_y}
# this is the transpose of `m`! So one of these functions is wrong>>>Dictionary_to_Matrix(d, g2)
Matrix([
[1, 3],
[2, 4]]).T
The text was updated successfully, but these errors were encountered:
This bug was introduced by a3b4651
The text was updated successfully, but these errors were encountered: