commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From S├ębastien Brisard <sebastien.bris...@m4x.org>
Subject Re: [math] Question regarding use of CM - who is using it?
Date Fri, 01 Feb 2013 13:15:14 GMT
Hello,


2013/2/1 Thomas Neidhart <thomas.neidhart@gmail.com>

> Hi Guys,
>
> thanks for your feedback, much appreciated!
>
> Thomas
>
> On Thu, Jan 31, 2013 at 9:17 PM, Thomas Neidhart
> <thomas.neidhart@gmail.com>wrote:
>
> > Hi,
> >
> > Gilles and myself will give a presentation on CM at FOSDEM this weekend
> > and we would like to have a few more examples of how CM is currently
> used.
> >
>

I use CM to simulate the mechanical behaviour of composite materials. This
boils down to inverting rather large linear systems, for which I use the
iterative solvers a lot.

Also, assembly of the matrix of the system is a bit tricky : the
coefficients can be computed analytically, but the expressions are just
HUGE. So I implemented a small multivariate polynomial package, to carry
out the calculations analytically with Commons-Math. For this part of my
work, the most important ingredients were big fractions and the definitions
of Field and FieldElement. This way, the analytical precomputation turns
out to be way faster than with standard computer algebra systems (e.g.
Maxima).

For the record, I then used a library which was recommended on this mailing
list a few months ago (Codemodel) to automatically generate Java code from
these analytical expressions.

Best regards, and have a good time at the conference!

S├ębastien

> I know Phil asked a similar question a few weeks ago, was there any
> > feedback?
> >
> > Thanks,
> >
> > Thomas
> >
>

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