Linux Manuals session 3

Section 3: library functions

  • |

    DigitalCmsLeg (3) Linux Manual Page

    QuantLib::DigitalCmsLeg – helper class building a sequence of digital ibor-rate coupons Synopsis #include <ql/cashflows/digitalcmscoupon.hpp> Public Member Functions DigitalCmsLeg (const Schedule &schedule, const boost::shared_ptr< SwapIndex > &index) DigitalCmsLeg & withNotionals (Real notional) DigitalCmsLeg & withNotionals (const std::vector< Real > &notionals) DigitalCmsLeg & withPaymentDayCounter (const DayCounter &) DigitalCmsLeg & withPaymentAdjustment (BusinessDayConvention) DigitalCmsLeg & withFixingDays (Natural fixingDays) DigitalCmsLeg…

  • |

    DigitalCmsCoupon (3) Linux Manual Page

    NAME ql/cashflows/digitalcmscoupon.hpp – Cms-rate coupon with digital call/put option. SYNOPSIS #include <ql/cashflows/digitalcoupon.hpp> #include <ql/cashflows/cmscoupon.hpp> #include <ql/time/schedule.hpp> Classes class DigitalCmsCoupon Cms-rate coupon with digital digital call/put option. class DigitalCmsLeg helper class building a sequence of digital ibor-rate coupons Detailed Description Cms-rate coupon with digital call/put option. Author Generated automatically by Doxygen for QuantLib from the source…

  • |

    diagonal (3) Linux Manual Page

    NAME QuantLib::Matrix – Matrix used in linear algebra. SYNOPSIS #include <ql/math/matrix.hpp> Inherited by Disposable< Matrix >. Public Types typedef Real * iterator typedef const Real * const_iterator typedef boost::reverse_iterator< iterator > reverse_iterator typedef boost::reverse_iterator< const_iterator > const_reverse_iterator typedef Real * row_iterator typedef const Real * const_row_iterator typedef boost::reverse_iterator< row_iterator > reverse_row_iterator typedef boost::reverse_iterator< const_row_iterator >…

  • |

    DerivedQuote (3) Linux Manual Page

    QuantLib::DerivedQuote – market quote whose value depends on another quote Synopsis #include <ql/quotes/derivedquote.hpp> Inherits QuantLib::Quote, and QuantLib::Observer. Public Member Functions DerivedQuote (const Handle< Quote > &element, const UnaryFunction &f) Quote interface Real value () const returns the current value bool isValid () const returns true if the Quote holds a valid value Observer interface void…

  • |

    Derived (3) Linux Manual Page

    QuantLib::ExchangeRate – exchange rate between two currencies Synopsis #include <ql/exchangerate.hpp> Public Types enum Type { Direct, Derived } Public Member Functions Constructors ExchangeRate () ExchangeRate (const Currency &source, const Currency &target, Decimal rate) Inspectors const Currency & source () const the source currency. const Currency & target () const the target currency. Type type ()…

  • |

    DerivativeApprox (3) Linux Manual Page

    QuantLib::CubicInterpolation – Cubic interpolation between discrete points. Synopsis #include <ql/math/interpolations/cubicinterpolation.hpp> Inherits QuantLib::Interpolation. Inherited by MonotonicNaturalCubicInterpolation, and NaturalCubicInterpolation. Public Types enum DerivativeApprox { Spline, FourthOrder, Parabolic, ModifiedParabolic, FritschButland, Akima, Kruger } enum BoundaryCondition { NotAKnot, FirstDerivative, SecondDerivative, Periodic, Lagrange } Public Member Functions template<class I1 , class I2 > CubicInterpolation (const I1 &xBegin, const I1 &xEnd,…

  • |

    DepositRateHelper (3) Linux Manual Page

    QuantLib::DepositRateHelper – Rate helper for bootstrapping over deposit rates. Synopsis #include <ql/termstructures/yield/ratehelpers.hpp> Inherits QuantLib::RelativeDateRateHelper. Public Member Functions DepositRateHelper (const Handle< Quote > &rate, const Period &tenor, Natural fixingDays, const Calendar &calendar, BusinessDayConvention convention, bool endOfMonth, const DayCounter &dayCounter) DepositRateHelper (Rate rate, const Period &tenor, Natural fixingDays, const Calendar &calendar, BusinessDayConvention convention, bool endOfMonth, const DayCounter…

  • |

    DefaultVisualOfScreen (3) Linux Manual Page

    BlackPixelOfScreen, WhitePixelOfScreen, CellsOfScreen, DefaultColormapOfScreen, DefaultDepthOfScreen, DefaultGCOfScreen, DefaultVisualOfScreen, DoesBackingStore, DoesSaveUnders, DisplayOfScreen, XScreenNumberOfScreen, EventMaskOfScreen, HeightOfScreen, HeightMMOfScreen, MaxCmapsOfScreen, MinCmapsOfScreen, PlanesOfScreen, RootWindowOfScreen, WidthOfScreen, WidthMMOfScreen – screen information functions and macros Syntax unsigned long BlackPixelOfScreen(Screen *screen); unsigned long WhitePixelOfScreen(Screen *screen); int CellsOfScreen(Screen *screen); Colormap DefaultColormapOfScreen(Screen *screen); int DefaultDepthOfScreen(Screen *screen); GC DefaultGCOfScreen(Screen *screen); Visual *DefaultVisualOfScreen(Screen *screen); int DoesBackingStore(Screen *screen); Bool DoesSaveUnders(Screen…

  • |

    DefaultVisual (3) Linux Manual Page

    AllPlanes, BlackPixel, WhitePixel, ConnectionNumber, DefaultColormap, DefaultDepth, XListDepths, DefaultGC, DefaultRootWindow, DefaultScreenOfDisplay, DefaultScreen, DefaultVisual, DisplayCells, DisplayPlanes, DisplayString, XMaxRequestSize, XExtendedMaxRequestSize, LastKnownRequestProcessed, NextRequest, ProtocolVersion, ProtocolRevision, QLength, RootWindow, ScreenCount, ScreenOfDisplay, ServerVendor, VendorRelease – Display macros and functions Syntax unsigned long AllPlanes; unsigned long BlackPixel(Display *display, int screen_number); unsigned long WhitePixel(Display *display, int screen_number); int ConnectionNumber(Display *display); Colormap DefaultColormap(Display *display, int…

  • |

    DefaultScreenOfDisplay (3) Linux Manual Page

    AllPlanes, BlackPixel, WhitePixel, ConnectionNumber, DefaultColormap, DefaultDepth, XListDepths, DefaultGC, DefaultRootWindow, DefaultScreenOfDisplay, DefaultScreen, DefaultVisual, DisplayCells, DisplayPlanes, DisplayString, XMaxRequestSize, XExtendedMaxRequestSize, LastKnownRequestProcessed, NextRequest, ProtocolVersion, ProtocolRevision, QLength, RootWindow, ScreenCount, ScreenOfDisplay, ServerVendor, VendorRelease – Display macros and functions Syntax unsigned long AllPlanes; unsigned long BlackPixel(Display *display, int screen_number); unsigned long WhitePixel(Display *display, int screen_number); int ConnectionNumber(Display *display); Colormap DefaultColormap(Display *display, int…

  • |

    DefaultScreen (3) Linux Manual Page

    AllPlanes, BlackPixel, WhitePixel, ConnectionNumber, DefaultColormap, DefaultDepth, XListDepths, DefaultGC, DefaultRootWindow, DefaultScreenOfDisplay, DefaultScreen, DefaultVisual, DisplayCells, DisplayPlanes, DisplayString, XMaxRequestSize, XExtendedMaxRequestSize, LastKnownRequestProcessed, NextRequest, ProtocolVersion, ProtocolRevision, QLength, RootWindow, ScreenCount, ScreenOfDisplay, ServerVendor, VendorRelease – Display macros and functions Syntax unsigned long AllPlanes; unsigned long BlackPixel(Display *display, int screen_number); unsigned long WhitePixel(Display *display, int screen_number); int ConnectionNumber(Display *display); Colormap DefaultColormap(Display *display, int…

  • |

    DefaultRootWindow (3) Linux Manual Page

    AllPlanes, BlackPixel, WhitePixel, ConnectionNumber, DefaultColormap, DefaultDepth, XListDepths, DefaultGC, DefaultRootWindow, DefaultScreenOfDisplay, DefaultScreen, DefaultVisual, DisplayCells, DisplayPlanes, DisplayString, XMaxRequestSize, XExtendedMaxRequestSize, LastKnownRequestProcessed, NextRequest, ProtocolVersion, ProtocolRevision, QLength, RootWindow, ScreenCount, ScreenOfDisplay, ServerVendor, VendorRelease – Display macros and functions Syntax unsigned long AllPlanes; unsigned long BlackPixel(Display *display, int screen_number); unsigned long WhitePixel(Display *display, int screen_number); int ConnectionNumber(Display *display); Colormap DefaultColormap(Display *display, int…

  • |

    DefaultProbabilityTermStructure (3) Linux Manual Page

    QuantLib::DefaultProbabilityTermStructure – default probability term structure Synopsis #include <ql/termstructures/defaulttermstructure.hpp> Inherits QuantLib::TermStructure. Inherited by DefaultDensityStructure, and HazardRateStructure. Public Member Functions Constructors See the TermStructure documentation for issues regarding constructors. DefaultProbabilityTermStructure (const DayCounter &dc=DayCounter()) default constructor DefaultProbabilityTermStructure (const Date &referenceDate, const Calendar &cal=Calendar(), const DayCounter &dc=DayCounter()) initialize with a fixed reference date DefaultProbabilityTermStructure (Natural settlementDays, const Calendar…

  • |

    DefaultProbabilityHelper (3) Linux Manual Page

    ql/termstructures/credit/defaultprobabilityhelpers.hpp – bootstrap helpers for default-probability term structures Synopsis #include <ql/termstructures/defaulttermstructure.hpp> #include <ql/termstructures/bootstraphelper.hpp> #include <ql/time/dategenerationrule.hpp> Classes class CdsHelper Default-probability bootstrap helper based on quoted CDS spreads. Typedefs typedef BootstrapHelper< DefaultProbabilityTermStructure > DefaultProbabilityHelper alias for default-probability bootstrap helpers Detailed Description bootstrap helpers for default-probability term structures Author Generated automatically by Doxygen for QuantLib from the source…

  • |

    DefaultGCOfScreen (3) Linux Manual Page

    BlackPixelOfScreen, WhitePixelOfScreen, CellsOfScreen, DefaultColormapOfScreen, DefaultDepthOfScreen, DefaultGCOfScreen, DefaultVisualOfScreen, DoesBackingStore, DoesSaveUnders, DisplayOfScreen, XScreenNumberOfScreen, EventMaskOfScreen, HeightOfScreen, HeightMMOfScreen, MaxCmapsOfScreen, MinCmapsOfScreen, PlanesOfScreen, RootWindowOfScreen, WidthOfScreen, WidthMMOfScreen – screen information functions and macros Syntax unsigned long BlackPixelOfScreen(Screen *screen); unsigned long WhitePixelOfScreen(Screen *screen); int CellsOfScreen(Screen *screen); Colormap DefaultColormapOfScreen(Screen *screen); int DefaultDepthOfScreen(Screen *screen); GC DefaultGCOfScreen(Screen *screen); Visual *DefaultVisualOfScreen(Screen *screen); int DoesBackingStore(Screen *screen); Bool DoesSaveUnders(Screen…

  • |

    DefaultGC (3) Linux Manual Page

    AllPlanes, BlackPixel, WhitePixel, ConnectionNumber, DefaultColormap, DefaultDepth, XListDepths, DefaultGC, DefaultRootWindow, DefaultScreenOfDisplay, DefaultScreen, DefaultVisual, DisplayCells, DisplayPlanes, DisplayString, XMaxRequestSize, XExtendedMaxRequestSize, LastKnownRequestProcessed, NextRequest, ProtocolVersion, ProtocolRevision, QLength, RootWindow, ScreenCount, ScreenOfDisplay, ServerVendor, VendorRelease – Display macros and functions Syntax unsigned long AllPlanes; unsigned long BlackPixel(Display *display, int screen_number); unsigned long WhitePixel(Display *display, int screen_number); int ConnectionNumber(Display *display); Colormap DefaultColormap(Display *display, int…

  • |

    DefaultEvent (3) Linux Manual Page

    QuantLib::DefaultEvent – Credit-default event. Synopsis #include <ql/default.hpp> Inherits QuantLib::Event. Public Member Functions DefaultEvent (const Date &date, Real recoveryRate, Seniority seniority=AnySeniority, Restructuring restructuring=AnyRestructuring) Date date () const returns the date at which the event occurs Real recoveryRate () const Seniority seniority () const Restructuring restructuring () const Detailed Description Credit-default event. Author Generated automatically by Doxygen…

  • |

    DefaultDepthOfScreen (3) Linux Manual Page

    BlackPixelOfScreen, WhitePixelOfScreen, CellsOfScreen, DefaultColormapOfScreen, DefaultDepthOfScreen, DefaultGCOfScreen, DefaultVisualOfScreen, DoesBackingStore, DoesSaveUnders, DisplayOfScreen, XScreenNumberOfScreen, EventMaskOfScreen, HeightOfScreen, HeightMMOfScreen, MaxCmapsOfScreen, MinCmapsOfScreen, PlanesOfScreen, RootWindowOfScreen, WidthOfScreen, WidthMMOfScreen – screen information functions and macros Syntax unsigned long BlackPixelOfScreen(Screen *screen); unsigned long WhitePixelOfScreen(Screen *screen); int CellsOfScreen(Screen *screen); Colormap DefaultColormapOfScreen(Screen *screen); int DefaultDepthOfScreen(Screen *screen); GC DefaultGCOfScreen(Screen *screen); Visual *DefaultVisualOfScreen(Screen *screen); int DoesBackingStore(Screen *screen); Bool DoesSaveUnders(Screen…

  • |

    DefaultDepth (3) Linux Manual Page

    AllPlanes, BlackPixel, WhitePixel, ConnectionNumber, DefaultColormap, DefaultDepth, XListDepths, DefaultGC, DefaultRootWindow, DefaultScreenOfDisplay, DefaultScreen, DefaultVisual, DisplayCells, DisplayPlanes, DisplayString, XMaxRequestSize, XExtendedMaxRequestSize, LastKnownRequestProcessed, NextRequest, ProtocolVersion, ProtocolRevision, QLength, RootWindow, ScreenCount, ScreenOfDisplay, ServerVendor, VendorRelease – Display macros and functions Syntax unsigned long AllPlanes; unsigned long BlackPixel(Display *display, int screen_number); unsigned long WhitePixel(Display *display, int screen_number); int ConnectionNumber(Display *display); Colormap DefaultColormap(Display *display, int…

  • |

    DefaultDensityStructure (3) Linux Manual Page

    QuantLib::DefaultDensityStructure – default-density adapter for default-probability term structures Synopsis #include <ql/termstructures/credit/defaultdensitystructure.hpp> Inherits QuantLib::DefaultProbabilityTermStructure. Inherited by InterpolatedDefaultDensityCurve< Interpolator >. Public Member Functions Constructors See the TermStructure documentation for issues regarding constructors. DefaultDensityStructure (const DayCounter &dc=DayCounter()) default constructor DefaultDensityStructure (const Date &referenceDate, const Calendar &cal=Calendar(), const DayCounter &dc=DayCounter()) initialize with a fixed reference date DefaultDensityStructure (Natural settlementDays,…