@vect/column-zipper
Advanced tools
Comparing version 0.4.9 to 0.4.10
@@ -15,3 +15,3 @@ 'use strict'; | ||
} = this; | ||
hi = hi ?? (ma == null ? void 0 : ma.length), mx = mx ?? matrixInit.draft(hi, y); | ||
hi = hi ?? (ma === null || ma === void 0 ? void 0 : ma.length), mx = mx ?? matrixInit.draft(hi, y); | ||
@@ -30,3 +30,3 @@ for (let i = lo ?? 0; i < hi; i++) mx[i][y] = fn(ma[i][y], mb[i][y], i); | ||
} = this; | ||
hi = hi ?? (ma == null ? void 0 : ma.length), mx = mx ?? matrixInit.draft(hi, y); | ||
hi = hi ?? (ma === null || ma === void 0 ? void 0 : ma.length), mx = mx ?? matrixInit.draft(hi, y); | ||
@@ -45,3 +45,3 @@ for (let i = lo ?? 0; i < hi; i++) mx[i][y] = fn(ma[i][y], mb[i][y], mc[i][y], i); | ||
} = this; | ||
hi = hi ?? (ma == null ? void 0 : ma.length), mx = mx ?? matrixInit.draft(hi, y); | ||
hi = hi ?? (ma === null || ma === void 0 ? void 0 : ma.length), mx = mx ?? matrixInit.draft(hi, y); | ||
@@ -115,3 +115,3 @@ for (let i = lo ?? 0; i < hi; i++) mx[i][y] = fn(ma[i][y], mb[i][y], mc[i][y], md[i][y], i); | ||
function iterzip(ma, mb, y, action, hi) { | ||
hi = hi ?? (ma == null ? void 0 : ma.length); | ||
hi = hi ?? (ma === null || ma === void 0 ? void 0 : ma.length); | ||
@@ -118,0 +118,0 @@ for (let i = 0; i < hi; i++) action(ma[i][y], mb[i][y], i); |
@@ -11,3 +11,3 @@ import { draft } from '@vect/matrix-init'; | ||
} = this; | ||
hi = hi ?? (ma == null ? void 0 : ma.length), mx = mx ?? draft(hi, y); | ||
hi = hi ?? (ma === null || ma === void 0 ? void 0 : ma.length), mx = mx ?? draft(hi, y); | ||
@@ -26,3 +26,3 @@ for (let i = lo ?? 0; i < hi; i++) mx[i][y] = fn(ma[i][y], mb[i][y], i); | ||
} = this; | ||
hi = hi ?? (ma == null ? void 0 : ma.length), mx = mx ?? draft(hi, y); | ||
hi = hi ?? (ma === null || ma === void 0 ? void 0 : ma.length), mx = mx ?? draft(hi, y); | ||
@@ -41,3 +41,3 @@ for (let i = lo ?? 0; i < hi; i++) mx[i][y] = fn(ma[i][y], mb[i][y], mc[i][y], i); | ||
} = this; | ||
hi = hi ?? (ma == null ? void 0 : ma.length), mx = mx ?? draft(hi, y); | ||
hi = hi ?? (ma === null || ma === void 0 ? void 0 : ma.length), mx = mx ?? draft(hi, y); | ||
@@ -111,3 +111,3 @@ for (let i = lo ?? 0; i < hi; i++) mx[i][y] = fn(ma[i][y], mb[i][y], mc[i][y], md[i][y], i); | ||
function iterzip(ma, mb, y, action, hi) { | ||
hi = hi ?? (ma == null ? void 0 : ma.length); | ||
hi = hi ?? (ma === null || ma === void 0 ? void 0 : ma.length); | ||
@@ -114,0 +114,0 @@ for (let i = 0; i < hi; i++) action(ma[i][y], mb[i][y], i); |
{ | ||
"name": "@vect/column-zipper", | ||
"version": "0.4.9", | ||
"version": "0.4.10", | ||
"description": "Zip function", | ||
@@ -18,3 +18,3 @@ "main": "dist/index.cjs.js", | ||
"dependencies": { | ||
"@vect/matrix-init": "^0.4.9" | ||
"@vect/matrix-init": "^0.4.10" | ||
}, | ||
@@ -37,3 +37,3 @@ "repository": { | ||
"homepage": "https://github.com/hoyeungw/vect#readme", | ||
"gitHead": "2b1a6642d2b4dea4f680a501bb29d6534626abe1" | ||
"gitHead": "1d5453c2bafd0c4cb02adaa1db576a139d3e1012" | ||
} |
7578
Updated@vect/matrix-init@^0.4.10