Ask Your Question
1

Product of finite rings in sage

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

GA3165 gravatar image

updated 2024-04-14 16:42:05 +0100

FrédéricC 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 +0100

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 +0100 )edit

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

GA3165 gravatar imageGA3165 ( 2021-04-12 06:39:43 +0100 )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 +0100

Seen: 381 times

Last updated: Mar 31 '21