1280 Commits

Author SHA1 Message Date
jos
33370bfe73 Fied #265: added support for unicode characters in the expression parser: greek letters and latin letters with accents 2015-08-10 21:04:49 +02:00
Jos de Jong
af0b0960c0 Merge pull request #425 from ericman314/unit-parse-parentheses
Added support for parentheses to Unit.parse
2015-08-09 23:12:09 +02:00
jos
9215622642 Removed constant definition of atm (duplicate with the atm unit) 2015-08-09 23:10:32 +02:00
Eric
0964c3b627 Fixed tabs 2015-08-09 21:01:40 +00:00
Eric
34442d3828 Added unit test for toJSON -> fromJSON 2015-08-09 20:58:26 +00:00
jos
b67004dce9 Implemented physical constants like gravity, speedOfLight, etc 2015-08-09 22:50:58 +02:00
Eric
37870fcc0d Added support for parentheses to Unit.parse 2015-08-09 20:42:05 +00:00
jos
067a628bc3 Changed Unit.parse such that implicit multiplication has the same precedence as division 2015-08-09 15:27:56 +02:00
Eric
96aca3a7bb _bestPrefix now chooses shortest prefix when prefix values are the same 2015-08-07 13:17:23 +00:00
Eric
23044e29ca Updated more docs
Fixed tabs
2015-08-06 13:47:01 +00:00
Eric
4f6cc1254b Updated docs and examples 2015-08-06 13:34:12 +00:00
Eric
dfbc575bc1 Added electrical units and unit tests 2015-08-06 12:50:48 +00:00
jos
a94f0c6c5e Merge branch 'feature-derived-units' of https://github.com/ericman314/mathjs into ericman314-feature-derived-units
Conflicts:
	examples/units.js
2015-08-05 21:04:53 +02:00
Jos de Jong
b11277163d Merge pull request #417 from kv-kunalvyas/master
Added Mode Function
2015-08-05 21:00:26 +02:00
Kunal Vyas
ea2f1343c7 Added Mode Function
- Added the function in mode.js
- wrote the test cases.
2015-08-04 02:32:21 -04:00
Eric
f5d166a809 Made an attempt at derived units with simplification
Updated unit tests
Updated examples
Updated docs
2015-08-04 05:26:00 +00:00
Eric
0a1c8446a5 Added a few more unit tests 2015-08-01 20:58:08 +00:00
Eric
7ce39f1084 Finished upgrades to unit type. Adjusted several unit tests. 2015-08-01 18:35:46 +00:00
Sergey Romanov
5360549b1f Add additional test 2015-08-01 17:26:05 +05:00
Sergey Romanov
a05cb67f8f check concrete results 2015-08-01 17:22:31 +05:00
Sergey Romanov
e99d7c1a7f Add test for bignumber 2015-08-01 17:18:35 +05:00
Sergey Romanov
87afd45d7f kldivergence.test.js instead entropy.js 2015-07-31 02:35:04 +05:00
Sergey Romanov
27fc2f5b5f remove entropy files 2015-07-31 02:33:14 +05:00
jos
a39d726a18 Merged algebraic_differentiation, fixed issues with function transforms attached to factory functions 2015-07-29 21:24:34 +02:00
jos
a388f399ca Merge branch 'algebraic_differentiation' of https://github.com/BigFav/mathjs into algebraic_differentiation
Conflicts:
	lib/core/typed.js
2015-07-29 20:57:50 +02:00
Sergey Romanov
ec3b2e10fe Add Kullback-Leibler divergence 2015-07-29 03:04:01 +05:00
jos
d15751b041 Fixed operations with mixed fractions and numbers be converted to numbers instead of fractions. 2015-07-28 20:48:55 +02:00
Ubuntu
f583855261 First attempt at derived units. Updated unit tests and examples. 2015-07-25 18:48:04 +00:00
Favian Contreras
98040be7e1 Shortened up some of the more verbose test cases for which simplifications are possible. Used config.number on ConstantNodes that I missed on my original commits. 2015-07-25 07:29:17 -07:00
jos
a3a09927a9 Reimplemented support for transform property on an imported function 2015-07-22 21:23:23 +02:00
jos
ec2da034a2 Halfway implementing lazy loading 2015-07-22 20:37:34 +02:00
jos
2810c18178 Merge branch 'develop' into feature_lazyloading 2015-07-21 21:06:49 +02:00
jos
34348d8483 Merge remote-tracking branch 'origin/v2' into develop 2015-07-21 20:51:39 +02:00
Ganga Christopher
12514a7bc4 calculating root of complex numbers using De Moviers, returns array of n complex roots in polar form 2015-07-21 17:10:49 -07:00
jos
396d951c95 Halfway implementing lazy loading 2015-07-21 20:49:52 +02:00
Favian Contreras
6fbe2238cd Added a test case for nthRoot where the root is variable. Now handles a variable base log, and added a test case. Adjusted the chain rule to be after the switch statement (saves ~1640 bytes and is more modular). 2015-07-21 04:34:06 -07:00
jos
bc5d2fe9e4 Added example on how to fallback from fraction to bignumber. Reorganized index.js a bit. 2015-07-18 22:39:44 +02:00
jos
8158dafd3d Moved the trigonometric functions in util/bignumber.js into separate files 2015-07-18 20:37:32 +02:00
jos
14b41b202e Reworked the BigNumber constants (pi, tau, e, phi) to be created by passing a BigNumber constuctor instead of a precision 2015-07-18 17:20:22 +02:00
jos
9d5799f5ca Extended memoize with support for a custom hasher. 2015-07-18 13:41:06 +02:00
jos
2353c4a61e Renamed folders util to utils 2015-07-18 13:22:38 +02:00
jos
57a47b3b5a Moved pure collection functions to lib/util/collection 2015-07-18 12:53:07 +02:00
jos
7615513a14 Moved the BigNumber format functions into separate files 2015-07-18 12:49:53 +02:00
jos
493f34ec7b Split collection.js into separate (pure) functions 2015-07-18 11:47:38 +02:00
jos
2d42218c7f Removed isPositiveInteger from util/bignumber.js. Added some unit tests 2015-07-18 11:07:41 +02:00
jos
f19cfb4394 Reintroduced node.eval(scope). Updated some docs and examples 2015-07-18 10:21:48 +02:00
jos
c1a279c293 Added unit test for math.clone(Fraction) 2015-07-18 09:56:04 +02:00
jos
d6cc806f9a Created methods Matrix.create for all DenseMatrix and SparseMatrix 2015-07-12 20:33:43 +02:00
jos
936386c96c Fixed #405: Parser throws error when defining a function in a multiline expression 2015-07-11 20:21:49 +02:00
jos
91b56e117a Added support for strings in function concat 2015-06-17 20:26:44 +02:00