commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: [complex][math-util] dependencies
Date Tue, 29 Nov 2016 20:26:53 GMT
On Tue, Nov 29, 2016 at 11:39 AM, Jörg Schaible <joerg.schaible@gmx.de>
wrote:

> Hi Eric,
>
> Eric Barnhill wrote:
>
> > I thought it would be good to raise a structural question here rather
> than
> > in the commons-complex JIRA.
> >
> > The Complex library has multiple dependencies on three packages:
> >
> > -- commons-math base classes (e.g. Field et al.)
> > -- commons-math exceptions

> -- commons-math util (numerous classes)
>

Are these Java packages (packages cannot have - in the name) or Maven
modules?


> >
> > Otherwise it is self-contained. (Some tests within the  QuaternionTest
> > class use a large chain of dependencies from the geometry package, so I
> > think it is best to simply remove the geometry-dependent tests until
> > someone arrives to maintain that library.)
> >
> > This suggests to me that, if we were to continue with some kind of
> > math-utils base class, it should consist of these three current packages:
> > the base classes, util and exception. It might in fact make sense to spin
> > out this base library first (which I am happy to oversee) then return to
> > finishing out the independent complex library with only commons-math-util
> > as dependency.
>
> It seems you try to create what commons-math should have been ;-)
>
> However, I'd avoid the term "utils" in a components name, it sounds
> immediately again as dumping ground for all kind of stuff.


+1, "utils" is never a good name. It feels like I could not think of a good
name. Also, it encourages the class/package/module to become a disorganized
kitchen sink of piled up dishes ;-)


> What about
> commons-math-base?
>
> > Would this also be compatible with the current trajectory
> > of RNG?
>
> It's IMHO independent. It boils down more to the point if we agree that
> there will be never a release of commons-math4.
>

It's not clear to me what we are really talking about here in the big
picture.

I really do not think it is a good idea to end up with a bunch of math
components in Commons. We have Commons Math, that component can have
different modules if it wants to slice and dice itself.

We could "shelve" math4 and have a math5 with all of the modules being
discussed here and there.

Gary


>
> Cheers,
> Jörg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<https://www.amazon.com/gp/product/1617290459/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1617290459&linkCode=as2&tag=garygregory-20&linkId=cadb800f39946ec62ea2b1af9fe6a2b8>

<http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1617290459>
JUnit in Action, Second Edition
<https://www.amazon.com/gp/product/1935182021/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182021&linkCode=as2&tag=garygregory-20&linkId=31ecd1f6b6d1eaf8886ac902a24de418%22>

<http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182021>
Spring Batch in Action
<https://www.amazon.com/gp/product/1935182951/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182951&linkCode=%7B%7BlinkCode%7D%7D&tag=garygregory-20&linkId=%7B%7Blink_id%7D%7D%22%3ESpring+Batch+in+Action>
<http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182951>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

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