C++ functions for fast option pricing using various algorithms