Changeset 7294 for trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.ALGLIB/3.4.0/ALGLIB-3.4.0/diffequations.cs
- Timestamp:
- 01/09/12 11:42:08 (13 years ago)
- Location:
- trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.ALGLIB/3.4.0
- Files:
-
- 1 edited
- 1 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.ALGLIB/3.4.0/ALGLIB-3.4.0/diffequations.cs
r4977 r7294 168 168 obj - optional object which is passed to diff; can be NULL 169 169 170 One iteration of ODE solver.171 172 Called after inialization of State structure with OdeSolverXXX subroutine.173 See HTML docs for examples.174 175 INPUT PARAMETERS:176 State - structure which stores algorithm state between subsequent177 calls and which is used for reverse communication. Must be178 initialized with OdeSolverXXX() call first.179 180 If subroutine returned False, algorithm have finished its work.181 If subroutine returned True, then user should:182 * calculate F(State.X, State.Y)183 * store it in State.DY184 Here State.X is real, State.Y and State.DY are arrays[0..N-1] of reals.185 170 186 171 -- ALGLIB -- … … 372 357 373 358 /************************************************************************* 374 One iteration of ODE solver.375 376 Called after inialization of State structure with OdeSolverXXX subroutine.377 See HTML docs for examples.378 379 INPUT PARAMETERS:380 State - structure which stores algorithm state between subsequent381 calls and which is used for reverse communication. Must be382 initialized with OdeSolverXXX() call first.383 384 If subroutine returned False, algorithm have finished its work.385 If subroutine returned True, then user should:386 * calculate F(State.X, State.Y)387 * store it in State.DY388 Here State.X is real, State.Y and State.DY are arrays[0..N-1] of reals.389 359 390 360 -- ALGLIB -- … … 472 442 m = state.m; 473 443 h = state.h; 474 state.y = new double[n];475 state.dy = new double[n];476 444 maxgrowpow = Math.Pow(odesolvermaxgrow, 5); 477 445 state.repnfev = 0; … … 965 933 state.solvertype = solvertype; 966 934 state.repterminationtype = 0; 935 936 // 937 // Allocate arrays 938 // 939 state.y = new double[n]; 940 state.dy = new double[n]; 967 941 } 968 942
Note: See TracChangeset
for help on using the changeset viewer.