| 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()
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.