QLNet.IterativeBootstrap.setup C# (CSharp) Метод

setup() публичный Метод

public setup ( QLNet.PiecewiseYieldCurve ts ) : void
ts QLNet.PiecewiseYieldCurve
Результат void
        public void setup(PiecewiseYieldCurve ts)
        {
            ts_ = ts;

            int n = ts_.instruments_.Count;
            if (!(n+1 >= ts_.interpolator_.requiredPoints))
                throw new ArgumentException("not enough instruments: " + n + " provided, " +
                       (ts_.interpolator_.requiredPoints-1) + " required");

            ts_.instruments_.ForEach(x => x.registerWith(ts_.update));
        }
IterativeBootstrap