4118 Commits

Author SHA1 Message Date
greenkeeper[bot]
429276a3bf Update handlebars to the latest version 🚀 (#1609)
* chore(package): update handlebars to version 4.2.0

* chore(package): update lockfile package-lock.json
2019-09-04 17:06:49 +02:00
jos
33f4ffcb2c Publish v6.2.1 v6.2.1 2019-08-31 09:59:49 +02:00
Waseem Yusuf
430a00f7b2 Refactor combinations.js to be more readable (#1607) 2019-08-31 09:54:56 +02:00
jos
e37cc81735 Fixed #1606: function format not working for expressions 2019-08-29 10:17:57 +02:00
greenkeeper[bot]
eaf532d60e Update standard to the latest version 🚀 (#1608)
* chore(package): update standard to version 14.1.0

* chore(package): update lockfile package-lock.json
2019-08-29 10:06:15 +02:00
jos
ce6f29788c Publish v6.2.0 v6.2.0 2019-08-28 16:07:35 +02:00
jos
718b93b2b4 Create unit aliases bit and byte 2019-08-28 15:41:39 +02:00
jos
f831408586 Update history 2019-08-28 15:11:12 +02:00
Waseem Yusuf
c0e87c4b71 Make combinationsWithRep.js more efficient (#1602)
* Implemented the `multicombinations` function

* Write unit tests for `multicombinations` function

* Integrate the `multicombinations` function throughout codebase

1. Include multicombinations factory function in factoriesAny.js and factoriesNumber.js
2. Write embedded docs for multicombinations
3. Added latex support
4. Refer to multicombinations in the "see also"-section of related functions

* Change name from `multichoose` to `combinationsWithRep`

* Update combinationsWithRep.js

Instead of always cancelling `n-1 factorial` from the denominator and ignoring `k factorial`, added a conditional to cancel the the larger of the two, therefore further reducing redundant calculations.

* Revert "Update combinationsWithRep.js"

This reverts commit efef6d3bd4c381aa12f00869a7624a622268805c.

* Update combinationsWithRep.js

Instead of always cancelling `n-1 factorial` from the denominator and ignoring `k factorial`, added a conditional to cancel the the larger of the two, therefore further reducing redundant calculations.

* Add one more test for the case: k > n-1

* Refactor single for-loop into two separate ones
2019-08-28 15:10:24 +02:00
greenkeeper[bot]
84dc8a3451 Update karma to the latest version 🚀 (#1605)
* chore(package): update karma to version 4.3.0

* chore(package): update lockfile package-lock.json
2019-08-28 10:55:11 +02:00
greenkeeper[bot]
e0b867c76c Update webpack to the latest version 🚀 (#1604)
* chore(package): update webpack to version 4.39.3

* chore(package): update lockfile package-lock.json
2019-08-28 10:39:23 +02:00
jos
fa9c4aeac4 Updated dependency typed-function@1.1.1 2019-08-24 17:29:43 +02:00
jos
96b660f84b Update history (see #1598) 2019-08-24 17:28:04 +02:00
greenkeeper[bot]
4e8b614a4b Update del to the latest version 🚀 (#1601)
* chore(package): update del to version 5.1.0

* chore(package): update lockfile package-lock.json
2019-08-23 18:16:23 +01:00
greenkeeper[bot]
8d03d4beda Update standard to the latest version 🚀 (#1600)
* chore(package): update standard to version 14.0.2

* chore(package): update lockfile package-lock.json
2019-08-23 09:13:08 +01:00
greenkeeper[bot]
5a9c5a35b1 Update standard to the latest version 🚀 (#1599)
* chore(package): update standard to version 14.0.1

* chore(package): update lockfile package-lock.json
2019-08-22 23:30:33 +01:00
Harry Sarson
4cfef3ac34 fix no-case-declarations lint 2019-08-21 10:09:10 +01:00
Harry Sarson
e0adfb3e37 Ignore use of template literals in normal strings for latex
Mathjs latex uses same syntax as template literals, thus we need to
ignore some otherwise helpful rules that look for template literal
syntax in normal strings.
2019-08-21 10:09:10 +01:00
Harry Sarson
b6a42c032d run standard --fix 2019-08-21 10:09:10 +01:00
greenkeeper[bot]
35690085b9 chore(package): update lockfile package-lock.json 2019-08-21 10:09:10 +01:00
greenkeeper[bot]
5b133d2e10 chore(package): update standard to version 14.0.0 2019-08-21 10:09:10 +01:00
jos
630411eedf Merge remote-tracking branch 'origin/develop' into develop v6.1.0 2019-08-17 21:58:52 +02:00
jos
c17464d592 Publish v6.1.0 2019-08-17 21:58:35 +02:00
Harry Sarson
2c3c8529c7 Only one job for browser tests on travis (#1594)
* only one job for browser tests on travis

Only run local tests in pull requests and only run browser tests
when running in a branch.
Should speed up ci runs slightly.

* let travis do default caching

See: https://docs.travis-ci.com/user/languages/javascript-with-nodejs/#caching-with-npm

* do not do anything fancy with git

Simpler config is better provided it does not slow down ci.

* Revert "do not do anything fancy with git" - to time ci

This reverts commit 543dc3a6ed52004b22f41d0a999819dfa24742e8.

* Revert "Revert "do not do anything fancy with git" - to time ci" -
enough of this hokie cokie

This reverts commit 718c3514ea2413bc2cd9d29a26b20e658f852ae2.
2019-08-17 17:44:50 +02:00
jos
5362108fc8 Updated history and contributors list 2019-08-15 11:39:01 +02:00
Waseem Yusuf
4cee37232f Added a combinationsWithRep function to calculate combinations with repitition (#1588)
* Implemented the `multicombinations` function

* Write unit tests for `multicombinations` function

* Integrate the `multicombinations` function throughout codebase

1. Include multicombinations factory function in factoriesAny.js and factoriesNumber.js
2. Write embedded docs for multicombinations
3. Added latex support
4. Refer to multicombinations in the "see also"-section of related functions

* Change name from `multichoose` to `combinationsWithRep`
2019-08-15 11:35:51 +02:00
greenkeeper[bot]
7780eac596 Update webpack to the latest version 🚀 (#1591)
* chore(package): update webpack to version 4.39.2

* chore(package): update lockfile package-lock.json
2019-08-13 22:13:40 +02:00
greenkeeper[bot]
fd707390d6 Update karma-firefox-launcher to the latest version 🚀 (#1590)
* chore(package): update karma-firefox-launcher to version 1.2.0

* chore(package): update lockfile package-lock.json
2019-08-10 12:31:09 +02:00
jos
e628320aaa Fix cleaning up *.generated.js files before build 2019-08-05 22:42:47 +02:00
jos
db870f0a59 Argh! Add // eslint-disable-line again v6.0.4 2019-08-05 22:22:06 +02:00
jos
158673bbd5 Remove // eslint-disable-line again 2019-08-05 22:16:23 +02:00
jos
202cecc39a Fix generated files not compiled into ./es folder 2019-08-05 22:08:57 +02:00
jos
e2011e7086 Fix es-lint warning on travis-ci (second try) 2019-08-05 21:45:13 +02:00
jos
1c9434183f Fix es-lint warning on travis-ci 2019-08-05 21:35:45 +02:00
jos
294515f600 Publish v6.0.4 2019-08-05 21:28:48 +02:00
jos
38bf350d43 Update devDependencies 2019-08-05 21:25:23 +02:00
jos
caf328e39a Merge remote-tracking branch 'origin/develop' into develop 2019-08-05 21:21:16 +02:00
jos
9991449ce0 Generate ESModules transpiled to ES5 2019-08-05 21:19:00 +02:00
greenkeeper[bot]
677f09407e Update webpack to the latest version 🚀 (#1584)
* chore(package): update webpack to version 4.39.0

* chore(package): update lockfile package-lock.json
2019-08-01 18:44:50 +01:00
0xflotus
71a02f3164 fixed vulnerabilities (#1583) 2019-07-31 19:27:02 +02:00
Harry Sarson
d59395d8a3 Greenkeeper/webpack 4.38.0 (#1582)
* chore(package): update webpack to version 4.38.0

Closes #1580

* chore(package): update lockfile package-lock.json
2019-07-28 11:35:08 +02:00
greenkeeper[bot]
2ca0937b29 Update standard to the latest version 🚀 (#1579)
* chore(package): update standard to version 13.1.0

* chore(package): update lockfile package-lock.json
2019-07-21 09:22:29 +02:00
jos
021485922a Fix broken unit test 2019-07-20 14:14:33 +02:00
jos
d8a4f3a00a Update to standard@13.0.2 2019-07-20 13:46:31 +02:00
Harry Sarson
01ad85fdef Greenkeeper/monorepo.babel7 20190717234334 (#1576)
* chore(package): update @babel/core to version 7.5.5

Closes #1575

* chore(package): update @babel/preset-env to version 7.5.5

Closes #1575

* chore(package): update @babel/register to version 7.5.5

Closes #1575

* chore(package): update lockfile package-lock.json
2019-07-20 10:36:55 +02:00
greenkeeper[bot]
1c959f6226 Update mocha to the latest version 🚀 (#1577)
* chore(package): update mocha to version 6.2.0

* chore(package): update lockfile package-lock.json
2019-07-19 16:27:34 +02:00
Harry Sarson
6bb6069d36
Greenkeeper/webpack 4.36.1 (#1574)
* chore(package): update webpack to version 4.36.1

Closes #1573

* chore(package): update lockfile package-lock.json
2019-07-18 01:17:49 +02:00
greenkeeper[bot]
b68b46a9cf Update karma to the latest version 🚀 (#1570)
* chore(package): update karma to version 4.2.0

* chore(package): update lockfile package-lock.json
2019-07-13 11:10:41 +02:00
jos
20b70c44cd Merge remote-tracking branch 'origin/develop' into develop 2019-07-10 12:21:12 +02:00
jos
c74a736ff9 Create an example showing how to override relational functions, see #1557 2019-07-10 12:20:50 +02:00