1
Is this matrix rank-one?
code-golf
Your goal is to check whether a given integer matrix is rank-one, using as few bytes as possible. A matrix is rank-one if every row is a multiple of the same vector.
Example:
2 4 20 10
-3 -6 -30 -15
0 0 0 0
The definition also holds true ...