l2_inner_prod_step: compute l2 inner product of two step functions

Description Usage Arguments Value

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


Elio-z/MOSS-ATE documentation built on May 6, 2019, 11:15 a.m.