modulo_add: 1-indexed modular addition

Description Usage Arguments

View source: R/modulo_add.R

Description

Provides modular addition with zero excluded.

Usage

1
modulo_add(i, m, n = 26)

Arguments

i

Starting number

m

Number to be added

n

Modulus. Defaults to 26 for alphabetic modular arithmetic


lewinfox/cypher documentation built on Feb. 4, 2020, 7:24 p.m.