commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastien Brisard" <>
Subject Re: [math] Implementation of Conjugate Gradient (MATH-581)
Date Thu, 04 Aug 2011 11:13:42 GMT
Hi Gilles,
I'm OK to define a new exception. From your PS, I understand that I should
wait until what I've already submitted ( has been committed
until I submit a patch containing the new exception. Is that right?
I don't think it's necessary to open a new JIRA ticket for this, do you?

Finally, a design issue. I would like the
NonSquareLinearOperatorException to have an accessor to the actual
LinearOperator which was the cause of this exception. It seems to me that
NonSquareMatrixException does not offer this opportunity, so having the latter
inherit from the former might be difficult. Should I give up this accessor,
then? I think it would be a pity. As an example: the constructor of a
preconditioned iterative solver requires TWO LinearOperators, both of which
must be square. If an exception is raised, it would be nice (although not
absolutely essential, since I can always test a posteriori the size of each
operator) to know which operator was faulty.

Thanks for your advice!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message