[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Modified cross.m

From: etienne grossmann
Subject: Modified cross.m
Date: Sun, 12 Dec 1999 18:26:36 +0000 (WET)


  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.


Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]