314 Commits

Author SHA1 Message Date
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
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
Eric
4c1f160e10 Mostly done but now everything's broken. 2015-07-30 05:38:18 +00:00
Eric
a4974134a4 Halfway done working on the dimensions array approach for units,
but running into trouble with formatting. May have to change
many things to get it to work.
2015-07-30 03:03:39 +00:00
Eric
f689a00edb Made a few notes 2015-07-29 03:23:51 +00:00
jos
ddb707e9b8 Updated some more docs, examples, history 2015-07-28 09:51:31 +02:00
Ubuntu
f583855261 First attempt at derived units. Updated unit tests and examples. 2015-07-25 18:48:04 +00:00
Ubuntu
9ae8ea36df Just committing so I can checkout master again to revert a few lines. 2015-07-25 03:33:07 +00:00
jos
ec2da034a2 Halfway implementing lazy loading 2015-07-22 20:37:34 +02:00
jos
396d951c95 Halfway implementing lazy loading 2015-07-21 20:49:52 +02:00
jos
8158dafd3d Moved the trigonometric functions in util/bignumber.js into separate files 2015-07-18 20:37:32 +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
5e4ed8c1c7 Splitted the bignumber bitwise functions into separate files 2015-07-18 12:25:11 +02:00
jos
c7651def20 Minor refactoring 2015-07-18 12:01:22 +02:00
jos
493f34ec7b Split collection.js into separate (pure) functions 2015-07-18 11:47:38 +02:00
jos
6c592fa67c Added an example custom_loading.js 2015-07-14 21:13:00 +02:00
jos
d6cc806f9a Created methods Matrix.create for all DenseMatrix and SparseMatrix 2015-07-12 20:33:43 +02:00
jos
658990a49b Moved Range and Index under lib/type/matrix. Renamed the file Index.js to MatrixIndex.js to prevent name conflicts on Windows. Added an index.js file in lib/function 2015-07-12 20:21:27 +02:00
jos
0475924551 Use addScalar instead of add where possible 2015-07-11 16:38:36 +02:00
Max Bruckner
5f8b2559c3 Remove LaTeX of construction functions from util/latex.js 2015-06-14 20:08:19 +02:00
jos
052b6cf4ed Some minor restructuring in the docs. Moved command line debugging to the page command line interface. 2015-06-12 19:40:41 +02:00
jos
e249b17c61 Implemented util function isInteger 2015-06-07 21:16:50 +02:00
jos
55288ffe5a The size of Arrays is no longer validated. Matrices will validate this on creation (still needs to be done for SparseMatrix). 2015-05-31 20:28:46 +02:00
jos
7347591535 Upgraded to fraction.js v2.0.0, added fraction support for pow (integer exponents only) 2015-05-31 12:21:24 +02:00
Rogelio J. Baucells
d927b08945 Merge remote-tracking branch 'origin/v2-Index' into v2-sparse 2015-05-22 15:25:21 -04:00
Rogelio J. Baucells
9b6a9c2298 Range.forEach() and map() API changes
Range.forEach() and map() API change to match Matrix
2015-05-21 13:17:17 -04:00
Rogelio J. Baucells
96a9805ee8 v2-sync 2015-05-21 00:40:10 -04:00
Rogelio J. Baucells
f2a179aa31 Merge branch 'josdejong/v2' into v2-Index
Conflicts:
	lib/core/typed.js
	lib/type/index/prototype/Index.js
2015-05-21 00:38:58 -04:00
Rogelio J. Baucells
fedae8e386 Set removal 2015-05-20 18:16:17 -04:00
Rogelio J. Baucells
7579412f7d Index dimension with immutable matrix 2015-05-20 17:41:03 -04:00
jos
6c7bf4acf0 Removed boolean, string, and null from the list with argument types, only leaving the directly supported types (which types can be converted to supported types is determined externally). Consistently renamed primitive types lower case (boolean, string, number, null) and non-primitive types uppercase (Complex, BigNumber, Function, Array, ...). 2015-05-20 21:08:26 +02:00
jos
d81fe279cc String input is now converted to numbers by default for all functions. Adding two strings will no longer concatenate them, but will convert the
strings to numbers and add them.
2015-05-19 22:18:40 +02:00
jos
e6cbc8a346 Upgraded to fraction.js v1.9.0 2015-05-15 22:20:35 +02:00
rjbaucells
86314047ac Set tests 2015-05-13 21:05:01 -04:00
rjbaucells
6f8fca77cb tests - final 2015-05-13 20:29:43 -04:00
Rogelio J. Baucells
06927131c7 tests - partial 2015-05-13 17:55:52 -04:00
Rogelio J. Baucells
7e5980c812 tests - partial 2015-05-13 17:24:38 -04:00
Rogelio J. Baucells
9fe3395d7f tests - partial 2015-05-13 15:26:15 -04:00
rjbaucells
83e090d015 tests - partial 2015-05-12 22:07:55 -04:00
rjbaucells
e9d4fd9e8b tests - partial 2015-05-12 21:21:57 -04:00
rjbaucells
dce3aeee5b tests - partial 2015-05-12 20:51:43 -04:00
rjbaucells
274913b826 Index - partial 2015-05-12 20:32:10 -04:00
rjbaucells
b23d6ef7d1 Set 2015-05-12 20:01:17 -04:00
jos
4367259254 Implemented toJSON and fromJSON for Fraction 2015-05-12 20:42:52 +02:00
jos
44b2129740 Added Fraction support for abs, gcd, mod. Added a valueOf() method to Fraction 2015-05-12 13:25:05 +02:00