示例#1
0
        public void CopyTo(IModelParam other)
        {
            OriginalParam v = other as OriginalParam;

            if (n == v.n)
            {
                Blas.Dcopy(n, param, v.param);
            }
            else
            {
                throw new InvalidCastException();
            }
        }
示例#2
0
        public double Rdiff(IModelParam other)
        {
            OriginalParam v = other as OriginalParam;

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