scaleRows(min, max) {
                min = min === undefined ? 0 : min;
                max = max === undefined ? 1 : max;
                if (min >= max) {
                    throw new RangeError('min should be strictly smaller than max');
                }
                var newMatrix = this.constructor.empty(this.rows, this.columns);
                for (var i = 0; i < this.rows; i++) {
                    var scaled = arrayUtils.scale(this.getRow(i), {min, max});
                    newMatrix.setRow(i, scaled);
                }
                return newMatrix;
            }
Returns a row-by-row scaled matrix
@param {number} [min=0] - Minimum scaled value
@param {number} [max=1] - Maximum scaled value
@return {Matrix} - The scaled matrix