Questions tagged [java]
For questions about using Java code/libraries/interfaces to solve computational problems.
16 questions
0
votes
0
answers
91
views
What are the most prominent use cases for Java in scientific computing?
What are the most prominent use cases for Java in scientific computing?
I've viewed the domain heavily C/C++, Fortran and possibly Python dominant, but what about Java?
0
votes
0
answers
90
views
Automatic differentiation necessary for large optimal control problems?
I am investigating ways to solve an optimal control problem in an embedded way, preferably in Java. The system is modeled with triple integrator dynamics $u=\dddot{x}$ and solved with multiple ...
4
votes
1
answer
361
views
Stiff ODE solver in the web browser
I'd like to make a web application that lets people play with solving ODE systems, changing parameters with sliders etc. but instead of doing the computations on the server side, solving the equations ...
2
votes
0
answers
100
views
A JAVA solver for ODEs with boundary conditions (BVP)
I need to solve a system of linear first order ODEs with boundary conditions in JAVA. I was wondering if any of you know of a JAVA package with the capability of solving a boundary value problems? (i....
4
votes
0
answers
607
views
Fastest matrix library for Android (with GPU is possible)
I was working on an Android app that requires some linear algebra with matrices. The matrices will be somewhat medium-sized as they are not too small or too big. I was originally using jBlas because ...
1
vote
0
answers
46
views
Fitting a multivariate PDE (using Java)
I'm doing simulations of 2 coupled PDE's with Comsol Multiphysics. I want to fit some data (using the Application method, whose language is Java) to those simulations.
In order to answer my question ...
0
votes
0
answers
62
views
Optimization (best input variables search) for a non-smooth non-linear unknown function
I am trying to optimize a system that monitors and advises a user multiple times over a certain period of time depending on changing outside factors. The systems behavior can be altered by 5 ...
3
votes
2
answers
1k
views
Lost on Matrix Inversion
I try to implement some big matrix inversion. My system configuration is Hardware:- Memory: 62.8GiB, Processor: Intel Xeon(R)CPU E5-2670 v3 @2.30GHZ*48 To implement matrix inversion I am using ...
1
vote
0
answers
218
views
Linear regression with inequality constraint in Java
I haven't been doing math in years and I'm facing the following problem. I'm trying to implement in Java a linear regression under a set of inequality constraints. Sorry in advance for all the ...
1
vote
1
answer
265
views
A fast I/O file format readable by Fortran, Java, PHP?
I am writing a Fortran program that does fairly light weigt computation on fairly large data files. The output must be readable by some Java-script (that i have no insight in) and preferably also by ...
1
vote
0
answers
50
views
Alternative to two "for" loops in finding best neighborhoods for TSP?
I am trying to solve Travelling Salesman Problems using tabu search. I have been able to successfully find "near enough" optimal solutions (as well as one optimal, yay!).
For the moment I am using ...
2
votes
1
answer
787
views
Open source tool comparable to MATLAB Neural Network Tool Box?
Background
I am a graduate student and a researcher. I do not like to rely on commercial products due to cost and also because I feel more comfortable in using and extending existing tools based on ...
5
votes
3
answers
1k
views
What do C, C++ and Java have that Fortran 2003 don't? [closed]
As you may know, Fortran is widely and longly (?) used in science. I've heard a lot of people saying that we natural scientists should all migrate to C++ or Java. I've seen people increasingly ...
2
votes
1
answer
80
views
Is it common or to use objects for calculation of pair interactions in physics and chemistry simulations?
When simulation atoms, molecules, colloids, autc., are there programs that define each interacting unity as an object in the OOP sense?
In my own case, I've been simulating magnetic nanoparticles in ...
0
votes
2
answers
7k
views
Simple java gravity simulation
I'm trying to write a class that uses Newton's law of Gravitation to work out the field of a planet. I've tested my code by inputting values for Earth, for purely vertical motion, so I should get g = -...
0
votes
1
answer
96
views
Simpsons Rule 10<-6 Error
I am making a Java function to calculate $\int_{0}^{\pi/2}x/sin(x) dx$ using Simpsons rule. When the function equals $0$ or $0/\sin(0)$ should I just add $1$ (limit) or $10^{-10}$ (limit). My ...