modulus {gmp}R Documentation

Modulus

Description

Access to modulus of a bigz

Usage

modulus(a,value)

Arguments

a Object of class bigz
value Object of class bigz

Examples

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

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

  

[Package gmp version 0.4-1 Index]