1 | initial version |
Converting matrix to list and converting this list back to matrix by setting type=matrix is not straightforward but it works in sage cell server:
@interact
def _(m=input_box(list(identity_matrix(2)),type=matrix)):
print type(m)
print m
print m.eigenvalues()