modulo_subtract: 1-indexed modular subtraction

Description Usage Arguments

View source: R/modulo_subtract.R

Description

Provides modular subtraction with zero excluded.

Usage

1
modulo_subtract(i, m, n = 26)

Arguments

i

Starting number

m

Number to be subtracted

n

Modulus. Defaults to 26 for alphabetic modular arithmetic


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