120 Commits

Author SHA1 Message Date
rjbaucells
090911f3e2 CCS resize 2015-03-12 22:01:30 -04:00
Rogelio J. Baucells
188edd8180 math.trace() 2015-03-12 14:56:54 -04:00
Rogelio J. Baucells
5e1f557f54 math.zeros() 2015-03-12 12:13:14 -04:00
rjbaucells
23391f4dea Test updates 2015-03-12 00:21:01 -04:00
rjbaucells
5e10a71159 CCS updates 2015-03-11 22:31:27 -04:00
Rogelio J. Baucells
bcb4a12ec6 Tests 2015-03-11 17:23:49 -04:00
rjbaucells
fb70dc8272 Matrix transpose implementation 2015-03-10 22:38:41 -04:00
rjbaucells
c487779414 Test updates 2015-03-10 20:39:57 -04:00
rjbaucells
b619289482 CCS Matrix updates 2015-03-10 20:22:35 -04:00
Rogelio J. Baucells
2077c39885 Matrix inheritance implementation 2015-03-10 15:28:19 -04:00
rjbaucells
7ec5578ad2 CCS updates 2015-03-09 23:31:21 -04:00
rjbaucells
9f5b7b43a2 CCS updates 2015-03-07 23:03:11 -05:00
rjbaucells
9e214d030d CCS and Dense matrix updates 2015-03-07 22:24:41 -05:00
rjbaucells
a072041fac CCS tests 2015-03-06 22:21:36 -05: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
rjbaucells
5a389126aa Matrix format implementations 2015-03-04 20:45:29 -05:00
rjbaucells
da19cef9b4 Storage format interface 2015-03-04 20:07:50 -05:00
Rogelio J. Baucells
6f06aa69c7 CCS and CRS sparse matrix formats 2015-03-04 15:11:20 -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
1754ae06c1 Implemented fromJSON and toJSON in Help 2015-02-18 21:13:19 +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
9193965922 Some more unit tests 2015-02-17 21:18:25 +01:00
jos
2cedb78abd Implemented Help.fromJSON and Help.toJSON 2015-02-17 21:13:58 +01:00
jos
eafd3c3c0b Implemented Complex.fromJSON and Complex.toJSON 2015-02-17 21:02:05 +01:00
jos
c29f33248c Fixed #281: improved formatting complex numbers. Round the real or imaginary part to zero when the difference is larger than the configured precision. 2015-02-17 14:59:39 +01:00
jos
05cb69f6da Converting a unit without value will now result in a unit *with* value 2014-12-14 13:35:17 +01:00
jos
7f6b13a797 Changed the default value of new entries in resized matrices to zero. 2014-08-12 22:35:56 +02:00
jos
d274a50cbf Fixed #205: A returned matrix subset is now only squeezed when the index consists of scalar values, and no longer for ranges resolving into a single value. 2014-08-09 16:48:00 +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
a6cd7065ed Improved some unit tests 2014-08-03 18:13:04 +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
302aa17788 Index now accepts a Matrix as well as input, downgrades to Array 2014-07-21 21:43:20 +02:00
jos
1a9ceac955 Multi-line expressions now return a ResultSet instead of an Array. 2014-07-18 21:34:37 +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
jos
91cdad78b7 Removed automatic assignment of expression results to variable ans 2014-06-08 21:55:38 +02:00
jos
3399909318 Implemented unary plus 2014-06-08 20:49:52 +02:00
josdejong
922ce679e6 Moved UnsupportedTypeError to the others, and made it independent of the math namespace 2014-04-11 17:44:55 +02:00
josdejong
492d7f4c4f Moved ArgumentsError from lib/type/ to lib/util/ 2014-04-06 21:25:46 +02:00
josdejong
d0fb727c43 Implemented DimensionError and IndexError 2014-04-06 20:53:23 +02:00
josdejong
2730edfd60 Removed errors for stuff deprecated since v0.16.0 2014-04-06 13:03:45 +02:00
josdejong
c7c17c6f64 Removed dependency on global math from Complex 2014-04-05 23:21:38 +02:00
Finn
333f881c4d Add constructor support for polar and {re:..,im:..} Fixes #76 2014-04-05 02:14:14 +02:00
Finn
7b32c7fb00 Add toPolar method #76 2014-04-05 01:07:55 +02:00
Finn
754b33b983 Add fromPolar and math.complex with polar input #76 2014-04-04 01:27:05 +02:00
josdejong
f568ae75c1 More unit tests added 2014-04-03 20:58:43 +02:00