> I append the function below, along with some other simple > linear-algebra functions. I never thanked you, by the way, John; have you considered incurring the overhead of producing a formal R package? Otherwise, it's worth its SLOC in gold.