commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Steitz <>
Subject Re: [math] can RealMatrixImpl.getDataRef() be added to interface RealMatrix
Date Sun, 09 Oct 2005 04:09:13 GMT
This would be an incompatible change and for commons components, we do
not like to break binary compatibility at all if we can avoid it, and
when we absolutely have to, we do it in a major release, which for
[math] would mean 2.0.

I would not support adding this method directly to the RealMatrix
interface in any case though, since it exposes the internals (I know,
this is necessary for speed for some applications, which is why
RealMatrixImpl has it) and forces the backing store to be a double[][]
array.  Interfaces should not expose implementation internals (which
is why RealMatrix omits it). We have discussed this before.


On 10/8/05, Kim van der Linde <> wrote:
> Hi,
> Would it be possible to add the method .getDataRef() to the interface
> RealMatrix? This facilitates the usage of RealMatrix greatly.
> Cheers,\
> Kim
> --
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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

View raw message