SysTutorials Posts

  • |

    brlapi__enterTtyModeWithPath (3) Linux Manual Page

    Entering & leaving tty mode – How to take control of ttys for direct braille display / read. Macros #define BRLAPI_TTY_DEFAULT -1 Functions int BRLAPI_STDCALL brlapi_enterTtyMode (int tty, const char *driver) int BRLAPI_STDCALL brlapi__enterTtyMode (brlapi_handle_t *handle, int tty, const char *driver) int BRLAPI_STDCALL brlapi_enterTtyModeWithPath (int *ttys, int count, const char *driver) int BRLAPI_STDCALL brlapi__enterTtyModeWithPath (brlapi_handle_t…

  • |

    brlapi__enterTtyMode (3) Linux Manual Page

    Entering & leaving tty mode – How to take control of ttys for direct braille display / read. Macros #define BRLAPI_TTY_DEFAULT -1 Functions int BRLAPI_STDCALL brlapi_enterTtyMode (int tty, const char *driver) int BRLAPI_STDCALL brlapi__enterTtyMode (brlapi_handle_t *handle, int tty, const char *driver) int BRLAPI_STDCALL brlapi_enterTtyModeWithPath (int *ttys, int count, const char *driver) int BRLAPI_STDCALL brlapi__enterTtyModeWithPath (brlapi_handle_t…

  • |

    brlapi__enterRawMode (3) Linux Manual Page

    Driver-Specific modes – Raw and Suspend Modes mechanism. Functions int BRLAPI_STDCALL brlapi_enterRawMode (const char *driver) int BRLAPI_STDCALL brlapi__enterRawMode (brlapi_handle_t *handle, const char *driver) int BRLAPI_STDCALL brlapi_leaveRawMode (void) int BRLAPI_STDCALL brlapi__leaveRawMode (brlapi_handle_t *handle) ssize_t BRLAPI_STDCALL brlapi_sendRaw (const void *buffer, size_t size) ssize_t BRLAPI_STDCALL brlapi__sendRaw (brlapi_handle_t *handle, const void *buffer, size_t size) ssize_t BRLAPI_STDCALL brlapi_recvRaw (void *buffer,…

  • |

    brlapi__defaultExceptionHandler (3) Linux Manual Page

    Error handling – How to handle errors. Data Structures struct brlapi_error_t Macros #define BRLAPI_ERROR_SUCCESS 0 #define BRLAPI_ERROR_NOMEM 1 #define BRLAPI_ERROR_TTYBUSY 2 #define BRLAPI_ERROR_DEVICEBUSY 3 #define BRLAPI_ERROR_UNKNOWN_INSTRUCTION 4 #define BRLAPI_ERROR_ILLEGAL_INSTRUCTION 5 #define BRLAPI_ERROR_INVALID_PARAMETER 6 #define BRLAPI_ERROR_INVALID_PACKET 7 #define BRLAPI_ERROR_CONNREFUSED 8 #define BRLAPI_ERROR_OPNOTSUPP 9 #define BRLAPI_ERROR_GAIERR 10 #define BRLAPI_ERROR_LIBCERR 11 #define BRLAPI_ERROR_UNKNOWNTTY 12 #define BRLAPI_ERROR_PROTOCOL_VERSION 13 #define…

  • |

    brlapi__closeConnection (3) Linux Manual Page

    Connecting to BrlAPI – Data Structures struct brlapi_connectionSettings_t Settings structure for BrlAPI connection. Macros #define BRLAPI_SOCKETPORTNUM 4101 #define BRLAPI_SOCKETPORT ‘4101’ #define BRLAPI_SOCKETPATH ‘/var/lib/BrlAPI’ #define BRLAPI_ETCDIR ‘/etc’ #define BRLAPI_AUTHKEYFILE ‘brlapi.key’ #define BRLAPI_DEFAUTH BRLAPI_ETCDIR ‘/’ BRLAPI_AUTHKEYFILE #define BRLAPI_SETTINGS_INITIALIZER { NULL, NULL } Typedefs typedef int brlapi_fileDescriptor Functions brlapi_fileDescriptor BRLAPI_STDCALL brlapi_openConnection (const brlapi_connectionSettings_t *desiredSettings, brlapi_connectionSettings_t *actualSettings)" brlapi_fileDescriptor BRLAPI_STDCALL…

  • |

    brlapi__acceptKeys (3) Linux Manual Page

    Reading key presses – How to read key presses from the braille terminal. Data Structures struct brlapi_expandedKeyCode_t struct brlapi_describedKeyCode_t struct brlapi_range_t Macros #define brlapi_ignoreAllKeys() brlapi_ignoreKeys(brlapi_rangeType_all, NULL, 0) #define brlapi_acceptAllKeys() brlapi_acceptKeys(brlapi_rangeType_all, NULL, 0) #define BRLAPI_UC_ROW 0x2800UL #define brlapi__ignoreAllKeys(handle) brlapi__ignoreKeys(handle, brlapi_rangeType_all, NULL, 0) #define brlapi__acceptAllKeys(handle) brlapi__acceptKeys(handle, brlapi_rangeType_all, NULL, 0) Enumerations enum brlapi_rangeType_t { brlapi_rangeType_all, brlapi_rangeType_type, brlapi_rangeType_command, brlapi_rangeType_key,…

  • |

    brlapi__acceptKeyRanges (3) Linux Manual Page

    Reading key presses – How to read key presses from the braille terminal. Data Structures struct brlapi_expandedKeyCode_t struct brlapi_describedKeyCode_t struct brlapi_range_t Macros #define brlapi_ignoreAllKeys() brlapi_ignoreKeys(brlapi_rangeType_all, NULL, 0) #define brlapi_acceptAllKeys() brlapi_acceptKeys(brlapi_rangeType_all, NULL, 0) #define BRLAPI_UC_ROW 0x2800UL #define brlapi__ignoreAllKeys(handle) brlapi__ignoreKeys(handle, brlapi_rangeType_all, NULL, 0) #define brlapi__acceptAllKeys(handle) brlapi__acceptKeys(handle, brlapi_rangeType_all, NULL, 0) Enumerations enum brlapi_rangeType_t { brlapi_rangeType_all, brlapi_rangeType_type, brlapi_rangeType_command, brlapi_rangeType_key,…

  • |

    brlapi__acceptAllKeys (3) Linux Manual Page

    Reading key presses – How to read key presses from the braille terminal. Data Structures struct brlapi_expandedKeyCode_t struct brlapi_describedKeyCode_t struct brlapi_range_t Macros #define brlapi_ignoreAllKeys() brlapi_ignoreKeys(brlapi_rangeType_all, NULL, 0) #define brlapi_acceptAllKeys() brlapi_acceptKeys(brlapi_rangeType_all, NULL, 0) #define BRLAPI_UC_ROW 0x2800UL #define brlapi__ignoreAllKeys(handle) brlapi__ignoreKeys(handle, brlapi_rangeType_all, NULL, 0) #define brlapi__acceptAllKeys(handle) brlapi__acceptKeys(handle, brlapi_rangeType_all, NULL, 0) Enumerations enum brlapi_rangeType_t { brlapi_rangeType_all, brlapi_rangeType_type, brlapi_rangeType_command, brlapi_rangeType_key,…

  • |

    breaks (3) Linux Manual Page

    NAME QuantLib::Histogram – Histogram class. SYNOPSIS #include <ql/math/statistics/histogram.hpp> Public Types enum Algorithm { None, Sturges, FD, Scott } Public Member Functions constructors Histogram () template<class T > Histogram (T data_begin, T data_end, Size breaks) template<class T > Histogram (T data_begin, T data_end, Algorithm algorithm) template<class T , class U > Histogram (T data_begin, T data_end,…

  • |

    branchings_ (3) Linux Manual Page

    NAME QuantLib::TrinomialTree – Recombining trinomial tree class. SYNOPSIS #include <ql/methods/lattices/trinomialtree.hpp> Inherits Tree< TrinomialTree >. Public Types enum Branches { branches = 3 } Public Member Functions TrinomialTree (const boost::shared_ptr< StochasticProcess1D > &process, const TimeGrid &timeGrid, bool isPositive=false) Real dx (Size i) const const TimeGrid & timeGrid () const Size size (Size i) const Real underlying…

  • |

    bps (3) Linux Manual Page

    NAME QuantLib::CashFlows – cashflow-analysis functions SYNOPSIS #include <ql/cashflows/cashflows.hpp> Static Public Member Functions static Leg::const_iterator previousCashFlow (const Leg &leg, Date refDate=Date()) static Leg::const_iterator nextCashFlow (const Leg &leg, Date refDate=Date()) static Rate previousCouponRate (const Leg &leg, const Date &refDate=Date()) static Rate nextCouponRate (const Leg &leg, const Date &refDate=Date()) static Date startDate (const Leg &leg) static Date maturityDate…

  • |

    bootstraptraits (3) Linux Manual Page

    NAME ql/termstructures/yield/bootstraptraits.hpp – bootstrap traits SYNOPSIS #include <ql/termstructures/yield/discountcurve.hpp> #include <ql/termstructures/yield/zerocurve.hpp> #include <ql/termstructures/yield/forwardcurve.hpp> #include <ql/termstructures/bootstraphelper.hpp> Classes struct Discount Discount-curve traits. struct ZeroYield Zero-curve traits. struct ForwardRate Forward-curve traits. Variables const Rate avgRate = 0.05 Detailed Description bootstrap traits Author Generated automatically by Doxygen for QuantLib from the source code. Index

  • |

    bootstrap (3) Linux Manual Page

    NAME QuantLib::CompoundForward – compound-forward structure SYNOPSIS #include <ql/legacy/termstructures/compoundforward.hpp> Inherits QuantLib::ForwardRateStructure. Public Member Functions CompoundForward (const Date &referenceDate, const std::vector< Date > &dates, const std::vector< Rate > &forwards, const Calendar &calendar, const BusinessDayConvention conv, const Integer compounding, const DayCounter &dayCounter) BusinessDayConvention businessDayConvention () const Integer compounding () const Date maxDate () const the latest date for…

  • |

    boolstuff (3) Linux Manual Page

    NAME boolstuff – Disjunctive Normal Form boolean expression C++ library SYNOPSIS g++ prog.cpp -lboolstuff DESCRIPTION boolstuff is a C++ library that contains an algorithm to convert a boolean expression binary tree into the Disjunctive Normal Form. The NOT operator is supported. A C API covers most of the library’s functionality. The Disjunctive Normal Form is…

  • |

    bond_ (3) Linux Manual Page

    NAME QuantLib::FixedRateBondHelper – fixed-coupon bond helper SYNOPSIS #include <ql/termstructures/yield/bondhelpers.hpp> Inherits BootstrapHelper< YieldTermStructure >. Public Member Functions FixedRateBondHelper (const Handle< Quote > &cleanPrice, Natural settlementDays, Real faceAmount, const Schedule &schedule, const std::vector< Rate > &coupons, const DayCounter &dayCounter, BusinessDayConvention paymentConv=Following, Real redemption=100.0, const Date &issueDate=Date()) FixedRateBondHelper (const Handle< Quote > &cleanPrice, const boost::shared_ptr< FixedRateBond > &bond)…

  • |

    bondLeg (3) Linux Manual Page

    QuantLib::AssetSwap – Bullet bond vs Libor swap. Synopsis #include <ql/instruments/assetswap.hpp> Inherits QuantLib::Swap. Classes class arguments Arguments for asset swap calculation class results Results from simple swap calculation Public Member Functions AssetSwap (bool payFixedRate, const boost::shared_ptr< Bond > &bond, Real bondCleanPrice, const boost::shared_ptr< IborIndex > &index, Spread spread, const Handle< YieldTermStructure > &discountCurve, const Schedule &floatSchedule=Schedule(),…

  • |

    bmaPeriod_ (3) Linux Manual Page

    QuantLib::BMASwapRateHelper – Rate helper for bootstrapping over BMA swap rates. Synopsis #include <ql/termstructures/yield/ratehelpers.hpp> Inherits QuantLib::RelativeDateRateHelper. Public Member Functions BMASwapRateHelper (const Handle< Quote > &liborFraction, const Period &tenor, Natural settlementDays, const Calendar &calendar, const Period &bmaPeriod, BusinessDayConvention bmaConvention, const DayCounter &bmaDayCount, const boost::shared_ptr< BMAIndex > &bmaIndex, const boost::shared_ptr< IborIndex > &index) RateHelper interface Real impliedQuote ()…

  • |

    bmaLegNPV (3) Linux Manual Page

    QuantLib::BMASwap – swap paying Libor against BMA coupons Synopsis #include <ql/instruments/bmaswap.hpp> Inherits QuantLib::Swap. Public Types enum Type { Receiver = -1, Payer = 1 } Public Member Functions BMASwap (Type type, Real nominal, const Schedule &liborSchedule, Rate liborFraction, Rate liborSpread, const boost::shared_ptr< IborIndex > &liborIndex, const DayCounter &liborDayCount, const Schedule &bmaSchedule, const boost::shared_ptr< BMAIndex >…

  • |

    bmaLegBPS (3) Linux Manual Page

    QuantLib::BMASwap – swap paying Libor against BMA coupons Synopsis #include <ql/instruments/bmaswap.hpp> Inherits QuantLib::Swap. Public Types enum Type { Receiver = -1, Payer = 1 } Public Member Functions BMASwap (Type type, Real nominal, const Schedule &liborSchedule, Rate liborFraction, Rate liborSpread, const boost::shared_ptr< IborIndex > &liborIndex, const DayCounter &liborDayCount, const Schedule &bmaSchedule, const boost::shared_ptr< BMAIndex >…

  • |

    bmaLeg (3) Linux Manual Page

    QuantLib::BMASwap – swap paying Libor against BMA coupons Synopsis #include <ql/instruments/bmaswap.hpp> Inherits QuantLib::Swap. Public Types enum Type { Receiver = -1, Payer = 1 } Public Member Functions BMASwap (Type type, Real nominal, const Schedule &liborSchedule, Rate liborFraction, Rate liborSpread, const boost::shared_ptr< IborIndex > &liborIndex, const DayCounter &liborDayCount, const Schedule &bmaSchedule, const boost::shared_ptr< BMAIndex >…