jos
046173c531
Converted all arithmetic functions
2018-11-06 13:13:52 +01:00
jos
f6b524a966
Use object destructuring in factory function callback. Rename typeof to typeOf. Only pass dependencies in scope to factory function.
2018-11-06 09:17:21 +01:00
jos
51960aafe0
Change the structure of a factory function from an function to an object with meta data
2018-11-05 10:25:32 +01:00
jos
7d2c87be04
Move plain functions under ./src/plain
2018-10-31 11:37:02 +01:00
jos
3019b4a526
Merge branch 'develop' into modular_architecture
2018-10-20 18:25:43 +02:00
jos
a715786690
Release v5.2.0
2018-10-05 21:25:21 +02:00
jos
c13466bd0a
Merge branch 'develop' into modular_architecture
2018-09-21 20:11:47 +02: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
5610c72e84
Experiment with different dependency injection (WIP)
2018-07-28 22:21:33 +02:00
jos
3ee6201981
Fixed advanced example add_new_datatypes, upgraded dependencies
2018-07-04 12:26:38 +02:00
jos
41febe2bc1
Fixed #1136 : rocket trajectory example broken
2018-07-04 10:10:28 +02:00
jos
8b5eb89a02
Minor tweaks in the docs
2018-06-16 14:57:28 +02:00
jos
dff0a57219
Some fixes in examples
2018-06-16 14:32:47 +02:00
jos
88263c47c7
Woohoo fixed the last lint errors
2018-06-13 21:51:09 +02:00
jos
b0ec2d4739
Fixed undefined variables/globals
2018-06-13 18:09:19 +02:00
jos
0583771e4e
Cleanup unused variables and imports
2018-06-13 17:25:51 +02:00
jos
b6b36bfd9b
Use strict equality checks everywhere (=== and !==)
2018-06-13 15:02:21 +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
cf5c1c1af8
Fixes #1054 : renamed eye to identity
2018-06-06 10:52:08 +02:00
jos
52e4a53e75
Change the plot example to actually use mathjs :D (see #1074 )
2018-04-02 11:38:44 +02:00
Harry Sarson
26fdd7099e
Uses unpkg.com instead of wzrd for cdn.
...
https://wzrd.in is down and so example breaks.
This commit uses unpkg instead which should be more reliable.
2018-03-26 22:34:13 +01:00
jos
a7751f72a5
Update/fix examples where needed
2018-02-04 15:05:00 +01:00
jos
99ab11b234
Dropped constant uninitialized
2018-02-04 13:09:09 +01:00
jos
4fc0c4bb7b
Updated docs of simplify, extended algebra examples
2017-08-06 12:56:20 +02:00
jos
e7766e4468
Replaced examples resulting in round-off errors to prevent confusion (see #910 )
2017-08-02 20:02:51 +02:00
jos
c68bb116a2
Fixed indentation in example
2017-06-30 14:42:08 +02:00
Jos de Jong
9c50d38503
Merge branch 'develop' into toHTML
2017-06-06 20:11:20 +02:00
Jos de Jong
777b347178
Merge pull request #852 from gulfaraz/complex_comparision
...
support to compare complex numbers #837
2017-06-05 17:01:39 +02:00
Gulfaraz Yasin
7446181081
clean up
2017-06-05 17:20:28 +05:30
Nekomajin42
eb8ce32345
create HTML output example page
2017-06-01 16:03:48 +02:00
Gulfaraz Yasin
4e324ee502
reduced the examples of comparision operations
2017-05-14 13:31:04 +05:30
jos
be913efa29
Added docs and example on making the expression parser less vulnerable
2017-05-12 12:15:46 +02:00
Gulfaraz Yasin
275b09dce8
support to compare complex numbers #837
2017-05-10 19:05:49 +05:30
jos
088c612cd6
Released v3.12.2
2017-04-30 14:02:25 +02:00
jos
f39a4073db
https url instead of http
2017-02-03 20:17:22 +01:00
jos
ff96ab812d
Created a currency conversion example (see #787 )
2017-02-03 20:11:38 +01:00
jos
20f3af05b3
Fixed markdown urls, updated an example
2017-01-23 21:56:14 +01:00
jos
064cb7a34b
Updated project description
2017-01-23 21:03:06 +01:00
jos
f4b7855a84
Docs, examples, some fixes
2017-01-22 15:30:18 +01:00
Max Bruckner
c57964003d
pretty printing example: expose implicit multiplication options
2016-03-19 19:37:56 +01:00
jos
633445c077
Explain that the examples loads math.js in node.js (see #613 )
2016-03-18 21:41:40 +01:00
jos
15aca5e4d0
Changed casing of the values of config options number and matrix to match the actual name of the classes.
2016-03-04 19:41:54 +01:00
jos
e2a3878ba9
Moved functions format and print to section string
2016-03-03 20:17:41 +01:00
jos
4ea2542941
Extended math.fraction with support for BigNumber, extended math.bignumber with support for Fraction
2016-03-03 19:24:24 +01:00
jos
94986762fb
Merge branch 'develop' into feature/objectsupport
...
Conflicts:
HISTORY.md
2016-02-24 08:58:01 +01:00
Robert Eisele
fcfd43a218
Added complex.js
2016-01-29 01:56:06 +01:00
jos
ace46111a4
Format result
2016-01-05 08:55:57 +01:00
jos
99552744f6
Added docs and an example on objects
2016-01-03 19:47:41 +01:00
jos
926caae19f
Updated plot example
2015-11-28 21:58:43 +01:00