commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benedikt Ritter <brit...@apache.org>
Subject Re: [math] noob; performance metrics?
Date Wed, 24 Jun 2015 11:51:00 GMT
Hello Luc,

2015-06-23 22:50 GMT+02:00 Luc Maisonobe <luc@spaceroots.org>:

> Hi Mike,
>
> Le 23/06/2015 21:17, mike shugar a écrit :
> > To amplify and extend the question - would also like to know the same
> > info where bigdecimal is involved.
>
> I really don't know. We don't reall use BigDecimal in Apache Commons
> Math. We rather used Dfp when we need high accuracy. Dfp does provide
> all floting points operations, including trigonometric, logarithmic
> or hyperbolic functions whereas BigDecimal only provides the classical
> arithmetic operations. Dfp is devoted to really high accuracy (say you
> want to compute an hyperbolic cosine to 200 digits), and is expected
> to be slow.
>
> I am not aware of any benchmarks relative to Dfp (of course it would
> depend on the number of digits you would use) with respecto to
> primitive double numbers. If you want to do some benchmarks, we would
> be happy to see the results.
>

Thank you for this and your other answers on this thread. As someone who is
working mainly on business application (which usually don't involve this
kind of mathematics) reading through your posts has been very informative
for me.

Benedikt


>
> best regards,
> Luc
>
> >
> > Thanks.
> >
> >
> >
> > ----- Original Message ----- From: "Andrew E. Davidson"
> > <andy_davidson@apple.com>
> > To: <user@commons.apache.org>
> > Sent: Tuesday, June 23, 2015 12:08 PM
> > Subject: [math] noob; performance metrics?
> >
> >
> > sorry if this has been asked many times before. (maybe this can be added
> > to the FAQ?)
> >
> > has anyone done any bench marking?
> >
> > The idea of having a math package that is implemented pure java is very
> > attractive. My experience with machine learning is that java is very
> > slow. To go fast you need to take advantage of assembler or libraries
> > written in fortran or C. For example http://jblas.org/ <
> http://jblas.org/>
> >
> >
> > Kind Regards
> >
> > Andy
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> > For additional commands, e-mail: user-help@commons.apache.org
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>


-- 
http://people.apache.org/~britter/
http://www.systemoutprintln.de/
http://twitter.com/BenediktRitter
http://github.com/britter

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