QLNet.SwaptionVolatilityMatrix.smileSectionImpl C# (CSharp) Method

smileSectionImpl() protected method

protected smileSectionImpl ( double optionTime, double swapLength ) : QLNet.SmileSection
optionTime double
swapLength double
return QLNet.SmileSection
        protected override SmileSection smileSectionImpl(double optionTime, double swapLength)
        {
            double atmVol = volatilityImpl(optionTime, swapLength, 0.05);
            return (SmileSection) new FlatSmileSection(optionTime, atmVol, dayCounter());
        }