28 Commits

Author SHA1 Message Date
josdejong
e1ead2f7a6 Added function format to Selector 2013-10-26 14:07:47 +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
da1d23bc0a Fixed tests and reduce function 2013-10-22 20:16:04 +02:00
Guillermo Indalecio
49429a5e49 Fixed small typo 2013-10-22 19:04:13 +02:00
Guillermo Indalecio
42560704b8 Fixing reduce function to the pull request 2013-10-22 19:02:35 +02:00
Guillermo Indalecio Fernandez
8db830c31d Added full reduce capabilities not tested 2013-10-22 10:49:29 +02:00
josdejong
c8a289a08c Removed unnecessary .js suffix in module require statements 2013-10-20 14:01:31 +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
799819423c Implemented a function equals for complex numbers. 2013-10-08 15:12:11 +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
f68bc8e5f2 Renamed MatrixNode to ArrayNode 2013-09-25 21:43:26 +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
9746dc37c2 Changed matrix indexes of expression parser to one-based (Fixed #66) 2013-08-29 22:11:30 +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
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
8e9224c60b Removed the subset functionality from Index, makes more sense to put that in Matrix 2013-08-18 13:46:10 +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