Re: [Off-list] Re: [math] RealMatrixFormat.parse()

2015-12-31 Thread Gilles
Not really "off-list". Sorry for the noise... Gilles On Fri, 01 Jan 2016 01:41:25 +0100, Gilles wrote: HAPPY NEW YEAR!! Ole Thanks, Ole. Best wishes to you too, Gilles - To unsubscribe, e-mail: dev-unsubscr...@commons

[Off-list] Re: [math] RealMatrixFormat.parse()

2015-12-31 Thread Gilles
HAPPY NEW YEAR!! Ole Thanks, Ole. Best wishes to you too, Gilles - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org

Re: [math] RealMatrixFormat.parse()

2015-12-31 Thread Ole Ersoy
On 12/31/2015 05:42 PM, Gilles wrote: On Thu, 31 Dec 2015 12:54:00 -0600, Ole Ersoy wrote: On 12/31/2015 11:10 AM, Gilles wrote: On Wed, 30 Dec 2015 21:33:56 -0600, Ole Ersoy wrote: Hi, In RealMatrixFormat.parse() MatrixUtils makes the decision on what type of RealMatrix instance to return.

Re: [math] RealMatrixFormat.parse()

2015-12-31 Thread Gilles
On Thu, 31 Dec 2015 12:54:00 -0600, Ole Ersoy wrote: On 12/31/2015 11:10 AM, Gilles wrote: On Wed, 30 Dec 2015 21:33:56 -0600, Ole Ersoy wrote: Hi, In RealMatrixFormat.parse() MatrixUtils makes the decision on what type of RealMatrix instance to return. Ideally, this is correct as the actual

Re: [math] RealMatrixFormat.parse()

2015-12-31 Thread Ole Ersoy
On 12/31/2015 11:10 AM, Gilles wrote: On Wed, 30 Dec 2015 21:33:56 -0600, Ole Ersoy wrote: Hi, In RealMatrixFormat.parse() MatrixUtils makes the decision on what type of RealMatrix instance to return. Ideally, this is correct as the actual type is an "implementation detail". Flexibility is

Re: [math] RealMatrixFormat.parse()

2015-12-31 Thread Gilles
On Wed, 30 Dec 2015 21:33:56 -0600, Ole Ersoy wrote: Hi, In RealMatrixFormat.parse() MatrixUtils makes the decision on what type of RealMatrix instance to return. Ideally, this is correct as the actual type is an "implementation detail". Flexibility is gained if it just returns double[][]

Re: [math] RealMatrixFormat.parse()

2015-12-31 Thread Ole Ersoy
On 12/31/2015 03:33 AM, Luc Maisonobe wrote: Le 31/12/2015 04:33, Ole Ersoy a écrit : [...] Of course, using this feature is rather expert use. Typically, it is done when some algorithm creates the data array by itself, and then wants to return it as a matrix, but will not use the array by

Re: [math] RealMatrixFormat.parse()

2015-12-31 Thread Luc Maisonobe
Le 31/12/2015 04:33, Ole Ersoy a écrit : > Hi, > > In RealMatrixFormat.parse() MatrixUtils makes the decision on what type > of RealMatrix instance to return. Flexibility is gained if it just > returns double[][] letting the caller decide what type of RealMatrix > instance to create. It's also b

[math] RealMatrixFormat.parse()

2015-12-30 Thread Ole Ersoy
Hi, In RealMatrixFormat.parse() MatrixUtils makes the decision on what type of RealMatrix instance to return. Flexibility is gained if it just returns double[][] letting the caller decide what type of RealMatrix instance to create. It's also better for modularity, as is reduces RealMatrixFor