Commit Graph

16 Commits

Author SHA1 Message Date
78ab8d839f Add abnormal case check to clusteredCellsDensity
Returns false if more than one third of the grid is selected, treating it as an abnormal case. Also updates VERSIONINFO to 1.0.4.
2025-08-25 01:39:42 +09:00
8ff12c9883
Update lib/extramath.js
Co-authored-by: qodo-merge-pro[bot] <151058649+qodo-merge-pro[bot]@users.noreply.github.com>
2025-08-20 17:29:44 +09:00
1dd02f7a75
Update lib/extramath.js
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2025-08-20 17:25:51 +09:00
83b022bf6f Refactor grid functions and update exports in extramath.js
Improved clusteredCellsDensity to validate cell indices and refactored coordinate calculation to be 1-based. Replaced tileStartPos with estimateTileStartPosition for more flexible tile positioning, updated exports accordingly, and bumped VERSIONINFO to 1.0.3.
2025-08-20 17:10:58 +09:00
ab869556c4 Add tileStartPos function and update version
Introduced tileStartPos to calculate tile coordinates based on index, size, and columns. Updated VERSIONINFO to 1.0.1 and exported the new function.
2025-08-18 07:20:01 +09:00
717b141cb7 Add clusteredCellsDensity function to extramath.js
Introduces clusteredCellsDensity to evaluate density of selected cells within a grid. Updates module version to 1.0.0 and exports the new function for external use.
2025-08-18 04:16:52 +09:00
f911e34c16 Update license headers, contact email, and fix broken files 2025-06-07 16:57:09 +09:00
9783e55069
Update extramath.js 2024-10-19 23:17:34 +09:00
37b8404f0b Update extramath.js 2022-11-26 01:08:57 +09:00
a35de48d36 Add the email contact to report abuse 2022-11-25 23:11:37 +09:00
58bf6b5ee9
Update extramath.js 2022-11-07 01:36:54 +09:00
25bedaf938
Update extramath.js 2022-11-06 22:05:05 +09:00
2d0829b6e9
Update extramath.js 2022-11-06 22:03:28 +09:00
329f1b1bfe
Update extramath.js 2022-11-06 21:50:22 +09:00
750a4f8f94
Update extramath.js 2022-11-06 21:41:10 +09:00
21f3e7c2e7
Create extramath.js 2022-11-06 21:32:03 +09:00