1065 Commits

Author SHA1 Message Date
Carl Osterwisch
7de574a556
Unit from Unit (#2628)
* Add option to construct a Unit from a value and
    an existing Unit (that has no value). Updates the
    related mathjs functions, the documentation, and tests.

Co-authored-by: Glen Whitney <glen@studioinfinity.org>
2022-07-26 07:29:31 -07:00
Jos de Jong
1464c2e15d Publish v11.0.1, fix linting issues 2022-07-25 10:02:52 +02:00
Jos de Jong
7a38dc004b Publish v11.0.0 2022-07-23 12:12:56 +02:00
Jos de Jong
4ac31a98a2 Update history 2022-07-22 09:27:31 +02:00
Jos de Jong
340a6f675f Add examples and more description to the breaking changes of v11 (see #2476) 2022-07-20 10:11:18 +02:00
Jos de Jong
d53f30144d Describe all changes for v11 in HISTORY 2022-07-19 13:41:40 +02:00
Jos de Jong
587dc715fc Drop official support for IE11. Update devDependencies to webpack@5, karma-webpack@5 and mocha@10.0.0, and others 2022-07-19 13:00:06 +02:00
Jos de Jong
be646b2382 Update history and authors 2022-07-05 08:49:20 +02:00
Jos de Jong
f9b944acfe Fix #2613: describe matrix methods get and set in the docs and example 2022-07-04 09:51:09 +02:00
Jos de Jong
4f4c07d351 Update HISTORY.md and AUTHORS 2022-07-01 15:39:09 +02:00
Jos de Jong
32a26c9e84 Update history 2022-07-01 13:48:43 +02:00
Jos de Jong
297d2e0c55 Fix: #2608: describe changing epsilon when configuring BigNumber. 2022-06-29 10:39:02 +02:00
Jos de Jong
ead6228939 publish v10.6.4 2022-06-28 09:54:18 +02:00
Jos de Jong
9d757c788e publish v10.6.3 2022-06-24 22:10:14 +02:00
Jos de Jong
4490d6bbaf publish v10.6.2 2022-06-24 11:53:37 +02:00
Jos de Jong
54d9b023c5 chore: update history 2022-06-13 12:21:25 +02:00
Jos de Jong
c2dfb0e028 chore: update devDependencies, publish v10.6.1 2022-05-31 12:07:05 +02:00
Jos de Jong
717dd32679 chore: publish v10.6.0 2022-05-24 17:27:35 +02:00
Jos de Jong
a7310241c4 chore: update history 2022-05-24 10:05:11 +02:00
Jos de Jong
2657a0549f chore: update history 2022-05-24 09:36:31 +02:00
Jos de Jong
7bca15df58 chore: update history 2022-05-24 09:23:12 +02:00
Jos de Jong
bc2669185b chore: update history 2022-05-20 14:18:45 +02:00
Jos de Jong
130365cd02 Fix a typo 2022-05-11 10:15:44 +02:00
Jos de Jong
22bd0c9c38 Publish v10.5.3 2022-05-11 10:15:26 +02:00
Jos de Jong
d278675849 Publish v10.5.2, update history and authors 2022-05-09 10:32:00 +02:00
Jos de Jong
e7473fa4f1 Publish v10.5.1 2022-05-02 08:51:56 +02:00
Jos de Jong
ad847cc008
Fix #2524: ignore specific commits when running update-authors.js (#2543)
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
2022-04-25 10:45:01 -07:00
Jos de Jong
3c49fca7b1
Fix #2532: matrix index symbol end not working when used inside a sub-expression (#2535)
* Fix #2532: matrix index symbol `end` not working when used inside a sub-expression

* Refactor IndexNode.prototype._compile: remove redundant logic

* Throw a runtime exception when the context of an IndexNode is not a Matrix, Array, or string

* Describe the behavior of variable `end` nested indices

* Oopsie, fix linting issues

* Add a unit test to validate that `end` resolves to the inner context in case of nested indices
2022-04-25 18:13:04 +02:00
Jos de Jong
bb963cae79 Update history 2022-04-25 13:13:37 +02:00
Jos de Jong
c96fb1b298 Publish v10.5.0 2022-04-19 14:41:18 +02:00
Jos de Jong
cbeb916c35 Update history 2022-04-14 20:11:10 +02:00
Jos de Jong
ff2f7f089f
test: change mocha reporter to dot (#2520)
Alleviates excessively long log files. Also remove a stray console.log from one of the tests.
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
2022-04-11 20:31:34 -07:00
yifanwww
b3f564f266
feat: Implement lgamma function -- log(gamma(z))) -- for number and Complex (#2417)
Co-authored-by: Jos de Jong <wjosdejong@gmail.com>
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
2022-04-11 20:00:16 -07:00
Jos de Jong
c2183c7943 Update history 2022-04-11 12:23:28 +02:00
HanchaiN
7480c11bf7
feat: implement negative integer exponents for square matrices (#2517)
Resolves #2463

Co-authored-by: Glen Whitney <glen@studioinfinity.org>
2022-04-08 12:15:54 -07:00
Jos de Jong
36e7e46289 Publish v10.4.3 2022-04-08 10:21:03 +02:00
Jos de Jong
29555c04d5 Update history 2022-04-05 17:53:24 +02:00
Jos de Jong
9e2c13ae9f Update history 2022-04-05 09:11:05 +02:00
Jos de Jong
c91d34d634 Update history 2022-04-01 16:25:13 +02:00
Jos de Jong
f89ee9cd83 Publish v10.4.2 2022-03-29 08:58:01 +02:00
Jos de Jong
52d195a0ef Update history 2022-03-28 11:54:15 +02:00
Jos de Jong
16a191b9ee Update history 2022-03-28 11:05:08 +02:00
yifanwww
6562edfb21
feat: Improve approx.deepEqual, to support epsilon (#2504)
fix(approx): Make `approx.deepEqual` respect tolerance argument

  Tests already contained calls of the form 
  `approx.deepEqual(A, B, epsilon)` but the comparison tolerance
  argument epsilon was being silently ignored. This commit fixes
  that oversight and corrects a couple of tests to reflect the finer-
  grained testing.

Co-authored-by: Glen Whitney <glen@studioinfinity.org>
2022-03-27 22:32:59 -07:00
Jos de Jong
936b7411ae Update history 2022-03-25 16:35:58 +01:00
Jos de Jong
487bf55d2f Update history 2022-03-25 16:11:39 +01:00
Jos de Jong
c81700c21c Publish v10.4.1 and update dependencies 2022-03-23 12:08:43 +01:00
Jos de Jong
b7bf3896bb Update history 2022-03-21 15:16:03 +01:00
Chris Chudzicki
99839a8da3
Add TypeScript definitions for src/utils/is.js (#2432)
This is a first step toward full publication of these functions,
that were already being exported by mathjs but had not yet
had the associated actions (documentation/available in 
parser/typed, etc.) Also, makes most of them into TypeScript
type guards, and adds Matrix as a constructor type. Resolved #2431.

Co-authored-by: Glen Whitney <glen@studioinfinity.org>
2022-03-17 16:17:32 -07:00
NattapongSiri
b8d2e81ee7
fix(TypeScript): Make dim argument optional for std and variance (#2474)
Also adds TypeScript test cases for these functions.

Co-authored-by: Jos de Jong <wjosdejong@gmail.com>
2022-03-16 14:01:43 -07:00
Jos de Jong
d2dc87a865 Update history and authors 2022-03-15 17:41:23 +01:00