grid_foundations: Returns a (sparse) triangular matrix and plug values in from...

Description Usage Arguments Value Examples

View source: R/simulation.R

Description

Returns a (sparse) triangular matrix and plug values in from top to bottom, left to right.

Usage

1
grid_foundations(n, vanishing_depth, values = 1)

Arguments

n

Number of time steps.

vanishing_depth

Approximation depth.

values

Either scalar or vector to input in matrix.

Value

Sparse matrix with values included.

Examples

1
2
3
n <- 100
vd <- 50
grid_foundations(n, vd)

valcourgeau/gammaextremes documentation built on Sept. 9, 2021, 5:42 a.m.