Package com.nr.ode

Examples of com.nr.ode.Stochsim.step()


    sinit[3]=0.0;
    Stochsim stoch = new Stochsim(sinit);

    for (k=0;k<NVAR;k++) smax[k]=-1;
    for (i=0;i<M;i++) {
      t=stoch.step();
      for (k=0;k<NVAR;k++)
        if (stoch.s[k] > smax[k]) smax[k]=stoch.s[k];
      if (i % 10 == 0) {
        j=i/10;
        tsav[j]=t;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.