Ask Your Question
1

Product of finite rings in sage

asked 2021-03-31 04:24:31 +0200

GA3165 gravatar image

How to implement the cartesian product of finite commutative rings with 1 with pointwise multiplication in sage?

As far as I know, it is not there yet. So please help me with this. Thank you.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-03-31 09:09:47 +0200

slelievre gravatar image

Use cartesian_product.

Example:

sage: R = cartesian_product([Zmod(4), Zmod(3), Zmod(5)])
sage: R((1, 2, 3)) * R((2, 1, 3))
(2, 2, 4)
sage: R((2, 2, 3)) * R((2, 2, 2))
(0, 1, 1)
edit flag offensive delete link more

Comments

Thank you :)

GA3165 gravatar imageGA3165 ( 2021-04-10 02:32:28 +0200 )edit

How to list out the zero-divisors of this ring? Thank you.

GA3165 gravatar imageGA3165 ( 2021-04-12 06:39:43 +0200 )edit

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2021-03-31 04:24:31 +0200

Seen: 28 times

Last updated: Mar 31