You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Luc Maisonobe (JIRA)" <ji...@apache.org> on 2015/11/11 21:14:11 UTC

[jira] [Created] (MATH-1288) Allow ordinary differential equations to use Field

Luc Maisonobe created MATH-1288:
-----------------------------------

             Summary: Allow ordinary differential equations to use Field
                 Key: MATH-1288
                 URL: https://issues.apache.org/jira/browse/MATH-1288
             Project: Commons Math
          Issue Type: New Feature
    Affects Versions: 3.5
            Reporter: Luc Maisonobe
            Assignee: Luc Maisonobe
            Priority: Minor
             Fix For: 3.6


Several algorithms in Apache Commons Math already provide one implementation for primitive double and another implementation for RealField elements. Among these are linear algebra, solvers and geometry.

It would be fine to also have such a feature for ODE.

A side effect of developing this would be to test a simplified API that could later be backported to the double[] ode implementation in the 4.X series.

Implementing this is quite simple (but involves numerous classes and interfaces, since the ode package is large) as it mainly consists in changing types from double to T (with T the parameter for the class) and replacing the operations with calls to add, subtract, multiply ...

As an initial step, providing this feature for only a small subset of existing integrators would be sufficient (typically Dormand-Prince 8(5, 3) would be needed). More complex integrators like Gragg-Bulirsch-Stoer could be done later on.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)