Do constant transformations count in matrix rank?

142 Views Asked by At

So the definition of matrix rank is number of "linearly independent" rows or columns. However it seems like adding a scalar to a row to get to another row does not count as linear dependence? For example, we have two rows:

r1: [6, 3, 1]

r2: [7, 4, 2]

This has a rank of 2 as the two above are linearly independent, even though we could add 1 to r1 to get r2.

Is my understanding correct?