MathGroup Archive 2006

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

Search the Archive

Re: Matrix rows

  • To: mathgroup at
  • Subject: [mg65793] Re: Matrix rows
  • From: Bill Rowe <readnewsciv at>
  • Date: Mon, 17 Apr 2006 02:28:49 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

On 4/16/06 at 3:49 AM, peter.king at (King, Peter R)

>Another question for which I am sure there is a trivial solution.

>If I have a matrix (not square - nearly always has more rows than
>columns). Is there a simple way to check if two (or more) rows are
>the same. I don't need to know how many rows are the same just if
>any are the same. Clearly I could loop through the matrix but this
>must be of order n^2 for an n row matrix.

A simple way to achieve this would be


This will return False if there is a duplicate row and True if there are no duplicate rows.
To reply via email subtract one hundred and four

  • Prev by Date: Re: Matrix rows
  • Next by Date: Re: adding matrices
  • Previous by thread: Re: Matrix rows
  • Next by thread: Re: Matrix rows