Skip to content
Prev 270017 / 398502 Next

comparing two unequal matrices without for loop?

On Aug 28, 2011, at 1:20 PM, Paul Hammer wrote:

            
"Unequal " is hardly an adequate data description.
I'm trying to figure out what this is supposed to be doing. You are  
making N^2 comparisons and transferring results from one vector of  
length N to another vector of length N. Is this really what the (non- 
existent) problem definition would have told us to do if you had  
provided a problem definition? It appears there would be a great  
possibility of overwriting earlier operations. And it appears to be  
doing N^2-N unnecessary operations as well.
Blaming the tool is generally a risky idea. Axes can be used  
effectively or ineffectively. I'm guessing inadequate "operator"  
training  and/or confused problem specification.

*---------------------*
*---------------------*


David Winsemius, MD
West Hartford, CT