Exemplo n.º 1
0
        public GaussianInterpolator(double sigma)
        {
            Contract.Requires <ArgumentException>(sigma > 0.0, "Sigma must be greater than 0");

            this.sigma = sigma;
            gauss      = new MathUtil.GaussianFactory(sigma);
            support    = gauss.Support;
        }
Exemplo n.º 2
0
        public GaussianInterpolator(double sigma)
        {
            if (sigma <= 0.0)
            {
                throw new ArgumentOutOfRangeException(nameof(sigma), "Value must be greater than 0");
            }

            this.sigma = sigma;
            gauss      = new MathUtil.GaussianFactory(sigma);
            support    = gauss.Support;
        }