Ask Your Question

The in-command

asked 2020-05-24 18:29:34 +0200

FredrikAa gravatar image


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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-05-24 19:02:05 +0200

tmonteil gravatar image

You should first turn your matrix into a list:

sage: 3 in Amat.list()
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2020-05-24 18:29:34 +0200

Seen: 479 times

Last updated: May 24 '20