Extract {gmp}R Documentation

Extract or Replace Parts of an Object

Description

Operators acting on vectors, arrays and lists to extract or replace subsets.

Usage

c.bigq(...,recursive = FALSE)
rep.bigq(x,times,...)

Arguments

x Object or vector of class bigz
... Additional parameters
times Integer
recursive Unused

Note

Unlike standard matrix, operator x[i] & x[i,] do the same.

Examples

  a <- as.bigq(123)
  a[2] <- a[1]

  # create a vector of 3 a
  c(a,a,a)

  # repeate a 5 times
  rep(a,5)

  

[Package gmp version 0.4-8 Index]