hfun: Coefficient Calculation Helper Function for Series Expansion

Description Usage Arguments Value Examples

View source: R/aux_fcn.R

Description

Calculates h_j function in the paper.

Usage

1
hfun(x, j)

Arguments

x

a value where H_j function is evaluated at; it can be a vector as well.

j

the corresponding order.

Value

the coefficient value, with length of len(x).

Examples

1
2
hfun(1, 2)
hfun(c(-1, 1), 3)

koohyun-kwon/OptACI documentation built on Oct. 6, 2020, 8:09 a.m.