R/getVecGroup.R

getVecGroup <-
function (x)
  {
    out <- numeric(x)
    for (l in 0:(x-1)){out[l + 1] <- 2^l} 
    out
  }

Try the logicFS package in your browser

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

logicFS documentation built on Nov. 8, 2020, 5:23 p.m.