public void CopyTo(IModelParam other) { OriginalParam v = other as OriginalParam; if (n == v.n) { Blas.Dcopy(n, param, v.param); } else { throw new InvalidCastException(); } }
public double Rdiff(IModelParam other) { OriginalParam v = other as OriginalParam; return(Blas.Rdiff(n, param, v.param)); }