Linux Manuals session 3

Section 3: library functions

  • |

    aa_autoinitkbd (3) Linux Manual Page

    NAME aa_autoinitkbd – easy to use AA-lib keyboard initialization function. SYNOPSIS #include <aalib.h> int aa_autoinitkbd (        struct aa_context *context,        int mode ); PARAMETERS struct aa_context *context Specifies the AA-lib context to operate on. int mode Mask of extra features you request. Can contain AA_SENDRELEASE if you are interested in release events too. DESCRIPTION Attempts to…

  • |

    aa_autoinit (3) Linux Manual Page

    NAME aa_autoinit – easy to use AA-lib initialization function. SYNOPSIS #include <aalib.h> aa_context *aa_autoinit(const struct aa_hardware_params *params); PARAMETERS const struct aa_hardware_params *params Hardware parameters you want. Use aa_defparams for default values. DESCRIPTION Attempts to find available output driver supporting the specified parameters. First attempts to initialize the recommended drivers and then in order drivers available…

  • |

    aa_attrs (3) Linux Manual Page

    NAME aa_attrs – returns pointer to the text output buffer used by AA-lib. SYNOPSIS #include <aalib.h> char *aa_attrs(aa_context *a); PARAMETERS aa_context *a Specifies the AA-lib context to operate on. DESCRIPTION The attribute output buffer is simple array of characters specifying the attributes. The array is organizated in the aa_scrheight (a) rows of aa_scrwidth(a) characters. RETURNS…

  • |

    a_ (3) Linux Manual Page

    NAME QuantLib::Vasicek – Vasicek model class SYNOPSIS #include <ql/models/shortrate/onefactormodels/vasicek.hpp> Inherits QuantLib::OneFactorAffineModel. Inherited by HullWhite. Classes class Dynamics Short-rate dynamics in the Vasicek model. Public Member Functions Vasicek (Rate r0=0.05, Real a=0.1, Real b=0.05, Real sigma=0.01, Real lambda=0.0) virtual Real discountBondOption (Option::Type type, Real strike, Time maturity, Time bondMaturity) const virtual boost::shared_ptr< ShortRateDynamics > dynamics ()…

  • |

    aCoefficients (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,…

  • |

    a64l (3) Linux Manual Page

    NAME a64l, l64a – convert between long and base-64 SYNOPSIS #include <stdlib.h> long a64l(const char *str64); char *l64a(long value); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): a64l(), l64a(): _XOPEN_SOURCE >= 500     || /* Glibc since 2.19: */ _DEFAULT_SOURCE     || /* Glibc versions <= 2.19: */ _SVID_SOURCE DESCRIPTION These functions provide a conversion between 32-bit long integers and little-endian base-64 ASCII strings (of length zero to six)….

  • |

    YyiisInflationHelper (3) Linux Manual Page

    QuantLib::YyiisInflationHelper – Year-on-year inflation-swap bootstrap helper. Synopsis #include <ql/termstructures/inflation/inflationhelpers.hpp> Inherits BootstrapHelper< YoYInflationTermStructure >. Public Member Functions YyiisInflationHelper (const Handle< Quote > &quote, const Period &lag, const Date &maturity, Natural settlementDays, const Calendar &calendar, BusinessDayConvention bdc, const DayCounter &dayCounter, Frequency frequency) void setTermStructure (YoYInflationTermStructure *) sets the term structure to be used for pricing Real impliedQuote…

  • |

    YoYInflationTermStructure (3) Linux Manual Page

    QuantLib::YoYInflationIndex – Base class for year-on-year inflation indices. Synopsis YoYInflationIndex (const std::string &familyName, const Region &region, bool revised, bool interpolated, bool ratio, Frequency frequency, const Period &availabilityLag, const Currency &currency, const Handle< YoYInflationTermStructure > &ts=Handle< YoYInflationTermStructure >()) Rate fixing (const Date &fixingDate, bool forecastTodaysFixing=false) const bool ratio () const Handle< YoYInflationTermStructure > yoyInflationTermStructure () const…

  • |

    YoYInflationIndex (3) Linux Manual Page

    QuantLib::YoYInflationIndex – Base class for year-on-year inflation indices. Synopsis #include <ql/indexes/inflationindex.hpp> Inherits QuantLib::InflationIndex. Inherited by YYEUHICP, YYEUHICPr, YYUKRPI, and YYUKRPIr. Public Member Functions YoYInflationIndex (const std::string &familyName, const Region &region, bool revised, bool interpolated, bool ratio, Frequency frequency, const Period &availabilityLag, const Currency &currency, const Handle< YoYInflationTermStructure > &ts=Handle< YoYInflationTermStructure >()) Rate fixing (const Date…

  • |

    YoYInflationCurve (3) Linux Manual Page

    ql/termstructures/inflation/interpolatedyoyinflationcurve.hpp – Inflation term structure based on the interpolation of year-on-year rates. Synopsis #include <ql/termstructures/inflationtermstructure.hpp> #include <ql/math/interpolations/linearinterpolation.hpp> #include <ql/math/comparison.hpp> #include <boost/noncopyable.hpp> Classes class InterpolatedYoYInflationCurve< Interpolator > Inflation term structure based on interpolated year-on-year rates. Typedefs typedef InterpolatedYoYInflationCurve< Linear > YoYInflationCurve Detailed Description Inflation term structure based on the interpolation of year-on-year rates. Author Generated automatically…

  • |

    YieldTermStructure (3) Linux Manual Page

    QuantLib::YieldTermStructure – Interest-rate term structure. Synopsis #include <ql/termstructures/yieldtermstructure.hpp> Inherits QuantLib::TermStructure. Inherited by InterpolatedDiscountCurve< LogLinear >, FittedBondDiscountCurve, FlatForward, ForwardRateStructure, ImpliedTermStructure, InterpolatedDiscountCurve< Interpolator >, and ZeroYieldStructure. Public Member Functions Constructors See the TermStructure documentation for issues regarding constructors. YieldTermStructure (const DayCounter &dc=DayCounter()) default constructor YieldTermStructure (const Date &referenceDate, const Calendar &cal=Calendar(), const DayCounter &dc=DayCounter()) initialize with a…

  • |

    YearOnYearInflationSwap (3) Linux Manual Page

    QuantLib::YearOnYearInflationSwap – Year-on-year inflation-indexed swap. Synopsis #include <ql/instruments/yearonyearinflationswap.hpp> Inherits QuantLib::InflationSwap. Public Member Functions YearOnYearInflationSwap (const Date &start, const Date &maturity, const Period &lag, Rate fixedRate, const Calendar &calendar, BusinessDayConvention convention, const DayCounter &dayCounter, const Handle< YieldTermStructure > &yieldTS, const Handle< YoYInflationTermStructure > &inflationTS, bool allowAmbiguousPayments=false, const Period &ambiguousPaymentPeriod=Period(1, Months)) Instrument interface bool isExpired () const…

  • |

    YYUKRPIr (3) Linux Manual Page

    QuantLib::YYUKRPIr – Fake year-on-year UK RPI (i.e. a ratio of UK RPI). Synopsis #include <ql/indexes/inflation/ukrpi.hpp> Inherits QuantLib::YoYInflationIndex. Public Member Functions YYUKRPIr (Frequency frequency, bool revised, bool interpolated, const Handle< YoYInflationTermStructure > &ts=Handle< YoYInflationTermStructure >()) Detailed Description Fake year-on-year UK RPI (i.e. a ratio of UK RPI). Author Generated automatically by Doxygen for QuantLib from the…

  • |

    YYUKRPI (3) Linux Manual Page

    QuantLib::YYUKRPI – Genuine year-on-year UK RPI (i.e. not a ratio of UK RPI). Synopsis #include <ql/indexes/inflation/ukrpi.hpp> Inherits QuantLib::YoYInflationIndex. Public Member Functions YYUKRPI (Frequency frequency, bool revised, bool interpolated, const Handle< YoYInflationTermStructure > &ts=Handle< YoYInflationTermStructure >()) Detailed Description Genuine year-on-year UK RPI (i.e. not a ratio of UK RPI). Author Generated automatically by Doxygen for QuantLib…

  • |

    YYEUHICPr (3) Linux Manual Page

    QuantLib::YYEUHICPr – Fake year-on-year EU HICP (i.e. a ratio of EU HICP). Synopsis #include <ql/indexes/inflation/euhicp.hpp> Inherits QuantLib::YoYInflationIndex. Public Member Functions YYEUHICPr (Frequency frequency, bool revised, bool interpolated, const Handle< YoYInflationTermStructure > &ts=Handle< YoYInflationTermStructure >()) Detailed Description Fake year-on-year EU HICP (i.e. a ratio of EU HICP). Author Generated automatically by Doxygen for QuantLib from the…

  • |

    YYEUHICP (3) Linux Manual Page

    QuantLib::YYEUHICP – Genuine year-on-year EU HICP (i.e. not a ratio of EU HICP). Synopsis #include <ql/indexes/inflation/euhicp.hpp> Inherits QuantLib::YoYInflationIndex. Public Member Functions YYEUHICP (Frequency frequency, bool revised, bool interpolated, const Handle< YoYInflationTermStructure > &ts=Handle< YoYInflationTermStructure >()) Detailed Description Genuine year-on-year EU HICP (i.e. not a ratio of EU HICP). Author Generated automatically by Doxygen for QuantLib…

  • |

    XwcTextPropertyToTextList (3) Linux Manual Page

    XmbTextListToTextProperty, XwcTextListToTextProperty, Xutf8TextListToTextProperty, XmbTextPropertyToTextList, XwcTextPropertyToTextList, Xutf8TextPropertyToTextList, XwcFreeStringList, XDefaultString – convert text lists and text property structures Syntax int XmbTextListToTextProperty(Display *display, char **list, int count, XICCEncodingStyle style, XTextProperty *text_prop_return); int XwcTextListToTextProperty(Display *display, wchar_t **list, int count, XICCEncodingStyle style, XTextProperty *text_prop_return); int Xutf8TextListToTextProperty(Display *display, char **list, int count, XICCEncodingStyle style, XTextProperty *text_prop_return); int XmbTextPropertyToTextList(Display *display, XTextProperty *text_prop,…

  • |

    XwcTextPerCharExtents (3) Linux Manual Page

    XmbTextPerCharExtents, XwcTextPerCharExtents, Xutf8TextPerCharExtents – obtain per-character information for a text string Syntax Status XmbTextPerCharExtents(XFontSet font_set, char *string, int num_bytes, XRectangle *ink_array_return, XRectangle *logical_array_return, int array_size, int *num_chars_return, XRectangle *overall_ink_return, XRectangle *overall_logical_return); Status XwcTextPerCharExtents(XFontSet font_set, wchar_t *string, int num_wchars, XRectangle *ink_array_return, XRectangle *logical_array_return, int array_size, int *num_chars_return, XRectangle *overall_ink_return, XRectangle *overall_logical_return); Status Xutf8TextPerCharExtents(XFontSet font_set, char *string,…

  • |

    XwcTextListToTextProperty (3) Linux Manual Page

    XmbTextListToTextProperty, XwcTextListToTextProperty, Xutf8TextListToTextProperty, XmbTextPropertyToTextList, XwcTextPropertyToTextList, Xutf8TextPropertyToTextList, XwcFreeStringList, XDefaultString – convert text lists and text property structures Syntax int XmbTextListToTextProperty(Display *display, char **list, int count, XICCEncodingStyle style, XTextProperty *text_prop_return); int XwcTextListToTextProperty(Display *display, wchar_t **list, int count, XICCEncodingStyle style, XTextProperty *text_prop_return); int Xutf8TextListToTextProperty(Display *display, char **list, int count, XICCEncodingStyle style, XTextProperty *text_prop_return); int XmbTextPropertyToTextList(Display *display, XTextProperty *text_prop,…