Esempio n. 1
0
        public double Rdiff(IModelParam param)
        {
            CPHParam v = param as CPHParam;
            double   o = NMath.Abs(omega - v.omega) / v.omega;
            double   a = Blas.Rdiff(ndim, alpha, v.alpha);
            double   b = Blas.Rdiff(ndim, rate, v.rate);

            return(NMath.Max(o, a, b));
        }
Esempio n. 2
0
        public double Rdiff(IModelParam other)
        {
            OriginalParam v = other as OriginalParam;

            return(Blas.Rdiff(n, param, v.param));
        }