"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Round = exports.Approx = void 0;
exports.pmod = pmod;
exports.d2 = d2;
exports.rowCount = rowCount;
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 = require("./approx");
exports.Round = require("./rounding");
//# sourceMappingURL=index.js.map