Learn R Programming

gmp (version 0.2-2)

modulus: Modulus

Description

Access to modulus of a bigz

Usage

modulus(a,value)

Arguments

a
Object of class bigz
value
Object of class bigz

References

Gnu MP Library see http://swox.com/gmp, Home page: http://mulcyber.toulouse.inra.fr/projects/gmp/

x <- as.bigz(24) modulus(x)

# x element of Z/31Z modulus(x) <- 31 x+x # (6

arith