Pelsser.SquaredGaussianModel.f C# (CSharp) Метод

f() публичный Метод

Calculates the instantaneous forward.
public f ( double t, double dt ) : double
t double The time where to calculate the instantaneous forward.
dt double /// The delta of time to consider to calculate the instantaneous forward. ///
Результат double
        public double f(double t, double dt)
        {
            if (t == 0)
                return ZR(t);
            else
                return (ZR(t) * t - ZR(t - dt) * (t - dt)) / dt;
        }