Linux Manuals session 3

Section 3: library functions

  • |

    error_one_per_line (3) Linux Manual Page

    error, error_at_line, error_message_count, error_one_per_line, error_print_progname – glibc error reporting functions Synopsis#include <error.h> void error(int status, int errnum, const char *format, …); void error_at_line(int status, int errnum, const char *filename, unsigned int linenum, const char *format, …); extern unsigned int error_message_count; extern int error_one_per_line; extern void (*error_print_progname) (void);Descriptionerror() is a general error-reporting function. It flushes stdout,…

  • |

    error_on_per_line (3) Linux Manual Page

    error, error_at_line, error_message_count, error_on_per_line, error_print_progname – glibc error reporting functions Synopsis#include <error.h> void error(int status, int errnum, const char *format, …); void error_at_line(int status, int errnum, const char *filename, unsigned int linenum, const char *format, …); extern unsigned int error_message_count; extern int error_one_per_line; extern void (* error_print_progname) (void); Descriptionerror() is a general error reporting function….

  • |

    error_message_count (3) Linux Manual Page

    error, error_at_line, error_message_count, error_one_per_line, error_print_progname – glibc error reporting functions Synopsis#include <error.h> void error(int status, int errnum, const char *format, …); void error_at_line(int status, int errnum, const char *filename, unsigned int linenum, const char *format, …); extern unsigned int error_message_count; extern int error_one_per_line; extern void (*error_print_progname) (void);Descriptionerror() is a general error-reporting function. It flushes stdout,…

  • |

    error_at_line (3) Linux Manual Page

    error, error_at_line, error_message_count, error_one_per_line, error_print_progname – glibc error reporting functions Synopsis#include <error.h> void error(int status, int errnum, const char *format, …); void error_at_line(int status, int errnum, const char *filename, unsigned int linenum, const char *format, …); extern unsigned int error_message_count; extern int error_one_per_line; extern void (*error_print_progname) (void);Descriptionerror() is a general error-reporting function. It flushes stdout,…

  • |

    errorEstimate_ (3) Linux Manual Page

    QuantLib::Instrument – Abstract instrument class. Synopsis#include <ql/instrument.hpp> Inherits QuantLib::LazyObject. Inherited by Bond, CapFloor, CDO, CdsOption, Commodity, CompositeInstrument, CreditDefaultSwap, Forward, InflationSwap, NthToDefault, Option, PathMultiAssetOption, RiskyAssetSwap, Stock, Swap, SyntheticCDO, VarianceOption, and VarianceSwap. Public Member Functionsvirtual void setupArguments (PricingEngine::arguments *) const virtual void fetchResults (const PricingEngine::results *) const Inspectors Real NPV () const returns the net present value…

  • |

    errorEstimate (3) Linux Manual Page

    QuantLib::Instrument – Abstract instrument class. Synopsis#include <ql/instrument.hpp> Inherits QuantLib::LazyObject. Inherited by Bond, CapFloor, CDO, CdsOption, Commodity, CompositeInstrument, CreditDefaultSwap, Forward, InflationSwap, NthToDefault, Option, PathMultiAssetOption, RiskyAssetSwap, Stock, Swap, SyntheticCDO, VarianceOption, and VarianceSwap. Public Member Functionsvirtual void setupArguments (PricingEngine::arguments *) const virtual void fetchResults (const PricingEngine::results *) const Inspectors Real NPV () const returns the net present value…

  • |

    error.h (3) Linux Manual Page

    src/error.h – Rasing errors. Synopsis#include <stddef.h> Functionsint drmaa_get_errno_error (char *error_diagnosis, size_t error_diag_len) Gets last system error message and returns its code. int drmaa_get_pbs_error (char *error_diagnosis, size_t error_diag_len) Retrieves last PBS error message. int drmaa_map_pbs_error (int pbs_errcode) Maps PBS error code into DMRAA code. Detailed DescriptionRasing errors. Function Documentationint drmaa_get_errno_error (char *error_diagnosis, size_terror_diag_len)Gets last system error…

  • |

    err (3) Linux Manual Page

    err, verr, errx, verrx, warn, vwarn, warnx, vwarnx – formatted error messages Synopsis#include <err.h> void err(int eval, const char *fmt, …); void errx(int eval, const char *fmt, …); void warn(const char *fmt, …); void warnx(const char *fmt, …); #include <stdarg.h> void verr(int eval, const char *fmt, va_list args); void verrx(int eval, const char *fmt, va_list…

  • |

    erfl (3) Linux Manual Page

    erf, erff, erfl – error function Synopsis#include <math.h> double erf(double x); float erff(float x); long double erfl(long double x);Link with -lm. Feature Test Macro Requirements for glibc (see feature_test_macros(7)): erf(): _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE     || /* Since glibc 2.19: */ _DEFAULT_SOURCE     || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE erff(), erfl(): _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L     || /* Since glibc 2.19: */ _DEFAULT_SOURCE     || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCEDescriptionThese functions return the…

  • |

    erff (3) Linux Manual Page

    erf, erff, erfl – error function Synopsis#include <math.h> double erf(double x); float erff(float x); long double erfl(long double x);Link with -lm. Feature Test Macro Requirements for glibc (see feature_test_macros(7)): erf(): _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE     || /* Since glibc 2.19: */ _DEFAULT_SOURCE     || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE erff(), erfl(): _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L     || /* Since glibc 2.19: */ _DEFAULT_SOURCE     || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCEDescriptionThese functions return the…

  • |

    erfcl (3) Linux Manual Page

    erfc, erfcf, erfcl – complementary error function Synopsis#include <math.h> double erfc(double x); float erfcf(float x); long double erfcl(long double x);Link with -lm. Feature Test Macro Requirements for glibc (see feature_test_macros(7)): erfc(): _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE     || /* Since glibc 2.19: */ _DEFAULT_SOURCE     || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE erfcf(), erfcl(): _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L     || /* Since glibc 2.19: */ _DEFAULT_SOURCE     || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCEDescriptionThese functions return…

  • |

    erfcf (3) Linux Manual Page

    erfc, erfcf, erfcl – complementary error function Synopsis#include <math.h> double erfc(double x); float erfcf(float x); long double erfcl(long double x);Link with -lm. Feature Test Macro Requirements for glibc (see feature_test_macros(7)): erfc(): _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE     || /* Since glibc 2.19: */ _DEFAULT_SOURCE     || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE erfcf(), erfcl(): _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L     || /* Since glibc 2.19: */ _DEFAULT_SOURCE     || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCEDescriptionThese functions return…

  • |

    erfc (3) Linux Manual Page

    erfc, erfcf, erfcl – complementary error function Synopsis#include <math.h> double erfc(double x); float erfcf(float x); long double erfcl(long double x);Link with -lm. Feature Test Macro Requirements for glibc (see feature_test_macros(7)): erfc(): _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE     || /* Since glibc 2.19: */ _DEFAULT_SOURCE     || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE erfcf(), erfcl(): _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L     || /* Since glibc 2.19: */ _DEFAULT_SOURCE     || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCEDescriptionThese functions return…

  • |

    erf (3) Linux Manual Page

    erf, erff, erfl – error function Synopsis#include <math.h> double erf(double x); float erff(float x); long double erfl(long double x);Link with -lm. Feature Test Macro Requirements for glibc (see feature_test_macros(7)): erf(): _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE     || /* Since glibc 2.19: */ _DEFAULT_SOURCE     || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE erff(), erfl(): _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L     || /* Since glibc 2.19: */ _DEFAULT_SOURCE     || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCEDescriptionThese functions return the…

  • |

    erand48_r (3) Linux Manual Page

    drand48_r, erand48_r, lrand48_r, nrand48_r, mrand48_r, jrand48_r, srand48_r, seed48_r, lcong48_r – generate uniformly distributed pseudo-random numbers reentrantly Synopsis#include <stdlib.h> int drand48_r(struct drand48_data *buffer, double *result); int erand48_r(unsigned short xsubi[3], struct drand48_data *buffer, double *result); int lrand48_r(struct drand48_data *buffer, long *result); int nrand48_r(unsigned short xsubi[3], struct drand48_data *buffer, long *result); int mrand48_r(struct drand48_data *buffer,long *result); int jrand48_r(unsigned…

  • |

    erand48 (3) Linux Manual Page

    drand48, erand48, lrand48, nrand48, mrand48, jrand48, srand48, seed48, lcong48 – generate uniformly distributed pseudo-random numbers Synopsis#include <stdlib.h> double drand48(void); double erand48(unsigned short xsubi[3]); long lrand48(void); long nrand48(unsigned short xsubi[3]); long mrand48(void); long jrand48(unsigned short xsubi[3]); void srand48(long seedval); unsigned short *seed48(unsigned short seed16v[3]); void lcong48(unsigned short param[7]);Feature Test Macro Requirements for glibc (see feature_test_macros(7)): All…

  • |

    equivalentRate (3) Linux Manual Page

    QuantLib::InterestRate – Concrete interest rate class. Synopsis#include <ql/interestrate.hpp> Public Member Functionsconstructors InterestRate () Default constructor returning a null interest rate. InterestRate (Rate r, const DayCounter &dc=Actual365Fixed(), Compounding comp=Continuous, Frequency freq=Annual) Standard constructor. conversions operator Rate () const inspectors Rate rate () const const DayCounter & dayCounter () const Compounding compounding () const Frequency frequency ()…