To compute the magnitdue of a vector, there are three
options. One can do it explicitly in terms of a
vector's components. One can use the mag(a) function.
One can use the a.mag method to get the magnitude of
a. It would be handy if there were a corresponding
method for getting the norm of a vector, as in a.norm.
There is already a norm() function so I'm thinking
adding a method wouldn't be difficult.
Joe
____________________________________________________________________________________
Finding fabulous fares is fun.
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains.
http://farechase.yahoo.com/promo-generic-14795097
|