# QuantLib_MarketModelPathwiseDiscounter man page

MarketModelPathwiseDiscounter

## Synopsis

`#include <ql/models/marketmodels/pathwisediscounter.hpp>`

### Public Member Functions

**MarketModelPathwiseDiscounter** (**Time** paymentTime, const std::vector< **Time** > &rateTimes)

void **getFactors** (const **Matrix** &LIBORRates, const **Matrix** &Discounts, **Size** currentStep, std::vector< **Real** > &factors) const

## Detailed Description

this class returns the number of units of the discretely compounding money market account that 1 unit of cash at the payment can buy using the LIBOR rates from current step.

It also returns the derivative of this number with respect to each of the rates.

Discounting is purely based on the simulation LIBOR rates, to get a discounting back to zero you need to multiply by the discount factor of t_0.

## Author

Generated automatically by Doxygen for QuantLib from the source code.

## Referenced By

getFactors(3) and MarketModelPathwiseDiscounter(3) are aliases of QuantLib_MarketModelPathwiseDiscounter(3).