dilatation {dvfBm}R Documentation

Provides the dilated version of a vector

Description

Computes the vector a^m : a_i^m= a_{i/m} if i/m is an integer and 0 otherwise. As an example, if a=a^1=(1,-2,1), then a^2=(1,0,-2,0,1),...

Usage

dilatation(a = c(1, -2, 1), m = 2)

Arguments

a a numeric vector
m an integer associated to the dilatation factor

Value

Return a vector of length m*(length(a)-1)+1

Author(s)

J.-F. Coeurjolly

See Also

filt

Examples

dilatation(c(1,-1,1),1)
dilatation(c(1,-1),2)
##
dilatation(filt("i2"),5)

[Package dvfBm version 1.0 Index]