84 Commits

Author SHA1 Message Date
jos
2630129c72 Fix linting issues 2018-11-20 21:24:59 +01:00
jos
d09a7ff584 Create script to check for non-ascii characters (see #1326) 2018-11-20 21:13:36 +01:00
greenkeeper[bot]
c5971b371a Update standard to the latest version 🚀 (#1226)
* chore(package): update standard to version 12.0.0

* update to new lint version with --fix

I believe this mainly adds whitespace to `{}`'s.

* Replace assert.equal with assert.strictEqual

This breaks a lot of tests which I will endevour to fix in the next
commits.

* Fix most errors due to assert.strictEquals

Some instances of `strictEquals` are replaced by `deepEquals`.
`toString` has been used to make some string comparisions explicit.
Tests will still fail untill #1236 and #1237 are fixed.

* Fix assertion erros due to -0

With node 10, assert.strictEqual no longer considers `0 === -0`.
I missed these first time round as I was using node 8.

* Put toString correct side of bracket

I was converting the constructor to a string rather
than the result of the computation. Oops.

* Fixed #1236: quantileSeq has inconsistant return

* Update package-lock

* Fixed #1237: norm sometimes returning a complex number instead of number

* Fix cli tests

* More changes for standardjs, and fixes in unit tests
2018-09-08 16:33:58 +02:00
jos
88263c47c7 Woohoo fixed the last lint errors 2018-06-13 21:51:09 +02:00
jos
e844004cbf Removed redundant escape characters 2018-06-13 21:15:10 +02:00
jos
f1ce473457 Consistend camel case naming of variables and functions 2018-06-13 16:09:51 +02:00
jos
b1777e3cf9 Fixed mixing || and && in expressions 2018-06-13 15:38:57 +02:00
jos
1f0a37a0cb Split initialized 'const' declarations into multiple statements 2018-06-13 15:31:37 +02:00
jos
b6b36bfd9b Use strict equality checks everywhere (=== and !==) 2018-06-13 15:02:21 +02:00
jos
17f07ec098 Fixed incompatibility with v4 (index.js file) 2018-06-13 14:02:50 +02:00
jos
6d340e0faa Fixed import.js not being documented correctly in the function reference 2018-06-13 13:34:27 +02:00
jos
b3b96749bf Refactored var into const/let, and removed a lot of semicolons 2018-06-13 12:21:14 +02:00
jos
024b2a9e26 Fix most lint errors using npx standard --fix 2018-06-10 20:28:27 +02:00
jos
0c084b8e20 npm test working now 2018-06-06 15:36:36 +02:00
jos
f87ec1c6db Setup Babel compilation (WIP) 2018-06-06 14:31:33 +02:00
jos
6308e5b7fc Added missing embedded docs 2018-05-02 09:51:08 +02:00
jos
7f6f997fa3 Merge branch 'develop' into v4 2018-02-25 14:00:41 +01:00
jos
8eb8aba6ce Fixed truncation of multi-line descriptions of @return too (see #1040) 2018-02-21 14:34:52 +01:00
jos
3059e1b94f Fixed truncation of some docs when generating markdown (see #1040) 2018-02-21 13:22:08 +01:00
jos
c9fcfc6b96 Publish release candidate v4.0.0-rc.1 2018-02-04 15:13:44 +01:00
jos
2744755ab4 Upgraded dependencies to the latest versions 2017-06-05 12:02:31 +02:00
jos
ee6efa3768 Only allow accessing/assigning properties on plain objects. Only allow calling known methods. 2017-04-08 15:32:10 +02:00
jos
e0095229ac Handle functions without examples correctly in docgenerator 2016-08-15 21:17:57 +02:00
jos
cd9214727d Released version 3.4.1 2016-08-08 20:22:15 +02:00
jos
bbfa7d51df Fixed #484, #555: inaccuracy of math.sinh. Also using ES6 Math functions when available 2016-04-03 13:47:57 +02:00
jos
d9cc810689 Put the comment on automatically generated docs on top of the files 2016-03-19 09:44:24 +01:00
jos
2ef9bf5878 Fixed the links on the functions reference page 2016-03-04 13:45:22 +01:00
jos
e2a3878ba9 Moved functions format and print to section string 2016-03-03 20:17:41 +01:00
jos
6a94e1a0de Improved function reference page (see #556):
- changed headers to "Category functions"
 - show function name with namespace, like `math.sin`
 - functions are now shown in a table with description
2016-03-03 20:08:57 +01:00
jos
10bc7be287 Fixed escaping of html tags in function parameter types 2016-03-01 21:01:29 +01:00
jos
344f681a9f Order function categories in a particular order 2016-02-27 21:01:53 +01:00
jos
2898fd09eb Fixed broken filter for construction functions 2016-02-27 20:52:29 +01:00
jos
0922121e82 Added core functions config, import, and typed to the docs. Updated other docs 2016-02-27 20:37:26 +01:00
jos
481e8da2b5 Removed alphabetical function list, moved categorical list to root of docs. 2016-02-27 14:27:19 +01:00
jos
22300be63b Updated docgenerator to ignore function distribution 2015-11-20 20:13:33 +01:00
jos
507c0119e5 Fixed: added functions math.sparse and math.index to the reference docs, they where missing. 2015-10-28 21:12:25 +01:00
jos
154577d1be Updated docs, examples, history 2015-07-27 21:26:50 +02:00
jos
d2e8ec06f2 Fixed docgenerator for v2. Updated docs. 2015-06-10 20:50:29 +02:00
Rogelio J. Baucells
737d476970 slu() and lusolve() 2015-05-08 15:45:03 -04:00
rjbaucells
e3cee480ec Merge remote-tracking branch 'origin/v2-test' into v2-sparse 2015-05-07 23:53:13 -04:00
jos
7e3eda8603 Moved all data types and their construction functions into a folder of their own under ./lib/type 2015-05-05 13:51:24 +02:00
rjbaucells
b2067268be Merge remote-tracking branch 'origin/sparse-arithmetic-tmp' into v2-sparse
Conflicts:
	lib/type/matrix/SparseMatrix.js
2015-05-04 11:26:18 -04:00
Rogelio J. Baucells
8047a4853f multiply() - poc 2015-04-28 12:07:02 -04:00
rjbaucells
b17e528b85 cs sparse updates 2015-04-26 09:51:12 -04:00
Rogelio J. Baucells
748fe0d0fb CcsMatrix refactoring 2015-04-24 11:13:17 -04:00
rjbaucells
a2d2e24e76 multiply() refactoring 2015-04-22 19:46:35 -04:00
jos
8edf472478 Upgraded to typed-function v0.6.1, more functions refactored. 2015-02-07 20:29:32 +01:00
jos
19c2024524 Halfway reworking more functions (lot of stuff is broken at this point) 2015-01-17 21:09:39 +01:00
jos
6cefd52557 Refactored the first few functions into typed-functions 2015-01-11 15:29:40 +01:00
jos
12bc095d2a Bumped version number to v1.2.1-SNAPSHOT 2014-12-25 20:26:35 +01:00