seqMpfr | R Documentation |
Generate ‘regular’, i.e., arithmetic sequences. This is in
lieu of methods for seq
(dispatching on all three of
from
, to
, and by
.
seqMpfr(from = 1, to = 1, by = ((to - from)/(length.out - 1)),
length.out = NULL, along.with = NULL, ...)
from , to |
the starting and (maximal) end value (numeric or
|
by |
number (numeric or |
length.out |
desired length of the sequence. A non-negative number, which will be rounded up if fractional. |
along.with |
take the length from the length of this argument. |
... |
arguments passed to or from methods. |
see seq
(default method in package base),
whose semantic we want to replicate (almost).
a ‘vector’ of class "mpfr"
, when one of
the first three arguments was.
Martin Maechler
The documentation of the base function seq
;
mpfr
seqMpfr(0, 1, by = mpfr(0.25, prec=88))
seqMpfr(7, 3) # -> default prec.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.