makeInteger coerces the scalar x to integer. If the result is NA or smaller than min, an error is issued.
anyNA gives TRUE if any(is.na(x)), else FALSE. If x is a function or NULL, it also gives FALSE.
checkList will issue an error if passedList
contains any NA elements. It will give a warning if any elements in passedList are unnamed, or if an element in names(passedList) is not found in names(defaultList).
mRU and mRN create matrices (of size m
times n) of uniform/Gaussian variates.
mcList takes a list of named elements and merges them with the default settings of mclapply from package parallel.
repair1c is described in the vignette on Repairing Solutions .
Chapters[12] is a vector of length 15, giving the chapter names as printed in the book. (Can be accessed with showChapterNames.)
due (dividends until expiry) returns a list with named components tauD and D: all dividends for which time-to-payment is greater than zero, but less than or equal to time-to-expiry.
References
Gilli, M., Maringer, D. and Schumann, E. (2019) Numerical Methods and Optimization in Finance. 2nd edition. Elsevier. tools:::Rd_expr_doi("10.1016/C2017-0-01621-X")