saw_tooth: Saw tooth map

View source: R/PRNG.R

saw_toothR 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)

PRNG documentation built on Sept. 11, 2024, 6:13 p.m.