Current implementation assigns the manipulation (access and modification) of elements in a matrix to methods at (i, j) and set (i, j, value), where iis a line and j is a column, which produces verbose and less-readable code.
Operator [][] can fix this problem, since one is able to refer to an element at line i and column j in matrix A just by using A[i][j].
Current implementation assigns the manipulation (access and modification) of elements in a matrix to methods
at (i, j)
andset (i, j, value)
, wherei
is a line andj
is a column, which produces verbose and less-readable code.Operator [][] can fix this problem, since one is able to refer to an element at line
i
and columnj
in matrixA
just by using A[i][j].