commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Dunning" <ted.dunn...@gmail.com>
Subject Re: [math] Matrix storage format WAS Re: svn commit: r721203 [1/2] - in /commons/proper/math/branches/MATH_2_0: ./ src/java/org/apache/commons/math/linear/ src/site/xdoc/ src/site/xdoc/userguide/ src/test/org/apache/commons/math/linear/
Date Sat, 29 Nov 2008 17:16:18 GMT
Actually, much of the API is fairly perverse.  In the statistical code,
particularly, there are typically two three classes where one would do.  I
think that somebody read the book on "style" and took it a bit too
literally.  Factories and abstracts and interfaces and concrete
implementations are all well and good where there is something complex going
on, but for classes with just a few implementations an abstract super-class
and concrete implementations would do just fine. (and it could grow into the
more complex arrangement if there ever is a need).

On Sat, Nov 29, 2008 at 7:10 AM, Phil Steitz <phil.steitz@gmail.com> wrote:

> An admittedly smelly, but useful feature of RealMatrixImpl is that it
> exposes the underlying double[][] array.




-- 
Ted Dunning, CTO
DeepDyve
4600 Bohannon Drive, Suite 220
Menlo Park, CA 94025
www.deepdyve.com
650-324-0110, ext. 738
858-414-0013 (m)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message