Пример #1
0
 public RndFunction(Func <double, double> f, double skoX3, double dt, double skoX3_dt = 0d)
 {
     Func        = f;
     Shag        = dt;
     SKOx3       = skoX3;
     SKOx3_Funct = t => SKOx3;
     SKOx3dT     = skoX3_dt;
     Random      = new MyRnd();
 }
Пример #2
0
 public RndFunction(Func <double, double> f, Func <double, double> skoF, double dt, double skoX3_dt = 0d)
 {
     Func        = f;
     Shag        = dt;
     SKOx3       = skoF(0);
     SKOx3_Funct = skoF;
     SKOx3dT     = skoX3_dt;
     Random      = new MyRnd();
 }