seq.bignum_vctr {bignum} | R Documentation |
Sequences of bignum vectors
Description
Generate a regular sequence of biginteger
or bigfloat
values.
When calling seq()
, exactly two of the following must be specified:
-
to
-
by
Either
length.out
oralong.with
Usage
## S3 method for class 'bignum_vctr'
seq(from, to = NULL, by = NULL, length.out = NULL, along.with = NULL, ...)
Arguments
from |
Start value of the sequence. Always included in the result. A |
to |
Stop value of the sequence. Only included in the result if
|
by |
Amount to increment the sequence by.
|
length.out |
Length of the resulting sequence. |
along.with |
Vector who's length determines the length of the resulting sequence. |
... |
These dots are for future extensions and must be empty. |
Value
A sequence with the type of from
.
Examples
seq(biginteger(0), 10, by = 2)
seq(biginteger(0), 10, length.out = 3)
seq(biginteger(0), by = 3, length.out = 3)
seq(bigfloat(0), by = -0.05, length.out = 6)
[Package bignum version 0.3.2 Index]