QuantLib: MakeMCAmericanEngine< RNG, S > Class Template Reference

A free/open-source library for quantitative finance Reference manual - version 1.6

- Main Page
- Related Pages
- Modules
- Classes
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
MakeMCAmericanEngine< RNG, S > Class Template Reference

Monte Carlo American engine factory. More...

`#include <ql/pricingengines/vanilla/mcamericanengine.hpp>`

## Public Member Functions
| MakeMCAmericanEngine (const boost::shared_ptr< GeneralizedBlackScholesProcess > &)
MakeMCAmericanEngine & | withSteps (Size steps)
MakeMCAmericanEngine & | withStepsPerYear (Size steps)
MakeMCAmericanEngine & | withSamples (Size samples)
MakeMCAmericanEngine & | withAbsoluteTolerance (Real tolerance)
MakeMCAmericanEngine & | withMaxSamples (Size samples)
MakeMCAmericanEngine & | withSeed (BigNatural seed)
MakeMCAmericanEngine & | withAntitheticVariate (bool b=true)
MakeMCAmericanEngine & | withControlVariate (bool b=true)
MakeMCAmericanEngine & | withPolynomOrder (Size polynomOrer)
MakeMCAmericanEngine & | withBasisSystem (LsmBasisSystem::PolynomType)
MakeMCAmericanEngine & | withCalibrationSamples (Size calibrationSamples)
| operator boost::shared_ptr< PricingEngine > () const

## Detailed Description

### template<class RNG = PseudoRandom, class S = Statistics>
class QuantLib::MakeMCAmericanEngine< RNG, S >

Monte Carlo American engine factory.

Examples:
  EquityOption.cpp.