/** * Returns the position of the given coordinate within the (virtual or * non-virtual) internal 1-dimensional array. * * @param row * the index of the row-coordinate. * @param column * the index of the column-coordinate. */ public long index(int row, int column) { return _rowOffset(_rowRank(row)) + _columnOffset(_columnRank(column)); }
/** * Returns the position of the given coordinate within the (virtual or * non-virtual) internal 1-dimensional array. * * @param row * the index of the row-coordinate. * @param column * the index of the column-coordinate. */ public long index(int row, int column) { return _rowOffset(_rowRank(row)) + _columnOffset(_columnRank(column)); }