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. best regards, Luc > > Thanks. > > > > ----- Original Message ----- From: "Andrew E. Davidson" > <[email protected]> > To: <[email protected]> > 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: [email protected] > For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
