saw_tooth {PRNG}R Documentation

Saw tooth map

Description

saw tooth map is a family of maps as f(x)=b*x mod1

Usage

saw_tooth(x0)

Arguments

x0

seed value ranging from 0 to 1

Value

(3*x) mod(1)

Examples

saw_tooth(0.6)

[Package PRNG version 0.0.2 Index]