Skip to content
Back to formatted view

Raw Message

Message-ID: <BAY18-F9E3F0B10E871F7FFD6674D4B10@phx.gbl>
Date: 2005-08-15T05:12:42Z
From: Todd Remund
Subject: Vector comparison to matrix

I am looking for a fast way to count the number of rows in a matrix are 
identical to a pattern vector.  For example, if I am interested in counting 
the number of row vectors in a matrix that are identical to (1,2,3) what 
would I do?  I have tried the identical statement in a loop but this is far 
too slow.  I have a very large matrix and need to avoid loops at all costs.  
Thanks for any help.
Todd Remund