Definition at line 239 of file AtlRunQueryUtils.py.
◆ __init__()
def python.utils.AtlRunQueryUtils.Matrix.__init__ |
( |
|
self, |
|
|
|
cols, |
|
|
|
rows |
|
) |
| |
◆ __iter__()
def python.utils.AtlRunQueryUtils.Matrix.__iter__ |
( |
|
self | ) |
|
◆ __repr__()
def python.utils.AtlRunQueryUtils.Matrix.__repr__ |
( |
|
self | ) |
|
Definition at line 258 of file AtlRunQueryUtils.py.
260 for i
in range(self.rows):
261 outStr +=
'Row %s = %s\n' % (i+1, self.matrix[i])
◆ getitem()
def python.utils.AtlRunQueryUtils.Matrix.getitem |
( |
|
self, |
|
|
|
col, |
|
|
|
row |
|
) |
| |
Definition at line 255 of file AtlRunQueryUtils.py.
255 def getitem(self, col, row):
256 return self.matrix[col-1][row-1]
◆ setitem()
def python.utils.AtlRunQueryUtils.Matrix.setitem |
( |
|
self, |
|
|
|
col, |
|
|
|
row, |
|
|
|
v |
|
) |
| |
Definition at line 252 of file AtlRunQueryUtils.py.
252 def setitem(self, col, row, v):
253 self.matrix[col-1][row-1] = v
◆ cols
python.utils.AtlRunQueryUtils.Matrix.cols |
◆ matrix
python.utils.AtlRunQueryUtils.Matrix.matrix |
◆ rows
python.utils.AtlRunQueryUtils.Matrix.rows |
The documentation for this class was generated from the following file: