Re: [math] Iterative linear solvers (MATH-581) again

2011-07-08 Thread Sebastien Brisard
Thanks to everyone for this interesting discussion. I've attached a new file to the MATH-581 JIRA ticket, including your comments (I hope). Hope this will get integrated into Commons-Math ! Sebastien - To unsubscribe, e-mail: dev-

Re: [math] Iterative linear solvers (MATH-581) again

2011-07-08 Thread Ted Dunning
As your measurements indicate, the allocation of large objects is rarely a speed issue. It can be a memory fragmentation issue, but a full GC will fix that as well. People who are stressed about allocation of result vectors such as what you are doing are mostly worried about the wrong thing. 201

Re: [math] Iterative linear solvers (MATH-581) again

2011-07-08 Thread Luc Maisonobe
Le 08/07/2011 12:28, Sébastien Brisard a écrit : I would go to the natural type we get when building the exception. If we may build the exception from both types, then I would select RealVector. We do not intend to perform large processing on elements, but we want to display them and I think we

Re: [math] Iterative linear solvers (MATH-581) again

2011-07-08 Thread Gilles Sadowski
On Fri, Jul 08, 2011 at 12:28:23PM +0200, Sébastien Brisard wrote: > > > > I would go to the natural type we get when building the exception. If we may > > build the exception from both types, then I would select RealVector. We do > > not intend to perform large processing on elements, but we want

[math] Iterative linear solvers (MATH-581) again

2011-07-08 Thread Sebastien BRISARD
> > I would go to the natural type we get when building the exception. If we may > build the exception from both types, then I would select RealVector. We do > not intend to perform large processing on elements, but we want to display > them and I think we do have formatting for vectors. > > best r

Re: [math] Iterative linear solvers (MATH-581) again

2011-07-08 Thread Sébastien Brisard
> > I would go to the natural type we get when building the exception. If we may > build the exception from both types, then I would select RealVector. We do > not intend to perform large processing on elements, but we want to display > them and I think we do have formatting for vectors. > > best r

Re: [math] Iterative linear solvers (MATH-581) again

2011-07-08 Thread Luc Maisonobe
Le 08/07/2011 08:44, Sebastien Brisard a écrit : Hi everyone, well the message below did not raise much of an interest... My apology, I forgot to quote [math] in the title. Sorry, I forgot to reply in a timely fashion. Anyway, I have a new proposal regarding this issue. I do not know what you

Re: [math] Iterative linear solvers (MATH-581) again

2011-07-08 Thread Gilles Sadowski
On Fri, Jul 08, 2011 at 08:44:15AM +0200, Sebastien Brisard wrote: > Hi everyone, > well the message below did not raise much of an interest... My apology, I > forgot to quote [math] in the title. > Anyway, I have a new proposal regarding this issue. I do not know what your > view on the subject is

[math] Iterative linear solvers (MATH-581) again

2011-07-07 Thread Sebastien Brisard
Hi everyone, well the message below did not raise much of an interest... My apology, I forgot to quote [math] in the title. Anyway, I have a new proposal regarding this issue. I do not know what your view on the subject is, but I tend to think that exceptions should return references and not deep c