Ask Your Question
1

The in-command

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

FredrikAa gravatar image

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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

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

tmonteil gravatar image

You should first turn your matrix into a list:

sage: 3 in Amat.list()
True
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

Stats

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

Seen: 643 times

Last updated: May 24 '20