Re: [math] SingularValueDecomposition

2006-07-17 Thread Tyler Ward
OK, thanks. One wrinkle that I didn't anticipate is that the legal department at work didn't give me the automatic yes that I expected. I did develop this in my own time over a couple of weekends, and it's not in any way related to them, but if legal is of the mentality that everything gets rejec

Re: [math] SingularValueDecomposition

2006-07-17 Thread Phil Steitz
Hi Tyler, Thanks for your interest in contributing to Commons Math. In general (though see disclaimers below), taking "textbook algorithms" and implementing them with original code is fine, though often textbook algorithms don't really work too well in practical applications, and [math] is real

[math] SingularValueDecomposition

2006-07-17 Thread Tyler Ward
This is why the householder transformation was so simple. There are better ones, but I thought I'd play it safe and implement it directly from the textbook definition to not run afoul of any copyrights. All of the code came from the text of textbooks, I didn't take any code from anywhere. How sho

Re: [math] Re: SingularValueDecomposition

2006-07-16 Thread Simon Kitching
On Mon, 2006-07-17 at 06:50 +0200, Luc Maisonobe wrote: > Tyler Ward wrote : > > Hi guys, I haven't sent mail to this list before. I've noticed that > > apache > > doesn't have an SVD algorithm, so I put one together. Are you guys > > interested? > > By the way, could you add [math] as a marker i

[math] Re: SingularValueDecomposition

2006-07-16 Thread Luc Maisonobe
Tyler Ward wrote : Hi guys, I haven't sent mail to this list before. I've noticed that apache doesn't have an SVD algorithm, so I put one together. Are you guys interested? By the way, could you add [math] as a marker in your subject for this list (I forgot to fix it in my previous mail, sorr

Re: SingularValueDecomposition

2006-07-16 Thread Luc Maisonobe
Tyler Ward wrote : Hi guys, I haven't sent mail to this list before. I've noticed that apache doesn't have an SVD algorithm, so I put one together. Are you guys interested? As far as I am concerned, yes. More specifically, the householder transformation is absolutely naieve, Perhaps we shou

SingularValueDecomposition

2006-07-16 Thread Tyler Ward
Hi guys, I haven't sent mail to this list before. I've noticed that apache doesn't have an SVD algorithm, so I put one together. Are you guys interested? This is entirely of my creation, I didn't copy or examine code from anywhere. I wrote all the transformations by hand just browsing through lin

Re: [Math] SingularValueDecomposition test case

2005-10-02 Thread Kim van der Linde
Hi Phil and Al, Thanks for the advise. I have digged through it, and the code seems fine with many matrices. Kim -- http://www.kimvdlinde.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [Math] SingularValueDecomposition test case

2005-10-02 Thread Phil Steitz
Other than published examples or examples worked by hand, one thing that I have found useful is to compute target values using R (which I think does SVD), mathematica or other packages. That is obviously not infallible, but often brings bugs to the surface. Sometimes you can also use known analyt

Re: [Math] SingularValueDecomposition test case

2005-10-01 Thread Al Chou
Never having used or even learned anything in detail about SVD, my only suggestion is that equations 2.6.1 and 2.6.4 in http://library.lanl.gov/numerical/bookcpdf/c2-6.pdf are, as the text therein says, the only defining requirements for the SVD of any matrix. You could, as the text says, verify t

[Math] SingularValueDecomposition test case

2005-10-01 Thread Kim van der Linde
Hi All, In the past, I have plugged the JAMA SVD class to the matrix class of commons.math. I do now want to run a test in it, so, the questio becomes, does someone has a known test case for me? Cheers, Kim -- http://www.kimvdlinde.com ---