next2: Next Power of Two

next2R Documentation

Next Power of Two

Description

Return next power of two greater than n

Usage

next2(x)

Arguments

x

length of vector

Value

integer value

Author(s)

Jonathan M. Lees<jonathan.lees.edu>

Examples

k <- 1236
next2(k)


RSEIS documentation built on Aug. 19, 2023, 5:07 p.m.