"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Round = exports.Approx = void 0;
exports.pmod = pmod;
exports.d2 = d2;
exports.rowCount = rowCount;
const tslib_1 = require("tslib");
function pmod(j, n) {
    return ((j % n) + n) % n;
}
function d2(columns, row, column) {
    return row * columns + column;
}
function rowCount(a, columns) {
    return (a.length / columns) | 0;
}
// re-exports
exports.Approx = tslib_1.__importStar(require("./approx"));
exports.Round = tslib_1.__importStar(require("./rounding"));
//# sourceMappingURL=index.js.map