Return-Path: X-Original-To: apmail-commons-user-archive@www.apache.org Delivered-To: apmail-commons-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 913F517543 for ; Wed, 24 Jun 2015 11:51:02 +0000 (UTC) Received: (qmail 58116 invoked by uid 500); 24 Jun 2015 11:51:01 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 57993 invoked by uid 500); 24 Jun 2015 11:51:01 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 57982 invoked by uid 99); 24 Jun 2015 11:51:01 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jun 2015 11:51:01 +0000 Received: from mail-ie0-f178.google.com (mail-ie0-f178.google.com [209.85.223.178]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 289851A02F5 for ; Wed, 24 Jun 2015 11:51:01 +0000 (UTC) Received: by iecvh10 with SMTP id vh10so31327296iec.3 for ; Wed, 24 Jun 2015 04:51:00 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.43.140.5 with SMTP id iy5mr37755639icc.77.1435146660646; Wed, 24 Jun 2015 04:51:00 -0700 (PDT) Received: by 10.79.22.134 with HTTP; Wed, 24 Jun 2015 04:51:00 -0700 (PDT) In-Reply-To: <5589C679.5020300@spaceroots.org> References: <5589C679.5020300@spaceroots.org> Date: Wed, 24 Jun 2015 13:51:00 +0200 Message-ID: Subject: Re: [math] noob; performance metrics? From: Benedikt Ritter To: Commons Users List Content-Type: multipart/alternative; boundary=001a11c2c588e8994d0519421e1c --001a11c2c588e8994d0519421e1c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello Luc, 2015-06-23 22:50 GMT+02:00 Luc Maisonobe : > Hi Mike, > > Le 23/06/2015 21:17, mike shugar a =C3=A9crit : > > 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" > > > > To: > > 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 adde= d > > 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 > > --=20 http://people.apache.org/~britter/ http://www.systemoutprintln.de/ http://twitter.com/BenediktRitter http://github.com/britter --001a11c2c588e8994d0519421e1c--