Christopher Diebold wrote:It is a lot. I understand. How about I just post the one method maybe 30 lines. Tell me if it looks right. Its just a double for loop.
Erm..."Tell me if it
looks right"?
Don't you
know?
I'd never heard of "Stressen's algorithm" before I read this
thread, but I can assure you, if I wrote a program (or method) to implement it, I'd
know if it was right - and certainly if it "looked" right - because I'd know WHAT it was supposed to do.
I suspect strongly that you're too fixated on the
mechanics of this method (and indeed, probably the program as a whole) - ie, HOW you're going to code it - rather than concentrating on WHAT it needs to do.
Don't worry; it's a common beginner's trap - even for smart guys (which I suspect you are) - but unless you're a
Binar, "thinking in code" just doesn't work.
My advice: Read the
StopCoding and
WhatNotHow pages, and come back if you still have problems after following their advice.
Winston