The in-command
Hello,
I tried using Amat=matrix(ZZ,1,1,3)
3 in Amat
but get false.
Have also tried
matrix(ZZ,1,1,3) in Amat
Any suggestions would be highly appreciated.
add a comment
You should first turn your matrix into a list:
sage: 3 in Amat.list()
True
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2020-05-24 18:29:34 +0100
Seen: 617 times
Last updated: May 24 '20