Linux Manuals session 3

Section 3: library functions

  • |

    ber_bvecadd (3) Linux Manual Page

    ber_int_t, ber_uint_t, ber_len_t, ber_slen_t, ber_tag_t, struct berval, BerValue, BerVarray, BerElement, ber_bvfree, ber_bvecfree, ber_bvecadd, ber_bvarray_free, ber_bvarray_add, ber_bvdup, ber_dupbv, ber_bvstr, ber_bvstrdup, ber_str2bv, ber_alloc_t, ber_init, ber_init2, ber_free – OpenLDAP LBER types and allocation functions LibraryOpenLDAP LBER (liblber, -llber) Synopsis#include <lber.h> typedef impl_tag_t ber_tag_t; typedef impl_int_t ber_int_t; typedef impl_uint_t ber_uint_t; typedef impl_len_t ber_len_t; typedef impl_slen_t ber_slen_t; typedef struct berval…

  • |

    ber_bvdup (3) Linux Manual Page

    ber_int_t, ber_uint_t, ber_len_t, ber_slen_t, ber_tag_t, struct berval, BerValue, BerVarray, BerElement, ber_bvfree, ber_bvecfree, ber_bvecadd, ber_bvarray_free, ber_bvarray_add, ber_bvdup, ber_dupbv, ber_bvstr, ber_bvstrdup, ber_str2bv, ber_alloc_t, ber_init, ber_init2, ber_free – OpenLDAP LBER types and allocation functions LibraryOpenLDAP LBER (liblber, -llber) Synopsis#include <lber.h> typedef impl_tag_t ber_tag_t; typedef impl_int_t ber_int_t; typedef impl_uint_t ber_uint_t; typedef impl_len_t ber_len_t; typedef impl_slen_t ber_slen_t; typedef struct berval…

  • |

    ber_bvarray_free (3) Linux Manual Page

    ber_int_t, ber_uint_t, ber_len_t, ber_slen_t, ber_tag_t, struct berval, BerValue, BerVarray, BerElement, ber_bvfree, ber_bvecfree, ber_bvecadd, ber_bvarray_free, ber_bvarray_add, ber_bvdup, ber_dupbv, ber_bvstr, ber_bvstrdup, ber_str2bv, ber_alloc_t, ber_init, ber_init2, ber_free – OpenLDAP LBER types and allocation functions LibraryOpenLDAP LBER (liblber, -llber) Synopsis#include <lber.h> typedef impl_tag_t ber_tag_t; typedef impl_int_t ber_int_t; typedef impl_uint_t ber_uint_t; typedef impl_len_t ber_len_t; typedef impl_slen_t ber_slen_t; typedef struct berval…

  • |

    ber_bvarray_add (3) Linux Manual Page

    ber_int_t, ber_uint_t, ber_len_t, ber_slen_t, ber_tag_t, struct berval, BerValue, BerVarray, BerElement, ber_bvfree, ber_bvecfree, ber_bvecadd, ber_bvarray_free, ber_bvarray_add, ber_bvdup, ber_dupbv, ber_bvstr, ber_bvstrdup, ber_str2bv, ber_alloc_t, ber_init, ber_init2, ber_free – OpenLDAP LBER types and allocation functions LibraryOpenLDAP LBER (liblber, -llber) Synopsis#include <lber.h> typedef impl_tag_t ber_tag_t; typedef impl_int_t ber_int_t; typedef impl_uint_t ber_uint_t; typedef impl_len_t ber_len_t; typedef impl_slen_t ber_slen_t; typedef struct berval…

  • |

    ber_alloc_t (3) Linux Manual Page

    ber_alloc_t, ber_flush, ber_flush2, ber_printf, ber_put_int, ber_put_enum, ber_put_ostring, ber_put_string, ber_put_null, ber_put_boolean, ber_put_bitstring, ber_start_seq, ber_start_set, ber_put_seq, ber_put_set – OpenLDAP LBER simplified Basic Encoding Rules library routines for encoding LibraryOpenLDAP LBER (liblber, -llber) Synopsis#include <lber.h> BerElement *ber_alloc_t(int options); int ber_flush(Sockbuf *sb, BerElement *ber, int freeit); int ber_flush2(Sockbuf *sb, BerElement *ber, int freeit); int ber_printf(BerElement *ber, const char *fmt,…

  • |

    begin (3) Linux Manual Page

    QuantLib::Array – 1-D array used in linear algebra. Synopsis#include <ql/math/array.hpp> Public Typestypedef Real value_type typedef Real * iterator typedef const Real * const_iterator typedef boost::reverse_iterator< iterator > reverse_iterator typedef boost::reverse_iterator< const_iterator > const_reverse_iterator Public Member FunctionsConstructors, destructor, and assignment Array (Size size=0) creates the array with the given dimension Array (Size size, Real value) creates…

  • |

    begin,end(std::span) (3) Linux Manual Page

    begin,end(std::span) – begin,end(std::span) Synopsisconstexpr iterator begin(span s) noexcept; (1) (since C++20) constexpr iterator end(span s) noexcept; (2) (since C++20) 1) Returns an iterator to the first element of the span. Equivalent to s.begin(). 2) Returns an iterator to the element following the last element of the span. Equivalent to s.end(). These functions are not visible…

  • |

    begin,end(std::basic_string_view) (3) Linux Manual Page

    begin,end(std::basic_string_view) – begin,end(std::basic_string_view) Synopsisconstexpr const_iterator begin(basic_string_view sv) noexcept; (1) (since C++20) constexpr const_iterator end(basic_string_view sv) noexcept; (2) (since C++20) 1) Returns an iterator to the first character of the view. Equivalent to sv.begin(). 2) Returns an iterator to the character following the last character of the view. Equivalent to sv.end(). These functions are not visible…

  • |

    be64toh (3) Linux Manual Page

    htobe16, htole16, be16toh, le16toh, htobe32, htole32, be32toh, le32toh, htobe64, htole64, be64toh, le64toh – convert values between host and big-/little-endian byte order Synopsis#include <endian.h> uint16_t htobe16(uint16_t host_16bits); uint16_t htole16(uint16_t host_16bits); uint16_t be16toh(uint16_t big_endian_16bits); uint16_t le16toh(uint16_t little_endian_16bits); uint32_t htobe32(uint32_t host_32bits); uint32_t htole32(uint32_t host_32bits); uint32_t be32toh(uint32_t big_endian_32bits); uint32_t le32toh(uint32_t little_endian_32bits); uint64_t htobe64(uint64_t host_64bits); uint64_t htole64(uint64_t host_64bits); uint64_t be64toh(uint64_t…

  • |

    be32toh (3) Linux Manual Page

    htobe16, htole16, be16toh, le16toh, htobe32, htole32, be32toh, le32toh, htobe64, htole64, be64toh, le64toh – convert values between host and big-/little-endian byte order Synopsis#include <endian.h> uint16_t htobe16(uint16_t host_16bits); uint16_t htole16(uint16_t host_16bits); uint16_t be16toh(uint16_t big_endian_16bits); uint16_t le16toh(uint16_t little_endian_16bits); uint32_t htobe32(uint32_t host_32bits); uint32_t htole32(uint32_t host_32bits); uint32_t be32toh(uint32_t big_endian_32bits); uint32_t le32toh(uint32_t little_endian_32bits); uint64_t htobe64(uint64_t host_64bits); uint64_t htole64(uint64_t host_64bits); uint64_t be64toh(uint64_t…

  • |

    be16toh (3) Linux Manual Page

    htobe16, htole16, be16toh, le16toh, htobe32, htole32, be32toh, le32toh, htobe64, htole64, be64toh, le64toh – convert values between host and big-/little-endian byte order Synopsis#include <endian.h> uint16_t htobe16(uint16_t host_16bits); uint16_t htole16(uint16_t host_16bits); uint16_t be16toh(uint16_t big_endian_16bits); uint16_t le16toh(uint16_t little_endian_16bits); uint32_t htobe32(uint32_t host_32bits); uint32_t htole32(uint32_t host_32bits); uint32_t be32toh(uint32_t big_endian_32bits); uint32_t le32toh(uint32_t little_endian_32bits); uint64_t htobe64(uint64_t host_64bits); uint64_t htole64(uint64_t host_64bits); uint64_t be64toh(uint64_t…

  • |

    bdc_ (3) Linux Manual Page

    QuantLib::InflationSwap – Abstract base class for inflation swaps. Synopsis#include <ql/instruments/inflationswap.hpp> Inherits QuantLib::Instrument. Inherited by YearOnYearInflationSwap, and ZeroCouponInflationSwap. Public Member FunctionsInflationSwap (const Date &start, const Date &maturity, const Period &lag, const Calendar &calendar, BusinessDayConvention convention, const DayCounter &dayCounter, const Handle< YieldTermStructure > &yieldTS) the constructor sets common data members virtual Rate fairRate () const =0 Inspectors…

  • |

    bcopy (3) Linux Manual Page

    bcopy – copy byte sequence Synopsis#include <strings.h> void bcopy(const void *src, void *dest, size_t n);DescriptionThe bcopy() function copies n bytes from src to dest. The result is correct, even when both areas overlap. Return ValueNone. AttributesFor an explanation of the terms used in this section, see attributes(7). InterfaceAttributeValue bcopy() Thread safetyMT-Safe Conforming To4.3BSD. This function…

  • |

    bc_type (3) Linux Manual Page

    QuantLib::ExplicitEuler – Forward Euler scheme for finite difference methods Synopsis#include <ql/methods/finitedifferences/expliciteuler.hpp> Inherits MixedScheme< Operator >. Public Typestypedef OperatorTraits< Operator > traits typedef traits::operator_type operator_type typedef traits::array_type array_type typedef traits::bc_type bc_type typedef traits::bc_set bc_set typedef traits::condition_type condition_type Public Member FunctionsExplicitEuler (const operator_type &L, const std::vector< boost::shared_ptr< bc_type > > &bcs) Detailed Descriptiontemplate<class Operator> class QuantLib::ExplicitEuler< Operator…

  • |

    bc_set (3) Linux Manual Page

    QuantLib::CrankNicolson – Crank-Nicolson scheme for finite difference methods. Synopsis#include <ql/methods/finitedifferences/cranknicolson.hpp> Inherits MixedScheme< Operator >. Public Typestypedef OperatorTraits< Operator > traits typedef traits::operator_type operator_type typedef traits::array_type array_type typedef traits::bc_set bc_set typedef traits::condition_type condition_type Public Member FunctionsCrankNicolson (const operator_type &L, const bc_set &bcs) Detailed Descriptiontemplate<class Operator> class QuantLib::CrankNicolson< Operator >Crank-Nicolson scheme for finite difference methods. In this…

  • |

    basketSize (3) Linux Manual Page

    QuantLib::NthToDefault – N-th to default swap. Synopsis#include <ql/experimental/credit/nthtodefault.hpp> Inherits QuantLib::Instrument. Public Member FunctionsNthToDefault (Size n, const std::vector< Issuer > &basket, const Handle< OneFactorCopula > &copula, Protection::Side side, Real nominal, const Schedule &premiumSchedule, Rate premiumRate, const DayCounter &dayCounter, bool settlePremiumAccrual, const Handle< YieldTermStructure > &yieldTS, const Period &integrationStepSize, boost::shared_ptr< Claim > claim=boost::shared_ptr< Claim >()) bool isExpired…

  • |

    basketNotional (3) Linux Manual Page

    QuantLib::Basket – Synopsis#include <ql/experimental/credit/basket.hpp> Public Member FunctionsBasket (const std::vector< std::string > &names, const std::vector< Real > &notionals, const boost::shared_ptr< Pool > pool, Real attachmentRatio=0.0, Real detachmentRatio=1.0) Size size () const const std::vector< std::string > & names () const const std::vector< Real > & notionals () const Real notional () boost::shared_ptr< Pool > pool () const…

  • |

    basketLGD (3) Linux Manual Page

    QuantLib::Basket – Synopsis#include <ql/experimental/credit/basket.hpp> Public Member FunctionsBasket (const std::vector< std::string > &names, const std::vector< Real > &notionals, const boost::shared_ptr< Pool > pool, Real attachmentRatio=0.0, Real detachmentRatio=1.0) Size size () const const std::vector< std::string > & names () const const std::vector< Real > & notionals () const Real notional () boost::shared_ptr< Pool > pool () const…

  • |

    basis_ (3) Linux Manual Page

    QuantLib::EnergyBasisSwap – Energy basis swap. Synopsis#include <ql/experimental/commodities/energybasisswap.hpp> Inherits QuantLib::EnergySwap. Public Member FunctionsEnergyBasisSwap (const Calendar &calendar, const boost::shared_ptr< CommodityIndex > &spreadIndex, const boost::shared_ptr< CommodityIndex > &payIndex, const boost::shared_ptr< CommodityIndex > &receiveIndex, bool spreadToPayLeg, const Currency &payCurrency, const Currency &receiveCurrency, const PricingPeriods &pricingPeriods, const CommodityUnitCost &basis, const CommodityType &commodityType, const boost::shared_ptr< SecondaryCosts > &secondaryCosts, const Handle< YieldTermStructure…