R/w_.R

Defines functions w_

w_ <- function(alpha, w, k.max, k.min)
{
    w_ <- w
    w_[k.max] <- w_[k.max] + alpha
    w_[k.min] <- w_[k.min] - alpha 
    w_
}

Try the rodd package in your browser

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

rodd documentation built on May 29, 2017, 9:42 p.m.