R/bregman1_sf.R

Defines functions bregman1_sf

Documented in bregman1_sf

bregman1_sf <- function(x, y, a)
{
    ((abs(y))^a) - ((abs(x))^a) - a * sign(x) * ((abs(x))^(a - 1)) * (y - x)
}

Try the scoringfunctions package in your browser

Any scripts or data that you put into this service are public.

scoringfunctions documentation built on April 4, 2025, 12:28 a.m.