From help-octave-request at bevo dot che dot wisc dot edu Sun Dec 12 12:27:22 1999 Subject: Modified cross.m From: etienne grossmann To: help-octave at bevo dot che dot wisc dot edu CC: etienne at isr dot ist dot utl dot pt Date: Sun, 12 Dec 1999 18:26:36 +0000 (WET) Hello, I propose to change the cross() function so that its usage be : ## usage: cross (x, y) ## ## Computes the vector cross product of the two 3-dimensional vectors ## x and y. ## ## x and y may be Px3 (default) or 3xP. If x and y have same size, the ## result has same size as the arguments. If one argument is Px3 and the ## other 3xP, the size of the result will be Px3 unless if ## prefer_column_vectors is set. This differs from the current cross function by accepting multiple vectors. Incidentaly, this is more like "matlab". I already have the code, and have been using it for a while. Etienne ----------------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.che.wisc.edu/octave/octave.html How to fund new projects: http://www.che.wisc.edu/octave/funding.html Subscription information: http://www.che.wisc.edu/octave/archive.html -----------------------------------------------------------------------