scale method

void scale(
  1. double factor
)

Implementation

void scale(double factor) {
  for (int i = 0; i < nRows; ++i) {
    Float32x4List currentRow = rowsData[i];
    for (int j = 0; j < currentRow.length; ++j) {
      currentRow[j] = currentRow[j].scale(factor);
    }
  }
}