equal_weights: Simple 1/n_grid weights

View source: R/helper_functions.R

equal_weightsR Documentation

Simple 1/n_grid weights

Description

Constructs a vector with equal weights of 1/n_grid instead of numerical integration weights for one single function.

Usage

equal_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.