matrix is singular when doing LU Decomposition

2013-10-11 Thread Li Li
hi all I am using commons math to solve a linear equation. When I use LUDecomposition, it throws a SingularMatrixException. If I switch it to QRDecomposition, it's ok. The problem is a simple polynomial regression. it is taken from Bishop's book pattern recognition and machine learning,

[math] Re: matrix is singular when doing LU Decomposition

2013-10-11 Thread Luc Maisonobe
Hi Li Li, First of all, please note that this mailing list is shared among many Apache Commons components, so the name of the component (here [math]) must be included in the subject line as I did when answering your question), so it helps the numerous subscriber to filter. Le 11/10/2013 08:31,

Re: [math] Re: matrix is singular when doing LU Decomposition

2013-10-11 Thread Luc Maisonobe
Le 11/10/2013 09:48, Luc Maisonobe a écrit : Hi Li Li, First of all, please note that this mailing list is shared among many Apache Commons components, so the name of the component (here [math]) must be included in the subject line as I did when answering your question), so it helps the

Chain Configuration

2013-10-11 Thread Jagan Ranganathan
Hi, We are trying to use Chain Of Responsibility pattern in the server side. We have defined our chain+commands in an xml and are parsing it via ConfigParser. But we face a problem with getting Catalog via CatalogFactoryBase.getInstance().getCatalog(catalogName) call.Looks like it has got

Re: Chain Configuration

2013-10-11 Thread Benedikt Ritter
Hi Jagan, as far as I know, no there isn't... We know this is a flaw in chain and we intended to fix it for chain2 (which is in the current trunk of chain). But currently there is nobody who really has the time make chain2 ready for a release. Simone Tripodi was working on it and he intended to

Validating expressions

2013-10-11 Thread Rui Vilão
Hi all, Is there any way of validating expressions before runtime? In our product currently we're building a context for the expressions and we try to run them. The problem is with the boolean results; for instance: !hello.equals(hello) and faulty branch the second branch is not evaluated

[imaging] How to Write B/W png image file

2013-10-11 Thread R. S. Patil
Hello, I have Successfully used Tiff format and saved images on disk which can be used by many programs on Linux as well on windows. I am also able to convert colored/grayscale images to B/W in Tiff and resulting file is just 15K range. Since I am using these files in a Flex/BlazeDS/Spring web

Re: [email] TLS not verified properly (security issue)

2013-10-11 Thread Siegfried Goeschl
Hi Thomas, I check with my test case and update the documentation accordingly Thanks, Siegfried Goeschl On 09.10.13 22:42, Thomas Neidhart wrote: On 10/09/2013 12:26 PM, Carl Erberg wrote: Hi, in the user guide to commons email http://commons.apache.org/proper/commons-email/userguide.html

Re: Chain Configuration

2013-10-11 Thread Jagan Ranganathan
Hi, Thanks for your response. We retained CatalogFactory instance in our backend code where we parsed the chain config xml. You see any issues with this? Regards, Jagan On Fri, 11 Oct 2013 14:52:25 +0530 Benedikt Ritterlt;brit...@apache.orggt; wrote Hi Jagan, as far as I