Inter-Matrix Methods
pyrix.matrix.Matrix.addRows()
Abstract Code Description
1 2 3 4 |
|
details
This method adds row at index2 of matrix m2 to the row at index1 of current matrix and store the resultant row at index1 position of current matrix.
parameters:
- index1: This will locate the position of the row of the current matrix (int type).
- m2: This is the second matrix object operand (Matrix type).
- index2: This will locate the position of the row of the m2 matrix (int type).
pyrix.matrix.Matrix.subRows()
Abstract Code Description
1 2 3 4 |
|
details
This method subtracts row at index2 of matrix m2 from the row at index1 of current matrix and store the resultant row at index1 position of current matrix.
parameters:
- index1: This will locate the position of the row of the current matrix (int type).
- m2: This is the second matrix object operand (Matrix type).
- index2: This will locate the position of the row of the m2 matrix (int type).
Last update: December 3, 2020