Author(s): K.S. Kölbig | Library: MATHLIB |
Submitter: | Submitted: 07.06.1992 |
Language: Fortran | Revised: 01.12.1994 |
Subroutine subprograms RRKNYS and DRKNYS advance the solution of the system of simultaneous second-order differential equations
where , by a single step of length h in the independent variable x.
On computers other than CDC or Cray, only the double-precision version DRKNYS is available. On CDC and Cray computers, only the single-precision version RRKNYS is available.
Structure:
SUBROUTINE subprograms
User Entry Names : RRKNYS, DRKNYS
Obsolete User Entry Names: RKNYS RRKNYS
External References: User-supplied SUBROUTINE subprogram
Usage:
For (type REAL), (type DOUBLE PRECISION),
CALL tRKNYS(N,H,X,Y,YP,SUB,W)
SUBROUTINE SUB(X,Y,YP,F)where the variable X and the one-dimensional arrays Y(*), YP(*) and F(*) are of type t. This subroutine must set
Method:
Using boldface quantities to denote vectors of length n, the computational sequence is as follows:
The error per step is proportional to .
Error handling:
For or , control is returned to the calling program without any change in Y or YP.
References: