jos
|
02d4d1d819
|
Fixed #221: Parameter index in the callbacks of map and forEach are now cloned for every callback
|
2014-10-13 21:53:55 +02:00 |
|
jos
|
f1313d8be7
|
Implemented a function filter(x, test)
|
2014-09-04 20:52:51 +02:00 |
|
jos
|
8f9995cd37
|
Changed default value of the option wrap of function math.import to false, and fixed a but in math.import
|
2014-08-16 17:56:13 +02:00 |
|
jos
|
41663147e6
|
Implemented function sort
|
2014-08-14 22:24:15 +02:00 |
|
jos
|
da306e26ed
|
Implemented support for null in all functions (see #205)
|
2014-08-09 16:27:11 +02:00 |
|
jos
|
8a12c8e9bc
|
Fixed #200: A new instanceof of math.js must now be created as math.create([options]) instead of math([options])
|
2014-08-03 21:42:12 +02:00 |
|
jos
|
4645529f40
|
Removed function ifElse
|
2014-06-30 14:52:54 +02:00 |
|
jos
|
7d84e4daf0
|
Math.js now immediately returns a default instance of mathjs, no need to create an instance every time you want to use the library.
|
2014-06-20 23:11:14 +02:00 |
|
jos
|
082265a184
|
Changed the default number of significant digits for BigNumbers from 20 to 64.
|
2014-06-11 21:56:58 +02:00 |
|
jos
|
aa80ae8fc8
|
Fixed #190: imported, wrapped functions not accepting null and undefined as function arguments.
|
2014-06-11 20:21:41 +02:00 |
|
jos
|
45982fbba0
|
Removed array/matrix support from function ifElse
|
2014-06-08 21:22:57 +02:00 |
|
josdejong
|
97cbb0093f
|
Moved errors to their own namespace and folder
|
2014-04-11 18:02:29 +02:00 |
|
josdejong
|
492d7f4c4f
|
Moved ArgumentsError from lib/type/ to lib/util/
|
2014-04-06 21:25:46 +02:00 |
|
josdejong
|
45550e5ffb
|
Changed configuration option decimals to precision
|
2014-04-06 11:14:01 +02:00 |
|
josdejong
|
d19e7ea570
|
Switched to module decimal.js for BigNumber support, instead of bignumber.js.
|
2014-04-04 21:08:33 +02:00 |
|
josdejong
|
721f21574e
|
Some more unit tests
|
2014-04-03 22:23:35 +02:00 |
|
josdejong
|
c74afb7dcb
|
Improved function ifElse
|
2014-03-31 21:24:46 +02:00 |
|
josdejong
|
24b1e1c854
|
More unit tests added
|
2014-03-23 21:36:36 +01:00 |
|
josdejong
|
f1ea498927
|
Added some more unit tests
|
2014-03-15 15:27:05 +01:00 |
|
Matt Traynham
|
7d26235842
|
Adds support for IfElse ternary operation functions. These can be used in the compiler as well. Much easier than adding basic parse support for ternary operands '?' & ':'.
|
2014-03-11 20:07:02 -04:00 |
|
josdejong
|
279809fd79
|
Ranges and indexes can now handle big numbers by downgrading to numbers
|
2013-11-27 14:16:46 +01:00 |
|
josdejong
|
b3812362fd
|
Implemented bignumber downgrading for all not-supported functions
|
2013-11-23 14:14:44 +01:00 |
|
josdejong
|
3f11056330
|
Implemented BigNumber support for math.format.
|
2013-11-16 19:27:18 +01:00 |
|
josdejong
|
52337e4b94
|
Integrating the bignumber.js library in math.js. This is awesome!
|
2013-11-16 14:34:35 +01:00 |
|
josdejong
|
569f9ec113
|
Fixed indentation
|
2013-10-31 20:21:05 +01:00 |
|
josdejong
|
9485cb2459
|
Simplified/improved typeof function
|
2013-10-31 11:52:03 +01:00 |
|
josdejong
|
d2e55a0132
|
Math.js must be instantiated now, static calls are no longer supported
|
2013-10-26 15:00:06 +02:00 |
|
josdejong
|
04c41fb42e
|
Implemented advanced options in format to customize precision, scientific/fixed/auto notation (see #100).
|
2013-10-24 15:12:04 +02:00 |
|
josdejong
|
432d3e0574
|
Fixed a bug in formatting numbers with a limited precision. Added more unit tests.
|
2013-10-21 11:18:59 +02:00 |
|
josdejong
|
c8a289a08c
|
Removed unnecessary .js suffix in module require statements
|
2013-10-20 14:01:31 +02:00 |
|
josdejong
|
f42f5698cb
|
Removed global option options.format.precision. When formatted, numbers are no longer rounded to 5 digits by default.
|
2013-10-20 13:40:28 +02:00 |
|
josdejong
|
e61d2f965b
|
Fixes in the new function math.format(precision). Updated docs and tests.
|
2013-10-19 21:44:54 +02:00 |
|
josdejong
|
a4bda611df
|
Implemented function print (splitted from function format)
|
2013-10-19 18:10:50 +02:00 |
|
josdejong
|
f752c28081
|
Removed functions get and set of Selector, they are a duplicate of subset
|
2013-08-31 20:36:46 +02:00 |
|
josdejong
|
f3d80044e2
|
Neatly separated unit tests for parse, eval, parser from each other
|
2013-08-31 13:45:57 +02:00 |
|
josdejong
|
6273ad998f
|
Removed usage of math.eval from function unit tests
|
2013-08-31 10:53:14 +02:00 |
|
josdejong
|
eadb884af9
|
Moved around code and namespaces in order to separate expression parser related code.
|
2013-08-31 09:37:14 +02:00 |
|
Sebastien Piquemal
|
c10e87c1f6
|
math.map should return a matrix when input is a matrix
|
2013-08-30 13:23:31 +04:00 |
|
Sebastien Piquemal
|
53da1468dc
|
added math.forEach + tests
|
2013-08-30 13:16:59 +04:00 |
|
Sebastien Piquemal
|
bf005f41a2
|
added tests for map and forEach
|
2013-08-30 13:05:04 +04:00 |
|
Sebastien Piquemal
|
fe2c2b59d2
|
added math.map function see #68
|
2013-08-28 18:34:15 +04:00 |
|
josdejong
|
40355a0dc2
|
Fixed outdated readme and fixed broken unit test
|
2013-08-22 21:35:54 +02:00 |
|
josdejong
|
5a007ef57d
|
Docs, examples, readme updated
|
2013-08-22 20:59:36 +02:00 |
|
josdejong
|
7f58398053
|
Completed missing descriptions in tests
|
2013-08-19 21:07:45 +02:00 |
|
josdejong
|
3341cd387a
|
Fixed failing unit tests
|
2013-08-19 12:54:36 +02:00 |
|
Sebastien Piquemal
|
a77a94b0d0
|
refactored test/function/unit and test/function/utils to mocha
|
2013-08-17 16:45:52 +04:00 |
|
Sebastien Piquemal
|
a6b4ad7526
|
fixed tests
|
2013-08-14 15:43:32 +04:00 |
|
Sebastien Piquemal
|
aa0249d458
|
fixed npm install, changed src to lib
|
2013-08-14 15:00:12 +04:00 |
|
josdejong
|
3f79c70473
|
Improved module structure, removed references to a global namespace
|
2013-08-11 20:42:32 +02:00 |
|
josdejong
|
10633d7237
|
Minor improvements in the static functions of prototypes
|
2013-08-07 14:42:02 +02:00 |
|