cbuf {evoper}R Documentation

cbuf

Description

Simple implementation of a circular buffer.

Usage

cbuf(b, v, e)

Arguments

b

The variable holding the current buffer content

v

The new valued to be added to b

e

The length of circular buffer

Value

The buffer b plus the element v minus the least recently added element


[Package evoper version 0.5.0 Index]