Package pycosmicstar :: Module run_kut4
[hide private]
[frames] | no frames]

Module run_kut4

source code


Version: 1.0.1

Author: Eduardo dos Santos Pereira

License: GPLV3

Functions [hide private]
 
rk4_int(F, x, y, xStop, h) source code
Variables [hide private]
  __email__ = 'pereira.somoza@gmail.com'
  __credits__ = ['Eduardo dos Santos Pereira']
  __maintainer__ = 'Eduardo dos Santos Pereira'
  __status__ = 'Stable'
4th-order Runge-Kutta method for solving the initial value problem X,Y = integrate(F,x,y,xStop,h).
  __package__ = None
Variables Details [hide private]

__status__

4th-order Runge-Kutta method for solving the initial value problem
X,Y = integrate(F,x,y,xStop,h).
   4th-order Runge-Kutta method for solving the
   initial value problem { y} ’ = { F(x,{ y} )} , where
    { y} = { y[0],y[1],...y[n-1]} .
    x,y    = initial conditions.
    xStop = terminal value of x.
    h      = increment of x used in integration.
    F      = user-supplied function that returns the
              array F(x,y) = { y’[0],y’[1],...,y’[n-1]} .


This file is part of pystar.
copyright : Eduardo dos Santos Pereira

pystar is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License.
pystar is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Foobar.  If not, see <http://www.gnu.org/licenses/>.

Value:
'Stable'