This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Vector cross product



Agreed that it's simple, but the dot product is even simpler and is included with GSL/BLAS. Even a*A[][] is included (a is a scalar) which is even simpler than the dot product!


Brian Gough wrote:
Haisam K. Ido writes:
 > I've searched GSL and can't find a function to take the cross
 > product of two vectors.  Can someone help?

There isn't one -- it's specific to 3 dimensions and can be calculated
in a few lines.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]