Linux Manuals session 3

Section 3: library functions

  • |

    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 Syntaxunsigned 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 screen_number);…

  • |

    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 Syntaxunsigned 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 screen_number);…

  • |

    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 FunctionsConstructors 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 &cal, const…

  • |

    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> Classesclass CdsHelper Default-probability bootstrap helper based on quoted CDS spreads. Typedefstypedef BootstrapHelper< DefaultProbabilityTermStructure > DefaultProbabilityHelper alias for default-probability bootstrap helpers Detailed Descriptionbootstrap helpers for default-probability term structures AuthorGenerated automatically by Doxygen for QuantLib from the source code.

  • |

    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 Syntaxunsigned 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 *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 Syntaxunsigned 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 screen_number);…

  • |

    DefaultEvent (3) Linux Manual Page

    QuantLib::DefaultEvent – Credit-default event. Synopsis#include <ql/default.hpp> Inherits QuantLib::Event. Public Member FunctionsDefaultEvent (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 DescriptionCredit-default event. AuthorGenerated automatically by Doxygen for QuantLib from the…

  • |

    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 Syntaxunsigned 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 *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 Syntaxunsigned 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 screen_number);…

  • |

    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 FunctionsConstructors 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, const Calendar…

  • |

    DefaultColormapOfScreen (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 Syntaxunsigned 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 *screen);…

  • |

    DefaultColormap (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 Syntaxunsigned 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 screen_number);…

  • |

    Deductionguidesforstd::chrono::zoned_time (3) Linux Manual Page

    Deductionguidesforstd::chrono::zoned_time – Deductionguidesforstd::chrono::zoned_time Synopsiszoned_time() -> zoned_time<std::chrono::seconds>; (1) (since C++20) template< class Duration > zoned_time(std::chrono::sys_time<Duration>) (2) (since C++20) -> zoned_time<std::common_type_t<Duration, std::chrono::seconds>>; template< class TimeZonePtrOrName > (3) (since C++20) zoned_time(TimeZonePtrOrName) -> zoned_time<std::chrono::seconds, /* see below */>; template< class TimeZonePtrOrName, class Duration > zoned_time(TimeZonePtrOrName, std::chrono::sys_time<Duration>) (4) (since C++20) -> zoned_time<std::common_type_t<Duration, std::chrono::seconds>, /* see below */>; template< class TimeZonePtrOrName,…

  • |

    Decimal (3) Linux Manual Page

    Numeric types – Typedefstypedef Real Probability probability typedef QL_INTEGER Integer integer number typedef QL_BIG_INTEGER BigInteger large integer number typedef unsigned QL_INTEGER Natural positive integer typedef QL_REAL Real real number typedef Real Decimal decimal number typedef std::size_t Size size of a container typedef Real Time continuous quantity with 1-year units typedef Real DiscountFactor discount factor between…

  • |

    DbetaDd2_ (3) Linux Manual Page

    QuantLib::BlackCalculator – Black 1976 calculator class. Synopsis#include <ql/pricingengines/blackcalculator.hpp> Inherited by BlackScholesCalculator. Public Member FunctionsBlackCalculator (const boost::shared_ptr< StrikedTypePayoff > &payoff, Real forward, Real stdDev, Real discount=1.0) Real value () const Real deltaForward () const virtual Real delta (Real spot) const Real elasticityForward () const virtual Real elasticity (Real spot) const Real gammaForward () const virtual Real…

  • |

    DayCounter (3) Linux Manual Page

    QuantLib::Coupon – coupon accruing over a fixed period Synopsis#include <ql/cashflows/coupon.hpp> Inherits QuantLib::CashFlow. Inherited by FixedRateCoupon, and FloatingRateCoupon. Public Member FunctionsCoupon (Real nominal, const Date &paymentDate, const Date &accrualStartDate, const Date &accrualEndDate, const Date &refPeriodStart=Date(), const Date &refPeriodEnd=Date()) Partial CashFlow interface Date date () const Inspectors Real nominal () const const Date & accrualStartDate () const…

  • |

    Day (3) Linux Manual Page

    Date and time calculations – Classesclass DateInterval Date interval described by a number of a given time unit. class PricingPeriod Time pricingperiod described by a number of a given time unit. class Calendar calendar class class Date Concrete date class. struct DateGeneration Date-generation rule. class DayCounter day counter class class Period ModulesCalendars Day counters Typedefstypedef…

  • |

    DateInterval (3) Linux Manual Page

    QuantLib::DateInterval – Date interval described by a number of a given time unit. Synopsis#include <ql/experimental/commodities/dateinterval.hpp> Inherited by PricingPeriod. Public Member FunctionsDateInterval (const Date &startDate, const Date &endDate) const Date & startDate () const const Date & endDate () const bool isDateBetween (Date date, bool includeFirst=true, bool includeLast=true) const DateInterval intersection (const DateInterval &di) const bool…

  • |

    Date (3) Linux Manual Page

    ql/time/date.hpp – date- and time-related classes, typedefs and enumerations Synopsis#include <ql/time/period.hpp> #include <ql/time/weekday.hpp> #include <ql/types.hpp> #include <utility> #include <functional> Classesclass Date Concrete date class. Typedefstypedef Integer Day Day number. typedef Integer Year Year number. Enumerationsenum Month { January = 1, February = 2, March = 3, April = 4, May = 5, June = 6,…