• No results found

On the Unification of Schemes and Software for Wavelets on the Interval

N/A
N/A
Protected

Academic year: 2022

Share "On the Unification of Schemes and Software for Wavelets on the Interval"

Copied!
25
0
0

Laster.... (Se fulltekst nå)

Fulltekst

(1)

https://doi.org/10.1007/s10440-021-00413-6

On the Unification of Schemes and Software for Wavelets on the Interval

Vegard Antun1·Øyvind Ryan1

Received: 29 March 2020 / Accepted: 14 May 2021 / Published online: 24 May 2021

© The Author(s) 2021

Abstract

We revisit the construction of wavelets on the interval with various degrees of polynomial exactness, and explain how existing schemes for orthogonal- and Spline wavelets can be extended to compactly supported delay-normalized wavelets. The contribution differs sub- stantially from previous ones in how results are stated and deduced: linear algebra notation is exploited more heavily, and the use of sums and complicated index notation is reduced.

This extended use of linear algebra eases translation to software, and a general open source implementation, which uses the deductions in this paper as a reference, has been developed.

Key features of this implementation is its flexibility w.r.t. the length of the input, as well as its generality regarding the wavelet transform.

Keywords Wavelets·Wavelets on the interval·Boundary wavelets·Polynomial exactness Mathematics Subject Classification (2010) 42C40·65T60

1 Introduction

Wavelets on the interval are well studied, with several existing constructions addressing various degrees of polynomial exactness at the primal and dual sides. Developments in this respect can be traced back to [7,17] (see also [1,15]). The most common construction of or- thogonal wavelets on the interval is possibly [9], while the first constructions of biorthogonal spline wavelets on the interval stem from [11]. More recent constructions of such wavelets (see for instance [5,6,19]) aim at improving the condition of the bases.

Software utilizing the mentioned constructions for wavelets on the interval is limited, however. Most software involving wavelet transforms typically abandon polynomial exact- ness in favour of simpler extension strategies at the boundaries, such as periodic or sym-

Ø. Ryan

[email protected] V. Antun

[email protected]

1 Department of Mathematics, University of Oslo, Oslo, Norway

(2)

metric extensions [24].1 To the authors knowledge, there does not exist openly available software embracing the constructions mentioned above.2

This paper is an attempt to establish the fundaments for software supporting recent con- structions of wavelets on the interval, and is closely tied to an open source implementation.3 In the process some of the constructions will be revisited, and their proofs will be rewritten (in terms of linear algebra and notation, see Sect.1.1) so that they differ substantially from that found in existing literature, and so that translation to software is straightforward. When rewriting the proofs it will be seen that they also apply for more general compactly sup- ported wavelets, not only to the orthogonal- or Spline cases mostly found in the literature:

For most cases of delay-normalized wavelets (see Sect.2), they also apply, as well as the well-known method of stable completion [4]. It will also be explained how the more recent construction in [19] can be put into this context of delay-normalized wavelets.

The reader will note that the presented deductions follow the same line as those in [11]

(with substantial changes to the notation). As the bases therein suffer in terms of condition- ing, this choice deserves some comments. The improved conditioning in recent construc- tions forces a primal multiresolution analysis (including the boundary functions, and their number) to be fixed. However, this puts constraints on the dimensions of the input to the cor- responding Discrete Wavelet Transform: As an example, anm-level DWT on the interval as defined in [9] is possible only if the input length is divisible with 2m. [11] offers flexibility in this respect, however, so that it is adaptable to the input length and the number of levels.

In essence this flexibility lies in absorbing some of the internal scaling functions in the con- structed boundary functions, which also partially explains the resulting bad conditions. In summary, one either would like to transform a vector over a given number of levels 1. with no constraints on the length, for which the strategy from [11] can be applied (al-

though bad conditioning may result),

2. with a highly constrained length, that meets the requirement in more recent contributions such as [19].

If one accepts the constraint mentioned in 2., the software implementation can easily support the construction in [19] as well.

A comment is also in order as to why one also should address wavelets on the interval outside the biorthogonal spline case. By far spline wavelets are the most common in the literature due to their favourable properties, and the large machinery available for them. In practice, however, there may be specific requirements on the wavelet transform in question, thereby excluding spline wavelets. The deductions given here then can be useful in such cases.

As a final note, the reader should be aware that the purpose of this paper is to serve as reference deductions for an implementation. As such the paper does not construct new wavelets, it does not address recent successful applications of wavelets to the numerical so- lutions of PDE’s, and multiwavelets are not addressed. The software implementation hope- fully can serve as a playground for researchers experimenting with wavelets, and for others to extend.

1One reason may be that polynomial exactness on the interval only may reduce spikes in wavelet coefficients near the boundaries. Therefore, little is obtained in terms of compression, one of the main applications of wavelets.

2There do, however, exist a few implementations which support a limited set of wavelets (such as certain orthogonal Daubechies wavelets), with coefficients precomputed from [9], see also [3,13,14]. The code for computing these coefficients are, however, not available.

3This is located athttps://github.com/oyvindry/wl.

(3)

1.1 Notation

The paper follows notation in [21,22], which introduce the reader to signal processing and wavelets in a linear algebra friendly way, and in a style very different from that common for wavelets. The books also use a similar software implementation, and actually build it from scratch. The interval notation[a, b] = {a, a+1, . . . , b}will be used to denote all integers between the two integersa and b. If b < a,[a, b] = ∅. Similarly, [a, b) denotes the set {a, a+1, . . . , b−1}. Furthermore, fork∈Z, one defines in the obvious way

k[a, b] = {ka, k(a+1), . . . , kb} k+ [a, b] = {k+a, k+a+1, . . . , k+b}. These can also be combined, i.e., fork1, k2∈Z, one has

k1+k2[a, b] = {k1+k2a, k1+k2(a+1), . . . k1+k2b}.

This notation will be used to refer to segments of matrices and vectors. It should be clear from the context whether a range of integers, or an actual interval on the real line, is meant.

This notation will eliminate much of the extensive indexing in wavelet literature. In par- ticular it will simplify referring to segments of the DWT/IDWT matrices, as will often be needed. In the literature a DWT/IDWT is often expressed in terms of the filter coefficients, since these represent all entries in those matrices. This brings one away from simple matrix- vector expressions, and our deductions will therefore avoid this.

Wavelet bases forL2(R)contain an infinite number of basis functions at each resolution, whereas wavelet bases on the interval have finitely many. It will therefore be convenient to mix notation for finite and infinite matrices, and allowing finite matrices and vectors to have any given legal range of row- and column indices. In particular, in an expression on the form

⎜⎝ φ0,0b

... φ0,Nb 1

⎟⎠=CT

⎜⎝

φ0,−R+1|[0,∞)

... φ0,N−1|[0,∞)

⎟⎠,

it will be assumed that the column vector on the left hand side has row indices[0, N−1], and that the column vector on the right hand side has row indices[−R+1, N−1]. The matrixCcan be any infinite matrix, but when written as above it will be assumed that the range of column- and row indices inCare[0, N−1]×[−R+1, N−1], i.e., that the indices match. Since any range of row- and column-indices may be legal, entries with index 0 or (0,0) will occasionally be underlined (as in filter notation in signal processing), to make positions clear. The MATLABnotation that a simple colon denotes all elements along an axis, will also be followed.

1.2 Organization of the Paper

The paper is organized as follows. In Sect.2the general setup for wavelets is introduced, and in Sect.3the setup is specialized to the interval. In Sects.4and5the scaling functions and the corresponding mother wavelets are constructed. While those sections were adapted to the left end of the interval, Sect.6explains how delay-normalizedness ensures that the construction at the right end can be obtained from a simple mirroring operation of the left end. In Sect.7the result in [19] are put into the context of this contribution, and some notes on the software implementation can be found in Sect.8. A more detailed explanation of this implementation can be found in the technical report [2].

(4)

2 Setup for Wavelets on the Entire Real Line

Let φ and ψ be the scaling function and the mother wavelet of a compactly supported wavelet. Assume also thatφ is exact of orderN (meaning that all polynomials of degree less thanNcan be written as linear combinations of the translates{φ (t−n)}n). Similarly letφ,˜ ψ˜, andN˜ be the corresponding quantities for the dual wavelet. The resolution space V0is the space spanned by the translatesφ0,n(t )=φ (tn), while the detail spaceW0is the space spanned byψ0,n(t )=ψ (tn). Form >0, the resolution- and detail spacesVmand Wmare the spaces spanned by the dilated functions

φm,n(t )=2m/2φ0,n(2mt ) ψm,n(t )=2m/2ψ0,n(2mt ), (1) respectively. Similar definitions apply forφ˜andψ˜. One also writes

φm= {φm,n}n=−∞ ψm= {ψm,n}n=−∞,

so thatVm=span(φm)andWm=span(ψm). Whenφgives rise to a multiresolution analysis theVmare nested (i.e.,VmVm+1), andVm=Vm−1Wm−1, so that

Cm= {φm−1,n, ψm−1,n}n=−∞ (2) (i.e., where the dilated scaling functions and mother wavelets are listed in alternating order) is also a basis forVm. This alternating order of the basis functions is non-standard in wavelet literature, where all φm−1,n-functions usually precede theψm−1,n. This reordering has the advantage that the indexninto the basisCmrepresents time, and that change of coordinate matrices involving those bases will be banded.

On the dual side one similarly definesφ˜m,ψ˜m,V˜m,W˜m, andC˜m. The Gramm matrix of two basesB= {bi}i andC= {cj}j, denoted(B,C), is the matrix with entriesbi,cj. If (B,C)=Ione also says thatBandCare biorthogonal. A wavelet is called biorthogonal if the corresponding bases are biorthogonal, i.e.,m,φ˜m)=(Cm,C˜m)=I. Some of the most used biorthogonal wavelets were established in [8]. Some of the most used orthonor- mal wavelets, for whichφ= ˜φ,ψ= ˜ψ, and(φm,φm)=(Cm,Cm)=I(i.e., bothφmand Cmare orthonormal bases forVm) were established in [12]. Denoting by supp(f )the support interval of the functionf, a convention therein is that

supp(φ)=supp(ψ )= [−N+1, N]. (3)

The change of coordinates fromφmtoCmis called the (one-level) Discrete Wavelet Trans- form, or DWT, and denotedH (i.e.,H=PCmφm). Its inverse is the IDWT, denoted byG (i.e.,G=PφmCm), and can be written as

G=

. . .m−1,0]φmm−1,0]φmm−1,1]φmm−1,1]φm . . . . (4) Since the bases here are doubly infinite, the component with index zero is emphasized by underlining it, i.e., the coordinate vector of f (t )=c−1φ0,−1+c0φ0,0+c1φ0,1 inφ0 will be written as[f]φ0=(c−1, c0, c1). Coefficients which are zero were not listed here, as is common in signal processing filter notation.

H andGcan be expressed in terms of filters as follows [21,22, Chap. 3]:

1. The even-indexed rows of H coincide with those of a (low-pass) filter matrix, de- notedH0.

(5)

2. The odd-indexed rows ofHcoincide with those of a (high-pass) filter matrix, denotesH1. 3. The even-indexed columns of Gcoincide with those of a (low-pass) filter matrix, de-

notedG0.

4. The odd-indexed columns of G coincide with those of a (high-pass) filter matrix, de- notedG1.

Thus,H can be alternatively defined as the unique matrix compatible with filtersH0and H1, andGas the unique matrix compatible with filtersG0andG1. It is known (Exercise 5.10 in [21,22]) that if the filters of a wavelet are finite impulse response (FIR), then there exist an integerdandα∈Rso that

(H1)n=(−1)nα1(G0)n−2d (G1)n=(−1)nα(H0)n+2d. (5) Since the alternating sign corresponds to a shift in frequency by π, this says that, up to multiplication with a scalar,

1. H1is the high-pass filter corresponding to the low-pass filterG0, 2. G1is the high-pass filter corresponding to the low-pass filterH0.

Whend=0 in (5),(φ, ψ )is said to be delay-normalized [24]. Clearly there is no loss in generality in assuming this, as changingdsimply reorders the mother wavelet basis func- tions with a shift. Delay-normalized wavelets will be assumed in the following, as this will simplify some proofs. Wavelets with symmetric filters are clearly delay-normalized.

The dual wavelet transforms, denoted by H˜ and G, are the matrices compatible with˜ the filters, H˜0=GT0 and H˜1=GT1, andG˜0=H0T andG˜1=H1T. Let[L, R] =supp(φ), and [ ˜L,R] =˜ supp(φ)˜ denote the left and right supports ofφ and φ. Defining the sup-˜ port of a filter as the smallest interval containing the nonzero filter indices, one has that supp(G0)=supp(φ)= [L, R], and supp(G˜0)=supp(φ)˜ = [ ˜L,R]˜ . When the wavelet is delay-normalized one has that

supp(G1)=supp(H0)=supp(G˜0

T)= [− ˜R,− ˜L]

supp(G˜1)=supp(H1T)=supp(GT0)= [−R,−L].

These formulas tell us which scaling functions at scale 1 contribute in ψ and ψ, a fact˜ which will be useful. It is straightforward to find the supports of the mother wavelets from the supports of the filters (see for instance Exercise 5.16 in [21,22]). In particular, a delay- normalized wavelet can be recognized in terms of the supports by the requirement

supp(ψ )= [(L− ˜R+1)/2, (R− ˜L+1)/2]. (6) Clearly0,n, ψ ), as well as(φ˜0,n,ψ ), are also delay-normalized for any˜ n, as translatingφ andφ˜with the samengives scaling functions for a new biorthogonal wavelet.

For an orthonormal wavelet the filters and the dual filters equal, and H is orthogonal.

From the deductions above one sees that supp(G0)=supp(GT1), in order for an orthonormal wavelet to be delay-normalized. It is straightforward to check that assumption (3) implies that (6) holds, so that this support assumption guarantees a delay-normalizedness.

3 Setup for Wavelets on the Interval

When restricting to an interval of the form[0, M], the wavelet basesφm,ψm, and the func- tionsφm,n,ψm,n, will be replaced with new basesφbm,ψbm, and modified functionsφm,nb ,

(6)

ψm,nb . Here b is short for boundary, and only those functions supported near the boundaries are modified (called left- and right edge functions). Initial candidates for the left edge scal- ing functions will first be defined. It will then be seen how changes of coordinates can be applied to make those functions orthonormal/biorthogonal. The right edge functions will be obtained by repeating the left edge analysis, following a mirroring operation. The following definition is a generalization of that in [9].

Definition 1(Initial left edge functions) Let{ck}Nk=01 and {˜ck}Nk˜=01 be bases for the poly- nomials of degree at most N−1 and N˜ −1, respectively, and let K ≥max(−L, N ), K˜≥max(− ˜L,N )˜ be integers so thatN−K= ˜N− ˜K. The initial left edge scaling functions are defined on[0,∞)by

φ0,kb (t )= K1

n=−R+1ck(n)φ0,n(t ) for 0≤k < N

φ0,k+K−N(t ) forNk (7)

φ˜b0,k(t )= K˜1

n=− ˜R+1c˜k(n)φ˜0,n(t ) for 0≤k <N˜

φ˜0,k+ ˜K− ˜N(t ) forN˜≤k, (8)

and the setsφb0= {φ0,kb }k0andφ˜b0= { ˜φb0,k}k0.V0bandV˜0bwill denote the spaces spanned byφb0andφ˜b0, respectively.

Some comments are in order.

– The first part of these functions are replacements of the {φ0,k}K−1k=K−N. Moreover, span

b0,k}k≥0 is independent of the choice of{ck}N−k=01, and will contain all polyno- mials of degree< Non(0,∞). This follows since

n=−∞ck(n)φ0,nis a polynomial on (−∞,∞), and its restriction to(0,∞)can be written as

φ0,kb +

n≥K

ck(n)φ0,n=φ0,kb +

n≥N

ck(n+KN )φb0,n∈span

b0,k}k≥0 . – The second part of these functions are translates of the scaling function, all supported

on[0,∞)sinceK≥ −L,K˜ ≥ − ˜L. They are called internal functions. The index shift KN= ˜K− ˜Nis present for technical reasons: In order to compute anm-level DWT on the interval, we will see thatK must be chosen accordingly. The{φ0,k}K−Nk=0 1inφ0 have no counterpart inφb0. This is reflected in the IDWT matrix in that rows are shifted KNentries downwards. However,KNbasis functions will be added later, so that the net effect is that there is no shift.

NK= ˜N− ˜Ksecures the same alignment of the shifted basis functions inφb0andφ˜b0, as inφ0andφ˜0. One has flexibility in choosingKandK˜.

– {φ0,nb }n≥N can be expressed in terms of{φ1,nb }n≥N, so that the internal functions inherit a refinability relation. This follows since φb0,N=φ0,K can be expressed in terms of {φ1,n}n≥2K+L= {φb1,n}n≥N+K+L, and sinceK+L≥0.

φbm,n are defined from φ0,nb using (1) form >0. Bases φbmand spaces Vmb are defined similarly.

(7)

LetCbe the matrix with entriesCn,k=ck(n)for(n, k)∈ [−R+1, K)× [0, N ), andC˜the matrix with entriesC˜k,n= ˜ck(n)for(n, k)∈ [− ˜R+1,K)˜ × [0,N ). Definition˜ 1says that

⎜⎝ φ0,0b

... φ0,Nb 1

⎟⎠=CT

⎜⎝

φ0,−R+1|[0,∞)

... φ0,K−1|[0,∞)

⎟⎠ and

⎜⎜

φ˜b0,0

... φ˜b0,N−˜ 1

⎟⎟

⎠= ˜CT

⎜⎝

φ˜0,− ˜R+1|[0,∞)

... φ˜0,K˜1|[0,∞)

⎟⎠. (9)

C clearly has linearly independent columns, and thus full rankN. AnyN rows ofCgive a nonsingular matrix, since any polynomial of degreeN−1 is uniquely identified fromN distinct points.

Lemma 1 The0,kb }Nk=01are

1. linearly independent on[0,∞), and linearly independent from the{φb0,k}k≥N, 2. orthogonal to the{ ˜φb0,k}k≥ ˜N,

3. orthogonal to the{ ˜ψ0,k}ksupported on[0,∞).

Proof If{φb0,k}Nk=01are linearly dependent on[0,∞)there must exist a non-zero linear com- bination so thatN1

k=0 αkφ0,kb (t )=0 for allt∈ [0,∞). Lettingαbe the column vector with entriesαi, and using (9) one gets

αT

⎜⎝ φ0,0b

... φ0,N−1b

⎟⎠=αTCT

⎜⎝

φ0,R+1|[0,)

... φ0,K−1|[0,∞)

⎟⎠=(Cα)T

⎜⎝

φ0,R+1|[0,)

... φ0,K−1|[0,∞)

⎟⎠.

Now, since{φ0,n|[0,∞)}Kn=−1R+1 are linearly independent on[0,∞), it is clear that=0.

But sinceChas linearly independent columns it follows that α=0, so that the0,kb }Nk=01 are linearly dependent as well. 1. now follows from the obvious fact that {φ0,kb }Nk=01 and {φ0,k}kK= {φ0,kb }kNare linearly independent on[0,∞). 2. and 3. follow also easily, since

{ ˜φb0,k}k≥ ˜N are supported on[0,∞).

It is known that the modified edge functions satisfy a refinement relation (This fact will be reproved in our setting in the following), so that the new spacesVmbalso give rise to a mul- tiresolution analysis. One can thus define change of coordinate matricesHbandGbas be- fore, replacing the counterparts on the entire real line. If the firstNscaling functions/mother wavelets need modification, (4) translates to

Gb= [φ0,0b ]φb

10,0b ]φb

1 · · · [φb0,N−1]φb

10,N−1b ]φb

10,Nb ]φb

10,Nb ]φb

1 · · · , with all but the last two listed functions being modified versions. Since the unmodified functions inherit known refinability relations, the two columns listed last above are known.

For the first columns one will write

0,0b ]φb10,0b ]φb1 · · · [φ0,N−b 1]φb10,N−b 1]φb1

= X

Z

,

(8)

withXrepresenting the contribution of the modified functions,Zthat of the internal func- tions, i.e.

⎜⎜

⎜⎜

⎜⎝ φb0,0 ψ0,0b ... φ0,N−b 1 ψ0,N−1b

⎟⎟

⎟⎟

⎟⎠=XT

⎜⎝ φ1,0b

... φ1,N−b 1

⎟⎠+ZT φ1,Nb

...

. (10)

Denoting the even- and odd-indexed columns inXandZ, byXe,ZeandXo,Zo(through- out the paper the letters eand owill indicate even and odd indices), respectively, (10) is equivalent to

⎜⎝ φ0,0b

... φ0,Nb 1

⎟⎠=(Xe)T

⎜⎝ φb1,0

... φb1,N1

⎟⎠+(Ze)T φb1,N

...

(11)

⎜⎝ ψ0,0b

... ψ0,N−1b

⎟⎠=(Xo)T

⎜⎝ φ1,0b

... φ1,N−1b

⎟⎠+(Zo)T φb1,N

...

. (12)

Since the left edge functions span the same space, regardless of the choice of polynomials, it makes sense to consider changes of coordinates between different candidates for edge functions. One can apply several such coordinate changes, in order to obtain functionsφb0,n with desired properties. The following result concerns howXe,Ze, andCare updated by such coordinate changes (note that Lemma1guarantees the uniqueness ofXe andZein a factorization of the form (11)).

Lemma 2 Assume that a change of coordinates is applied to the left edge functions. Letb,10,k}Nk=01and0,kb,2}Nk=01be bases,P=P{φb,1

0,k}←{φb,20,k}the change of coordinate matrix from the second to the first basis. If (14) holds for0,kb,1}N−1k=0, then (14) also holds for0,kb,2}N−1k=0, and the change of coordinates from0,kb,1}N−1k=0 to0,kb,2}Nk=0−1transformsXe,Ze, andC ac- cording to

XeP−1XeP ZeZeP CCP . (13) Proof One has that

⎜⎝ φb,20,0

... φ0,Nb,21

⎟⎠=PT

⎜⎝ φ0,0b,1

... φ0,Nb,11

⎟⎠=PT

⎜⎝XTe

⎜⎝ φb,11,0

... φ1,Nb,11

⎟⎠+ZeT

⎜⎝ φ1,Nb

... φ1,Kb +R+N2

⎟⎠

⎟⎠

=PT

⎜⎝XTe(P−1)T

⎜⎝ φ1,0b,2

... φb,21,N1

⎟⎠+ZeT

⎜⎝ φ1,K

... φ1,2K+R2

⎟⎠

⎟⎠

(9)

=(P−1XeP )T

⎜⎝ φ1,0b,2

... φ1,N−1b,2

⎟⎠+(ZeP )T

⎜⎝ φb1,N

... φ1,K+R+N−2b

⎟⎠.

One also has that

⎜⎝ φb,20,0

... φ0,Nb,21

⎟⎠=PT

⎜⎝ φ0,0b,1

... φb,10,N1

⎟⎠=PTCT

⎜⎝

φ0,−R+1|[0,∞)

... φ0,K1|[0,)

⎟⎠

=(CP )T

⎜⎝

φ0,R+1|[0,)

... φ0,K−1|[0,∞)

⎟⎠.

(13) follows.

4 Finding the Left Edge Scaling Functions

First the refinement relations satisfied by the modified edge functions is established.

Lemma 3 For each choice of polynomial basis{ck}N−1k=0 one has that

⎜⎝ φ0,0b

... φ0,Nb 1

⎟⎠=(Xe)T

⎜⎝ φb1,0

... φ1,Nb 1

⎟⎠+(Ze)T

⎜⎝ φ1,Nb

... φ1,Kb +R+N2

⎟⎠, (14)

with

Xe=CGIXC Ze=GIZC, (15)

where

Xehas indices from[0, N )× [0, N ),

Zehas indices from[N, K+R+N−2] × [0, N ), – IX= [−R+1, K)×2[−R+1, K),

IZ= [K,2K+R−2] ×2[−R+1, K),

and whereCis the generalized inverse ofC.Xeis nonsingular.

Here it is assumed thatC has row indices equal to the column indices ofC, and vice versa.

Proof The first part of this proof corresponds to Lemma 3.1 in [11]. SinceV0bcontains all polynomials of degree less thanN,Ccan be chosen so that

φ0,kb (t )+

n≥K

ck(n)φ0,n(t )=tk

(10)

on[0,∞). Inserting 2tfortand multiplying with√

2 one also has φb1,k(t )+

n≥K

ck(n)φ1,n(t )=√ 2(2t )k. Comparing these and using matrix notation one sees that

⎜⎝ φ0,0b

... φ0,Nb 1

⎟⎠+CT φ0,K

...

=D

⎜⎝

⎜⎝ φb1,0

... φb1,N1

⎟⎠+CT φ1,K

...

⎞⎟⎠, (16)

whereDisN×Nand diagonal with{2k1/2}N−k=01on the diagonal. Since – φ0,K∈Span({φ1,n}nK)(alternatively,φ0,Nb ∈Span({φ1,nb }n≥N)), – supp(φ0,N−1b )ends to the right atR+K−1,

– supp(φ1,2K+R−2)=supp(φb1,K+R+N−2)also ends to the right atR+K−1,

replacing{φ1,k}k≥Kwith{φ1,kb }k≥Ngives (14) for this choice ofφ0,kb , withXeandZehaving the stated indices. Since clearlyXe=D, it must be nonsingular. Since (14) holds andXe is nonsingular for this initial basis, Lemma2says that this will be the case for any other polynomial basis as well.

Now, (9) can be written

⎜⎝ φb0,0

... φb0,N−1

⎟⎠=CT

⎜⎝

φ0,R+1|[0,)

... φ0,K−1|[0,∞)

⎟⎠

=CT(G[−R+1,2K+R2],2[−R+1,K))T

⎜⎝

φ1,−R+1|[0,∞)

... φ1,2K+R−2|[0,∞)

⎟⎠

=CT(GIX)T

⎜⎝

φ1,R+1|[0,)

... φ1,K−1|[0,∞)

⎟⎠+CT(GIZ)T

⎜⎝ φ1,K

... φ1,2K+R−2

⎟⎠

=(GIXC)T

⎜⎝

φ1,−R+1|[0,∞)

... φ1,K1|[0,)

⎟⎠+(GIZC)T

⎜⎝ φ1,Nb

... φb1,K+N+R2

⎟⎠, (17)

where the matrix product withGT was split into two parts on the third line. Noticing that (14) can also be rewritten as

⎜⎝ φb0,0

... φ0,N−1b

⎟⎠=(Xe)TCT

⎜⎝ φ1,R+1

... φ1,K−1

⎟⎠+(Ze)T

⎜⎝ φb1,N

... φ1,K+N+R−2b

⎟⎠

Comparing with (17) and using the linear independence of{{φ1,n}n≥−R+1}on[0,∞), one sees that

GIXC=CXe GIZC=Ze.

(11)

Multiplying withCto the left in the first equation gives the first equation in (15).

Some remarks on the initial choice of polynomials can be found in the technical re- port [2].

4.1 Change of Coordinates for Staggered Supports

We will now try to make a change of coordinates so that the new bases satisfy

supp(φ0,k+K−N)∩ [0,∞)=supp(φ0,kb ). (18) One says that the supports are staggered. For nN (18) follows by definition. For all n < N, staggeredness is seen to be equivalent to the lower N×N-block of C being upper triangular. The subspace of span

{φ0,kb }Nk=01 consisting of functions on the form K−1

n=−R+1c(n)φ0,nwithcso thatc(KN+k)= · · · =c(K−1)=0, clearly has dimension k. If theφ0,kb have staggered supports,φb0,k will lie in thisk-dimensional subspace, so that standard orthogonalization procedures give us a unique (up to signs) orthonormal basis of functions with staggered supports. Staggered supports can thus be used to single out unique boundary functions (as partially noted in [9]).

More generally we will say that{fi}ihave staggered supports ifi < j, supp(fi)= [0, A], and supp(fj)= [0, B]implies thatA < B. This more general definition also comprises the setting in [19], and also possible supports for the mother wavelets. A coordinate change transforming thefi to functions with staggered support can clearly be interpreted in terms of bringing a matrix to echelon form.

To obtain bases with staggered supports, Lemma2says that one needs to find a change of coordinatesP so that the lowerN×N-block ofCPis upper triangular. Clearly this can be achieved by means of a QR-factorization, or an LU factorization. The technical report [2]

contains further details.

4.2 Change of Coordinates for Orthogonalization

In the following we will assume that N= ˜N (the deductions are a bit more complicated whenN= ˜N, see Sect. 13 in the technical report [2] for further details). Since

– {φ0,kb }k≥N and{ ˜φb0,k}k≥N are biorthogonal, – {φ0,kb }N−1k=0 and{ ˜φb0,k}k≥ ˜N are mutually orthogonal, – {φ0,kb }k≥N and{ ˜φb0,k}N−k=˜ 01are mutually orthogonal,

in order to obtain biorthogonal bases forVmbandV˜mb, it is enough to find coordinate changes ensuring biorthogonality of{φb0,k}N−1k=0 and{ ˜φb0,k}Nk=0˜−1.4One of the two sets may here contain internal scaling functions. We will see that a coordinate change can be made so that it does not affect these. WithY=

0,kb,1}N−1k=0,{ ˜φb,10,k}Nk=0˜−1

the Gramm matrix of the initial bases, one sees that, whenN= ˜N(which will be assumed for simplicity in the following),

φ0,kb,1b,1˜ 0,l =

1≤r,s<N

(Xe)r,k(X˜e)s,lφ0,rb,1˜b,10,s +

r≥0

(Ze)r,k(Z˜e)r,l,

4We do not go into details on when the Gramm matrix of these bases is invertible, but see [11,20] for proofs for those considered in the literature

(12)

where it was used thatφ0,rb,1˜b,10,s = φ1,rb,1˜1,sb,1. This gives

Y=(Xe)TYX˜e+(Ze)TZ˜e. (19) SolvingAV BT =F is equivalent to solving the linear system(AB)vec(V )=vec(F ) [16], where⊗is the (left) Kronecker product, and where vec(X)is the vector where the rows ofXhave been stacked horizontally and then transposed to a column vector. Equation (19) can therefore be written as

(I(Xe)T(X˜e)T)vec(Y )=vec((Ze)TZ˜e) (20) (see also Theorem 3.2 in [18]. This paper also elaborates on the general computation of Gramm matrices), whereI is theN2×N2identity matrix.5

Denote bases by

B= {φb,10,k}Nk=0−1 C= {φb,20,k}Nk=0−1 B˜= { ˜φb,10,k}N−1k=0˜ C˜= { ˜φb,20,k}N−1k=0˜ ,

and letP=PBCandP˜=PB˜← ˜Cbe the corresponding coordinate changes (i.e., from the old to the new bases). It is straightforward to show that

(C,C˜)=PT(B,B˜)P .˜ (21) Since one wants basesCandC˜so that(C,C˜)=I, and since upper triangular coordinate changes preserve staggered supports, one seeks upper triangular matricesP andP˜ so that PT(B,B˜)P˜=I, i.e., so that

Y=(PT)−1P˜−1.

Now, if Y =LU is an L1U-factorization 6 ofY ,7 one can choose our upper triangular coordinate changes asP =(L−1)T andP˜=U−1. In the orthogonal case whereB= ˜Band C= ˜C,Y is positive semidefinite, and thus has a unique Cholesky factorizationY=LLT, so that one can chooseP= ˜P=(L−1)T as our coordinate change.8

In the following it will always be assumed thatφb0andφ˜b0 are biorthogonal, both with staggered supports.

5Xehas eigenvalues{2−k−1/2}N−1k=0. It follows thatρ(Xe) <1, so thatI(Xe)T (X˜e)T is nonsingular, so thatYis unique.

6L1U means that L is lower triangular with ones on the diagonal, U is upper triangular. Similarly LU1means that U is upper triangular with ones on the diagonal.

7It is a major issue whetherY is nonsingular in the general case. Some special cases are handled in [11, 18,20]. ForY to have a unique L1U-factorization one also needs the principal leading submatrices to be nonsingular. The software implementation handles these issues only numerically. Other factorizations such as a LU1or LDU could also be chosen.

8It has been noted in the literature thatYcan be badly conditioned. [10] proposes to use a Singular Value Decomposition ofYto address this problem. [10] does not assume staggered supports.

Referanser

RELATERTE DOKUMENTER

The data for this thesis has consisted of the burial site at Borre and documents and reports from the 1988-1992 Borre Project, including field journals (Elliot, 1989; Forseth, 1991b,

The  evidence  from  this  evaluation  report  indicates  positive  effects  from  Erasmus+  and  previous  programmes  at  the  level  of  individuals, 

The ideas launched by the Beveridge Commission in 1942 set the pace for major reforms in post-war Britain, and inspired Norwegian welfare programmes as well, with gradual

To enable a multiresolution data description, we perform a wavelet transform on the volume dataset using polynomial spline wavelets [CDF92] with different degrees and the least

In April 2016, Ukraine’s President Petro Poroshenko, summing up the war experience thus far, said that the volunteer battalions had taken part in approximately 600 military

Model 1 showed a local minimum appearing around the time when the aerobic power reached steady state for continuous exercise, whereas for Model 2 the alactic energy storage

An abstract characterisation of reduction operators Intuitively a reduction operation, in the sense intended in the present paper, is an operation that can be applied to inter-

Fig. Modeling is done with the composite-roughness surface scattering kernel for the same type of bottom as in Fig. There are 10 dB between the thick marks on the vertical axes.