sjkaliski/numbers.js — pull request #27 by milroc (2012-12-12 09:05:36+00:00)
Title: Code restructuring proposal

A way to restructure the code.

File per complete thought (meaning if you're going to write LU decomposition for matrices, maybe make src/lin/lu.js)

Split up into categories (can grow overtime however first iteration is):

+core: Non
+lin: Linear Algebra
+stats: Stats
+calc: Calculus
+misc: not yet classified additions

numbers.core.prime (for example, or maybe numbers.prime)
numbers.stats
numbers.calc
numbers.misc

There will obviously be some overlap in the code but this structure is roughly based on numpy and d3 code structures.

Please feel free to structure and recommend to your liking.