From ea4892035a9397af9ed3076d88501d0daf413efd Mon Sep 17 00:00:00 2001 From: Val Erastov Date: Thu, 8 Dec 2016 22:49:02 -0800 Subject: [PATCH] square helper --- web/app/math/math.js | 1 + 1 file changed, 1 insertion(+) diff --git a/web/app/math/math.js b/web/app/math/math.js index 4d411bd0..93a52a45 100644 --- a/web/app/math/math.js +++ b/web/app/math/math.js @@ -87,3 +87,4 @@ export function _matrix(m, n) { return out; } +export const sq = (a) => a * a;