35 "the size of the curve must be at least 3");
37 if (
size() % 2 == 1) {
48 "the size of the curve must be at least 4");
50 if (
size() % 2 == 1) {
56 return (deltaPlus-deltaMinus)/dS;
62 return (deltaPlus-deltaMinus)/
80 *val = priceSpline(*
grid,
true);
1-D array used in linear algebra.
const Real * const_iterator
void swap(Array &) noexcept
const_iterator end() const
Size size() const
dimension of the array
const_iterator begin() const
Cubic interpolation between discrete points.
@ SecondDerivative
Match value of second derivative at end.
Real firstDerivativeAtCenter() const
const Array & grid() const
Real valueAtCenter() const
void regrid(const Array &new_grid)
Real secondDerivativeAtCenter() const
#define QL_REQUIRE(condition, message)
throw an error if the given pre-condition is not verified
std::size_t Size
size of a container
a class that contains a sampled curve