Learn R Programming

unbalhaar (version 2.1)

inner.prod.iter: Inner products with Unbalanced Haar wavelets

Description

For an input vector of length n, the function computes inner products between the input vector and all possible n-1 Unbalanced Haar vectors of length n.

Usage

inner.prod.iter(x)

Arguments

x

a vector of length n

Value

a vector of length n-1, containing inner products between x and consecutive Unbalanced Haar wavelets of length n

Details

The computation is iterative and is performed in computational time O(n).

Examples

Run this code
# NOT RUN {
inner.prod.iter(rnorm(100))
# }

Run the code above in your browser using DataLab