|
Algorithm 1 DWS Algorithm (The Coding Module) |
-
1:
Initialize , for to m
-
2:
for to m
do
-
3:
for
to
do
-
4:
Initialize
-
5:
for
to
do
-
6:
-
7:
end for
-
8:
end for
-
9:
for
to q
do
-
10:
for
to
do
-
11:
if coefficient of in
then
-
12:
Continue loop for the next value of j at line 9
-
13:
end if
-
14:
end for
-
15:
-
16:
Continue loop for the next value of i at line 2
-
17:
end for
-
18:
end for
-
19:
Compute the linear combination,
|