Re: [commons - math] Vector and Scalar multiplications

2005-01-10 Thread Tzvika Barenholz
> The formulas that you cite look correct mathematically, but > unfortunately not the best numerically. The reference in the post above > describes a better computational approach. Patches to support QR > decomposition of real matrices so we can implement that algorithm or > other numerically soun

Re: [commons - math] Vector and Scalar multiplications

2005-01-09 Thread Tzvika Barenholz
On Sun, 09 Jan 2005 14:11:31 -0500, Phil Steitz <[EMAIL PROTECTED]> wrote: > ... I would not be > averse to adding either a set of static methods on double[] arrays or a > RealVector class for various vector products, linear combinations, etc. > if others have practical uses for this. Regarding p

Re: [commons - math] Vector and Scalar multiplications

2005-01-09 Thread Tzvika Barenholz
> What exactly do you mean by "methods for multiplying vectors with > other vectors of scalars"? General vector algebra usually only > defines scalar*vector. There are multiple (conflicting) definitions > for vector*vector in various contexts, the most common is > (a1, a2, ...)*(b1, b2, ...)=(a1*b

[commons - math] Vector and Scalar multiplications

2005-01-09 Thread Tzvika Barenholz
Hi all Is there somewhere in the Math package simple methods for multiplying vectors with other vectors of scalars? this is simple functionality but it should be in once place IMHO, not as a private little method in every Class. Did i miss something? as far as I could tell there is no RealVector c