l2_inner_prod_step: compute l2 inner product of two step functions

Description Usage Arguments Value Examples

View source: R/helper_for_onestep.R

Description

f and g

Usage

1
l2_inner_prod_step(f.step, g.step, T.grid)

Arguments

f.step

two step-function pdf with shared jump points; can be matrix input: nrow = # of different step-function pdf, ncol = length(T.grid)

g.step

two step-function pdf with shared jump points; can be matrix input: nrow = # of different step-function pdf, ncol = length(T.grid)

T.grid

shared jump points

Value

scalar

Examples

1
# TO DO

wilsoncai1992/onestep.survival documentation built on Dec. 17, 2017, 12:07 p.m.