Ask Your Question
1

The in-command

asked 2020-05-24 11:29:34 -0600

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 12:02:05 -0600

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 11:29:34 -0600

Seen: 35 times

Last updated: May 24