public double Adiff(IModelParam param) { CPHParam v = param as CPHParam; double o = NMath.Abs(omega - v.omega); double a = Blas.Adiff(ndim, alpha, v.alpha); double b = Blas.Adiff(ndim, rate, v.rate); return(NMath.Max(o, a, b)); }
public double Adiff(IModelParam other) { OriginalParam v = other as OriginalParam; return(Blas.Adiff(n, param, v.param)); }