payoff_put: Payoff of put-option

Description Usage Arguments Details Value

View source: R/initial_conditions.R

Description

The payoff function of a put option.

Usage

1
payoff_put(x, K)

Arguments

x

real input

K

strike of option

Details

The positive part of the strike less the input

Value

numeric


shill1729/FeynmanKacSolver documentation built on May 19, 2020, 8:23 p.m.