Vertical slopes and Cubic Hermite Interpolation
Cory Riddell via Boost-users <[email protected]>
| Newsgroups | gmane.comp.lib.boost.user |
|---|---|
| Message-ID | <MN2PR01MB59652503A6A416AD22CFF6A1BE099@MN2PR01MB5965.prod.exchangelabs.com> |
I'm reading about boost::math::interpolators::cubic_hermite and the constructor takes three arguments: x values, y values and slopes (dy/dx). Can this library be used when the slope at a point is vertical? If so, how do you specify that? I tried std::numeric_limits<double>::infinity() but that doesn't work. Cory _______________________________________________ Boost-users mailing list [email protected] https://lists.boost.org/mailman/listinfo.cgi/boost-users