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


Haisam K. Ido wrote:


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!


I think the point which Brian was trying to make -- and I apologise in advance if I'm wrong -- is that a dot product is general and applies to vectors of any length as the sum of the pairwise products of the elements of those vectors. In contrast, the vector product you're referring to only exists when the vector is of length three. As such it's a specialised case and not worth including in the library.

Adam


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