fastMobius | R Documentation |
Uses the fast method of Kennes and Smets (1990) to obtain Moebius and inverse Moebius transforms.
fastMobius(x, pad = FALSE)
invMobius(x, pad = FALSE)
x |
vector to transform |
pad |
logical, should vector not of length 2^k be padded with zeroes? |
These are respectively equivalent to multiplying abs(subsetMatrix(k))
and subsetMatrix(k)
by x
, when x
has length 2^k
, but is
much faster if k
is large.
invMobius()
: inverse transform
x <- c(1,0,-1,2,4,3,2,1)
M <- subsetMatrix(3)
M %*% abs(M) %*% x
invMobius(fastMobius(x))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.