From: Bruce S. <Bru...@nc...> - 2007-02-19 22:25:54
|
You can say a.norm(). Joe Heafner wrote: > 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 > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |