commons-dev mailing list archives

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

2013/2/1 Thomas Neidhart <>

> Hi Guys,
> thanks for your feedback, much appreciated!
> Thomas
> On Thu, Jan 31, 2013 at 9:17 PM, Thomas Neidhart
> <>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.

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!


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

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