87 Commits

Author SHA1 Message Date
jos
05e6cfec7f Doc generation working again. Renamed variance and evaluate occurrences in the docs. 2019-01-09 11:21:43 +01:00
jos
5dd0a9ba9c Get bundle working (with lazy loading) 2019-01-02 10:03:05 +01:00
Harry Sarson
74ff86fd4b Store uncompressed matricies and drop dev dep on tar and on q. (#1316)
git handles compression for us so compressing the matricies we use to test
is unnessessary. Additionally, handling the compression made the
code significantly more complex and required pulling in extra packages
from npm.

This commit updates the matrix market code to use uncompressed files.
I have also replaced use of the promise libary 'q' with built in
promises.
2018-11-10 11:40:28 +01:00
jos
4a529dc94a Fixed tests in test-node 2018-11-07 14:07:30 +01:00
jos
2fd6cbd568 Converted matrix classes. Fixes in dependency resolving/ordering. 2018-11-07 12:38:00 +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