MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

Matrices Over Z/NZ

  • To: mathgroup at smc.vnet.net
  • Subject: [mg39043] Matrices Over Z/NZ
  • From: "flip" <flip_alpha at safebunch.com>
  • Date: Sat, 25 Jan 2003 01:32:22 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hello,

If I want to create a matrix A mod 2,  which is a matrix of 0's and 1's, how
do I do that?

So, if I want all 2x2 matrices, A mod 2, there would be 2^4 = 16 such
matrices consisting only of 0's and 1's.

These will be:

{{{0, 0}, {0, 0}}, {{1, 0}, {0, 0}}, ..., {{1, 1}, {1, 1}}}

I looked at permutations, discrete and combinatoria, but didn't see anything
obvoius (but I just missed it probably).

Laslty, I'd like to be to do any size matrix (that is, 2x2, 3x3, where it is
user selectable) and any mod n.

Thank you for any guidance.

Flip

To email me remove "_alpha".





  • Prev by Date: RE: Do Loop storing the outputs
  • Next by Date: Repetitive sums of divisors
  • Previous by thread: Re: FilledPlot Question
  • Next by thread: Re: Matrices Over Z/NZ