Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In search for a good Java ODE solver

I'm working on a project to create a GUI for an algorithm in MATLAB using an ODE solver (ode45). So I have to translate the MATLAB code to Java. The problem is the ode45 solver. Java does not seem to have a solver ready to use, and ODE's are not really my speciality. Am I just not looking good, or are there really no ODE solvers for Java implemented?

thanks

like image 677
Sander Avatar asked Jul 17 '12 12:07

Sander


2 Answers

If you need a mathematical library for Java, there are several available on the market, either open-source or commercial. These are few ones.

  • JMSL by Roguewave, entirely written in Java , which we use succesfully at work
  • NAG, written in C but widely documented so that can be used from Java
  • Apache commons math, which is open source and contains also a ODE http://commons.apache.org/math/userguide/ode.html
like image 135
Edmondo1984 Avatar answered Oct 04 '22 00:10

Edmondo1984


not exactly what you asked but did you consider creating the GUI from matlab instead? it's not that different from basic java swing/awt things unless you're looking for fancy GUI things.

http://www.mathworks.com/help/techdoc/creating_guis/bqz6qcd.html

like image 22
oalah Avatar answered Oct 04 '22 00:10

oalah