atomicVector-class {Matrix} | R Documentation |
The class
"atomicVector"
is a
virtual class containing all atomic vector classes of base R,
as also implicitly defined via is.atomic
.
A virtual Class: No objects may be created from it.
In the Matrix package, the "atomicVector" is used in signatures where typically “old-style” "matrix" objects can be used and can be substituted by simple vectors.
The atomic classes
"logical"
, "integer"
, "double"
, "numeric"
,
"complex"
, "raw"
and "character"
are extended
directly. Note that "numeric"
already contains "integer"
and "double"
, but we want all of them to be direct subclasses of
"atomicVector"
.
Martin Maechler
is.atomic
, integer
, numeric
,
complex
, etc.
showClass("atomicVector")