Definition at line 238 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 257 of file AtlRunQueryUtils.py.
259 for i
in range(self.rows):
260 outStr +=
'Row %s = %s\n' % (i+1, self.matrix[i])
◆ getitem()
def python.utils.AtlRunQueryUtils.Matrix.getitem |
( |
|
self, |
|
|
|
col, |
|
|
|
row |
|
) |
| |
Definition at line 254 of file AtlRunQueryUtils.py.
254 def getitem(self, col, row):
255 return self.matrix[col-1][row-1]
◆ setitem()
def python.utils.AtlRunQueryUtils.Matrix.setitem |
( |
|
self, |
|
|
|
col, |
|
|
|
row, |
|
|
|
v |
|
) |
| |
Definition at line 251 of file AtlRunQueryUtils.py.
251 def setitem(self, col, row, v):
252 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: