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 |
|
Jos de Jong
|
13b7e6acee
|
Merge pull request #103 from guillermobox/develop
Reduce functionality
|
2013-10-24 04:31:44 -07:00 |
|
Guillermo Indalecio Fernandez
|
a998e4bb86
|
Added more powerful tests and fixed code for mean
|
2013-10-24 13:22:41 +02:00 |
|
Guillermo Indalecio Fernandez
|
540bb7af9b
|
Changed reduce calls from one-based to zero-based
|
2013-10-24 12:49:36 +02:00 |
|
Guillermo Indalecio Fernandez
|
da1d23bc0a
|
Fixed tests and reduce function
|
2013-10-22 20:16:04 +02:00 |
|
Guillermo Indalecio
|
f43523b301
|
Added reduce calls from "mean" function
|
2013-10-22 19:27:05 +02:00 |
|
Guillermo Indalecio
|
b0ce2686c3
|
Added min test for n-dimensional matrices
|
2013-10-22 19:16:50 +02:00 |
|
Guillermo Indalecio
|
297e1869af
|
Added another multidimensional test for max
|
2013-10-22 16:24:14 +02:00 |
|
Guillermo Indalecio Fernandez
|
020dfa0e46
|
Added test for max, it seems to work in 2D
|
2013-10-22 11:06:00 +02:00 |
|
josdejong
|
1db989a2d7
|
Changed scientific notation of number formatting back
|
2013-10-21 20:51:48 +02:00 |
|
josdejong
|
17f208df18
|
Some nice improvements to formatting numbers
|
2013-10-21 12:07:07 +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
|
abff8efdbc
|
Mixed matrix input now always returns a Matrix (needed to mace collection static)
|
2013-10-19 22:01:10 +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
|
3c7174c764
|
Renamed options to math.options.format.precision and math.options.matrix.defaultType
|
2013-10-19 15:00:32 +02:00 |
|
josdejong
|
71c36a94cf
|
Statistics functions max and min now return the max and min of the flattened array in case of multidimensional arrays.
|
2013-10-18 10:47:43 +02:00 |
|
josdejong
|
eb9ffdeadf
|
Removed support for comparing complex numbers
|
2013-10-17 14:49:30 +02:00 |
|
josdejong
|
c3d5edf4bb
|
Implemented support for multiplying vectors with matrices
|
2013-10-14 13:14:16 +02:00 |
|
josdejong
|
35cafbfa67
|
Fixed function mean to support complex values, added more tests to min and max.
|
2013-10-14 11:40:20 +02:00 |
|
Guillermo Indalecio Fernandez
|
0bd2db9f2b
|
Fixed bugs and deployed tests
|
2013-10-13 15:49:45 +02:00 |
|
josdejong
|
cc42c7dc26
|
Re-enabled test for mod operator
|
2013-10-08 17:03:15 +02:00 |
|
josdejong
|
c031a4248e
|
Added a test with mixed matrix types
|
2013-10-08 16:30:06 +02:00 |
|
josdejong
|
5481b0a663
|
Introduced an option math.options.matrix.default which can have values matrix (default) or array. This option is used by the functions eye, ones, range, and zeros, to determine the type of matrix output.
|
2013-10-01 20:37:28 +02:00 |
|
josdejong
|
f48c07bdd8
|
Getting or setting a subset of a matrix will automatically squeezed/unsqueezed the submatrix
|
2013-09-25 21:59:35 +02:00 |
|
josdejong
|
0dfdf3b2a2
|
Removed concatenation of nested arrays
|
2013-09-25 21:17:28 +02:00 |
|
josdejong
|
93d588f861
|
Added some more tests for gcd, lcm, xgcd
|
2013-09-22 09:43:18 +02:00 |
|
josdejong
|
b683d5eecf
|
All construction functions can be used to convert the type of variables, also element-wise for all elements in an Array or Matrix
|
2013-09-02 22:38:41 +02:00 |
|
josdejong
|
2dc6ac6cdf
|
Implemented support for booleans in all relevant functions
|
2013-09-02 21:36:52 +02:00 |
|
josdejong
|
d2e07073c9
|
Fixed the readme on testing code coverage.
|
2013-08-31 21:35:53 +02:00 |
|
josdejong
|
47c4b4c3a7
|
Replaced functions get and set of Matrix with a single function subset
|
2013-08-31 21:20:02 +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
|
86ea2a7343
|
Removed support for scalars from function subset
|
2013-08-31 20:28:45 +02:00 |
|
josdejong
|
2280451a55
|
Some more unit tests added to math.parse
|
2013-08-31 14:46:19 +02:00 |
|
josdejong
|
c6a5070b2f
|
Restructured unit tests of math.parse
|
2013-08-31 14:27:14 +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
|
1d4a540a6e
|
Merge pull request #69 from sebpiq/develop
added math.map and math.forEach function see #68
|
2013-08-30 02:33:19 -07: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 |
|
josdejong
|
9746dc37c2
|
Changed matrix indexes of expression parser to one-based (Fixed #66)
|
2013-08-29 22:11:30 +02: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 |
|
Sebastien Piquemal
|
0f54414172
|
fixed random-seed for random testing
|
2013-08-20 00:54:13 +04:00 |
|