trapez_weights: Trapezoidal rule numerical integration weights

View source: R/helper_functions.R

trapez_weightsR Documentation

Trapezoidal rule numerical integration weights

Description

Constructs a vector with numerical integration weights for one single function.

Usage

trapez_weights(arg, range = NULL)

Arguments

arg

A numeric vector with 'time-points' (argument values) the function is evaluated at. Can be in non-increasing order.

range

the range of the interval integrated over. Must include all arg values.


Almond-S/manifoldboost documentation built on June 23, 2022, 11:06 a.m.