Retrieves the dimensions of a fast transform created by fort()
(i.e., the number of rows and
columns of an equivalent matrix). It returns the same value that one would get from dim(as.matrix())
,
but much more efficiently.
Usage
# S3 method for FastTransform
dim(x)
Arguments
- x
An object of class
FastTransform
, created usingfort()
.
Value
A vector of length 2 containing the dimensions of the fast transform (i.e., number of rows and number of columns, in this order).