Learn R Programming

dvfBm (version 1.0)

dilatation: 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

See Also

filt

Examples

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

Run the code above in your browser using DataLab