Analysis of the Binary Asymmetric Joint Sparse Form
Clemens Heuberger* Sara Kropf
Alpen-Adria-Universit¨ at Klagenfurt and TU Graz Supported by the Austrian Science Fund: W1230
Menorca, 2013-05-29
1
Analysis of the Binary Asymmetric Joint Sparse Form Clemens - - PowerPoint PPT Presentation
Analysis of the Binary Asymmetric Joint Sparse Form Clemens Heuberger * Sara Kropf Alpen-Adria-Universit at Klagenfurt and TU Graz Supported by the Austrian Science Fund: W1230 Menorca, 2013-05-29 1 Digital Expansions and Scalar
1
2
2
2
2
2
2
2
2
2
2
P Q P + Q −P R 2R E
3
P Q P + Q −P R 2R E
3
P Q P + Q −P R 2R E
3
4
4
4
4
5
5
5
5
6
6
6
6
6
7
7
7
7
8
8
8
8
8
8
8
8
Input: n = (n1, n2, . . . , nd)T ∈ Zd, ℓ ≤ 0, u ≥ 1 (with all components of n non-negative if ℓ = 0). Output: As−1 . . . A1A0, a colexicographically minimal & minimal weight representation of n.
1: Dℓ,u ← {a ∈ Z : ℓ ≤ a ≤ u} 2: w ← the integer such that 2w−1 ≤ #Dℓ,u < 2w 3: unique(Dℓ,u) ← {a ∈ Dℓ,u : u − 2w−1 < a < ℓ + 2w−1} 4: nonunique(Dℓ,u) ← {a ∈ Dℓ,u : a ≤ u − 2w−1 or ℓ + 2w−1 ≤ a} 5: {these sets respectively consist of the digits which are unique and non-unique modulo 2w−1.} 6: s ← 0, L ← (ℓ, ℓ, . . . , ℓ)T 7: while n =
0 do
8:
if n ≡ 0 (mod 2) then
9:
{We can make column s zero, so we do this.}
10:
A ←
11:
else
12:
{We cannot make column s zero, thus it will be nonzero.}
13:
A ← L + ((n − L) mod 2w−1)
14:
Iunique ← {i ∈ {1, 2, . . . , d} : ai ∈ unique(Dℓ,u)}
15:
Inonunique ← {i ∈ {1, 2, . . . , d} : ai ∈ nonunique(Dℓ,u)}
16:
m ← (n − A)/2w−1
17:
if mi ≡ 0 (mod 2) for all i ∈ Iunique then
18:
{We can make column s + w − 1 zero.}
19:
for i ∈ Inonunique such that mi is odd do
20:
ai ← ai + 2w−1
21:
mi ← mi − 1
22:
else
23:
{Column s + w − 1 will be nonzero.}
24:
{Use redundancy at column s to increase redundancy at column s + w − 1.}
25:
for i ∈ Inonunique such that ℓ + ((mi − ℓ) mod 2w−1) = u − 2w−1 + 1 do
26:
ai ← ai + 2w−1
27:
mi ← mi − 1
28:
{We have n ≡ A (mod 2w−1) and m = (n − A)/2w−1.}
29:
As ← A
30:
n ← (n − A)/2
31:
s ← s + 1
32: return As−1 . . . A1A0
9
10
10
−t2 2 dt + O
4
10
11
11
12
10 ∅ 00 1 00 ∅ 10 1 1 1 1 11 ∅ 01 2 11 ∅ 10 2 10 ∅ 11 2 01 ∅ 11 2 10 {1} 00
1
11 {1} 10
2
11 {1} 01
2
00 ∅ 00 1 1 10 ∅ 10 2 10 ∅ 01 2 01 ∅ 10 2 01 ∅ 01 2 00 {2} 10
1
10 {2} 11
2
01 {2} 11
2
13
14
14
14
14
15
15
15
A = 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3y 1 y y 1 1 y y 1 1 1 1 1 1 2y y 1 y y 1 1 y y 1 1 2y y 1 1 1 1 1 y y 1 1 y y 1 1 1 1 1 1 y y y 1 2y y 1 2y y 1 3y 1
15
16
16
16
16
17
17
17
18
18
18
18