quad: Quadratic approximation to a Bregman divergence

Description Usage Arguments Value

Description

Quadratic approximation to a Bregman divergence

Usage

1
quad(n, m, base = m, h = euc_)

Arguments

n

the first point

m

the second point

base

the point at which to compute the Hessian

h

the hessian function. Will be passed base as argument

Value

the quadratic approximation of the Bregman divergence of which h is the hessian.


PhilChodrow/compx documentation built on May 8, 2019, 1:34 a.m.