51 Commits

Author SHA1 Message Date
Rogelio J. Baucells
cf03b03578 lusolve() - partial 2015-04-08 18:00:42 -04:00
Rogelio J. Baucells
337c17d257 lup() - partial 2015-04-06 17:58:05 -04:00
jos
8cfabebdfb Oops. committed missing files 2015-03-31 22:23:32 +02:00
jos
1990edc90f Added docs and and example on sparse matrices 2015-03-28 15:55:59 +01:00
rjbaucells
83de840714 initial multiply implementation 2015-03-17 07:51:29 -04:00
rjbaucells
5713b988ed matrix functions & tests 2015-03-14 19:56:16 -04:00
Rogelio J. Baucells
6df57401a5 collection.deepMap optimizations 2015-03-13 16:10:31 -04:00
rjbaucells
9b481cc86f Dense Matrix resize 2015-03-12 23:10:07 -04:00
Rogelio J. Baucells
188edd8180 math.trace() 2015-03-12 14:56:54 -04:00
rjbaucells
fb70dc8272 Matrix transpose implementation 2015-03-10 22:38:41 -04:00
Rogelio J. Baucells
2077c39885 Matrix inheritance implementation 2015-03-10 15:28:19 -04:00
rjbaucells
5479a0ad56 Matrix tests using DenseFormat 2015-03-05 22:06:31 -05:00
Rogelio J. Baucells
b46301d810 Partial implementation of Matrix 2015-03-05 14:30:06 -05:00
rjbaucells
4c6a1f770c Initial Matrix modifications 2015-03-04 23:19:11 -05:00
Rogelio J. Baucells
b4463d9ef3 Initial require() changes 2015-03-04 13:53:32 -05:00
jos
538ea10e15 Changed the json field type name from @type to a safer mathjs. 2015-02-18 22:11:54 +01:00
jos
4bd7dc5633 Implemented toJSON and fromJSON and a reviver for most data types 2015-02-18 20:34:43 +01:00
jos
8892a8c026 Implemented Matrix.toJSON and Matrix.fromJSON 2015-02-17 21:42:10 +01:00
jos
7132a6f3c2 Fixed #221 for one-based implementations of map and forEach 2014-10-14 09:03:04 +02:00
jos
41663147e6 Implemented function sort 2014-08-14 22:24:15 +02:00
jos
7f6b13a797 Changed the default value of new entries in resized matrices to zero. 2014-08-12 22:35:56 +02:00
jos
16d2e41f59 Improved function unsqueeze 2014-08-03 18:04:57 +02:00
jos
e5ce909524 Reworked the way matrices are resized when dimensions are added/removed 2014-08-03 15:56:39 +02:00
jos
8200955d71 Removed unnecessary names of functions 2014-07-21 22:14:27 +02:00
jos
40986a1325 Using strict mode now in all files (added 'use strict'; on top of every file) 2014-07-18 23:19:14 +02:00
jos
62a446ab34 Improved index out of range errors. 2014-07-17 21:00:24 +02:00
jos
64c8693f82 Objects Complex, Unit, and Help now return their string representation when calling .valueOf() (see #190) 2014-06-17 22:14:12 +02:00
josdejong
97cbb0093f Moved errors to their own namespace and folder 2014-04-11 18:02:29 +02:00
josdejong
d0fb727c43 Implemented DimensionError and IndexError 2014-04-06 20:53:23 +02:00
josdejong
f568ae75c1 More unit tests added 2014-04-03 20:58:43 +02:00
josdejong
9ae103c394 More unit tests 2014-03-21 21:38:26 +01:00
josdejong
f1ea498927 Added some more unit tests 2014-03-15 15:27:05 +01:00
josdejong
f6acb12e4d Implemented expression compilation for 80% 2014-01-01 20:46:30 +01:00
josdejong
0210ec0d41 UnsupportedTypeError can now determine the type of values 2013-11-28 17:15:28 +01:00
josdejong
b366d97a20 Function resize now has an extra optional parameter defaultValue 2013-11-21 12:09:12 +01:00
josdejong
0a0596bd7e Simplified and reworked the Matrix class. Implemented functions Matrix.get and Matrix.set 2013-11-09 21:36:03 +01:00
josdejong
5f1aee3550 Some fixes and improvements in the resize function 2013-11-07 22:42:21 +01:00
josdejong
a19b1a1285 Functions ones and zeros now return an empty matrix instead of a number 1 or 0 when no arguments are provided 2013-11-07 17:16:34 +01:00
josdejong
9485cb2459 Simplified/improved typeof function 2013-10-31 11:52:03 +01:00
josdejong
b071e5daba Removed utility functions isScalar, toScalar, isVector, toVector from Matrix and Range. 2013-10-31 10:54:42 +01:00
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
josdejong
e61d2f965b Fixes in the new function math.format(precision). Updated docs and tests. 2013-10-19 21:44:54 +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
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
7935546630 Removed type Range. function math.range now returns an expanded series 2013-08-17 13:42:57 +02:00