~ubuntu-branches/ubuntu/utopic/cloog/utopic

« back to all changes in this revision

Viewing changes to test/daegon_lu_osp.cloog

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-02-26 14:21:11 UTC
  • mfrom: (3.1.8 sid)
  • Revision ID: package-import@ubuntu.com-20140226142111-vsbb1isby30uundd
Tags: 0.18.2-1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
###############################################################################
2
 
#
3
 
# Problem  : LU Decomposition + 
4
 
# Date     : 2005. 4. 25
5
 
# Author   : DaeGon Kim
6
 
#
7
 
###############################################################################
8
 
 
9
 
### Context -------------------------------------------------------------------
10
 
   c # language is c
11
 
 
12
 
   1          # Context
13
 
   1 3            # 1 lines and 3 coloumns
14
 
   #  N1   1
15
 
   1   1  -2      # N > 1
16
 
 
17
 
   1              # 1 - Specify the names of parameters
18
 
   N1             # parameter names
19
 
 
20
 
### ----------------------------------------------------------------------------
21
 
 
22
 
### Statements -----------------------------------------------------------------
23
 
   2                             # number of statements
24
 
   # first statement
25
 
   1
26
 
   7    6
27
 
   # Eq/In  J       J       K       N1      Constants
28
 
    1       1       0       0       0       -1       # 1 <= I
29
 
    1       0       1       0       0       -1       # 1 <= J
30
 
    1       0       0       1       0       0        # 0 <= K
31
 
    1      -1       0       0       1       0        # I <= N1
32
 
    1       0      -1       0       1       0        # J <= N1
33
 
    1       1       0      -1       0       0        # K <= I
34
 
    1       0       1      -1       0       0        # K <= J
35
 
    0       0       0
36
 
   
37
 
   # second statement
38
 
   1
39
 
   6    6
40
 
   # Eq/In  I       J       K       N1      Constants
41
 
    1       1       0       0       0       -1       # 1 <= I
42
 
    1       0       1       0       0       -1       # 1 <= J
43
 
    1       0       0       1       0       0        # 0 <= K
44
 
    1       0      -1       0       1       0        # J <= N1
45
 
    1      -1       1       0       0       0        # I <= J
46
 
    1      -1       1      -2       0       0        # 2K <= J-I
47
 
    0       0       0
48
 
 
49
 
    1                # Iterators
50
 
    J1  J2  J3       # Iterators name
51
 
 
52
 
### ----------------------------------------------------------------------------
53
 
 
54
 
    
55
 
### Scattering Functions -------------------------------------------------------
56
 
 
57
 
    2    # Number of scattering functions
58
 
 
59
 
    # First statement
60
 
    3 9 
61
 
    #   I1  I2  I3  I   J   K   N1  1
62
 
    0   1   0   0  -1  -1  -1   0   0    # I1 = I+J+K
63
 
    0   0   1   0  -1   0   0   0   0    # I2 = I
64
 
    0   0   0   1   0  -1   0   0   0    # I3 = J
65
 
 
66
 
    # Second statement
67
 
    3 9
68
 
    #   I1  I2  I3  I   J   K   N1  1
69
 
    0   1   0   0   2  -2   1   0   0     # I1 = -2I + 2J - K
70
 
    0   0   1   0  -1   0   0   0   0     # I2 = I
71
 
    0   0   0   1   0  -1   0   0   0     # I3 = J
72
 
 
73
 
 
74
 
    1          # Specify scattering dimension names
75
 
    I1  I2  I3 # Scattering dimension names
76
 
 
77
 
### ----------------------------------------------------------------------------
78
 
 
79
 
 
80