Morris Dovey said:
Hmm. Having a bad day, Tom? Your response is a candidate for
"Rudest response ever on comp.lang.c"
I majored in math, enjoyed linear algebra, and haven't inverted a
matrix in more than 40 years. At this point I wouldn't consider
writing a program to do so without digging out one of my old
textbooks and doing intensive review.
Astonishingly, I've been writing software for /very/ happy
employers and clients (which list includes the college where I
/studied/ math, NASA, NSA, a bunch of Fortune 500 firms, and one
stock exchange) for the entire 40+ year period. To bring it a bit
closer, I helped design, write, and debug the first drivers for
at least one (and very possibly two) of the devices in the
machine you used to write that response. Are you really saying
that I had no business doing so? [If "yes", consider yourself
invited to eschew Winchester-derivative hard drives and floppy
drives for the remainder of your career.]
I'd say you should know your math or know how to access math before you
write software. Your personal position alongside history aside these rules
apply to everyone. Being capable of engineering something [buildings,
vehicles, software, etc] isn't as much a matter of memorization as a matter
of knowing enough and knowing how to find stuff too.
Heck I have TAOCP and other texts at arms length too. You don't see me
posting every 20 minutes on how todo this that or the otherthing.
As for the general question at hand. Assuming the guy wanted something to
start from a straightforward RREF is a good place to start. If his code was
going to be plugged into a system at NASA or something, heaven help us all
because people will die...
You might find it helpful to pretend that the person to whom
you're responding is in the same room with you, is 2+m tall, has
a black belt, masses a trim 100kg, and is also having a bad day.
Given that I'm a fairly hefty 2m tall person myself I wouldn't feel that
much intimidated. That being said, I have something called conviction. I
actually believe, get this... you'll love it, that academia is a worthwhile
pursuit and that people who trivialize it (e.g. average college student) are
making a mockery of what it is to learn. You don't know something you
research, you hypothesize, etc. You don't just ask someone else to answer
for you.
If the dude was really not a student then he's still lame since google is a
click away [and probably faster]. If the guy was a student then shame on
him. It's people like him that get A+ while I get C+ [since I actually do
the work and actually do other stuff on the side] then go on thinking
they're professional...
Tom