42 Commits

Author SHA1 Message Date
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
524a915beb Updated comments 2013-10-19 18:12:20 +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
Guillermo Indalecio
97563106c2 Added function/statistics/mean.js 2013-10-10 13:33:47 +02:00
josdejong
9e233e31db Extended docs on complex values and cli 2013-10-08 15:07:21 +02:00
josdejong
f4e2b9bbd2 Merge branch 'master' into develop 2013-10-08 11:50:25 +02:00
Guillermo Indalecio
cce3edd614 Fixed small typo in exception message 2013-10-08 10:31:46 +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
b0b8e679d8 Fixed a typo 2013-09-17 20:17:40 +02:00
josdejong
53810d5431 Moved named delimiters into a separate array 2013-09-17 20:15:16 +02:00
josdejong
f6a085e535 Fixed non-working mod operator 2013-09-06 09:16:41 +02:00
josdejong
67423dbcec Released version 0.13.0 2013-09-03 20:19:14 +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
47c4b4c3a7 Replaced functions get and set of Matrix with a single function subset 2013-08-31 21:20:02 +02:00
josdejong
86ea2a7343 Removed support for scalars from function subset 2013-08-31 20:28:45 +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
josdejong
1618714657 Fixed some errors in throwing errors in map and forEach 2013-08-30 19:53:01 +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
53da1468dc added math.forEach + tests 2013-08-30 13:16:59 +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
6ea9e36561 Some todo's and error messages added to the random functions 2013-08-22 21:12:37 +02:00
josdejong
5a007ef57d Docs, examples, readme updated 2013-08-22 20:59:36 +02:00
josdejong
2158a28e33 Changed matrix index notation of expression parser from round brackets (...) to square brackets [...] 2013-08-21 13:41:15 +02:00
josdejong
99b14dd32e Implemented Index and Range in parser 2013-08-19 22:04:41 +02:00
josdejong
7f58398053 Completed missing descriptions in tests 2013-08-19 21:07:45 +02:00
josdejong
35e789d3fe Made math.subset, Matrix.get, Matrix.set more strict: only accept an Index 2013-08-18 15:28:20 +02:00
josdejong
9cb354a6da Index functionality getting in place now. 2013-08-18 14:37:03 +02:00
josdejong
24b3b7eb43 First implementation of Index and math.index 2013-08-17 15:35:48 +02:00
josdejong
7935546630 Removed type Range. function math.range now returns an expanded series 2013-08-17 13:42:57 +02:00
josdejong
e704c79e17 Removed the feature to automatically convert a complex
value with an imaginary part equal to zero to a number (see #59)
2013-08-14 14:41:35 +02:00
Sebastien Piquemal
a595266347 added all files in lib/ 2013-08-14 15:39:21 +04:00