activeAt method

Logic activeAt(
  1. int row,
  2. int column
)

Returns the active bit for one physical element.

Implementation

Logic activeAt(int row, int column) {
  if (row < 0 || row >= rowCount || column < 0 || column >= columnCount) {
    throw RangeError('Tensor coordinate ($row, $column) is out of range.');
  }
  return rowMask[row] & columnMask[column];
}