Learn R Programming

Matrix (version 1.2-16)

number-class: Class "number" of Possibly Complex Numbers

Description

The class "number" is a virtual class, currently used for vectors of eigen values which can be "numeric" or "complex".

It is a simple class union (setClassUnion) of "numeric" and "complex".

Arguments

Objects from the Class

Since it is a virtual Class, no objects may be created from it.

Examples

Run this code
# NOT RUN {
showClass("number")
stopifnot( is(1i, "number"), is(pi, "number"), is(1:3, "number") )
# }

Run the code above in your browser using DataLab