637 Commits

Author SHA1 Message Date
rjbaucells
090911f3e2 CCS resize 2015-03-12 22:01:30 -04:00
rjbaucells
b1166871ac math.ones() 2015-03-12 19:57:31 -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
b7654a9ac0 CCS tests 2015-03-06 21:20:51 -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
21db7d8de9 Parser fixes 2015-03-04 15:29:12 -05:00
Rogelio J. Baucells
6f06aa69c7 CCS and CRS sparse matrix formats 2015-03-04 15:11:20 -05:00
Rogelio J. Baucells
da377b9fb7 Parser fixes 2015-03-04 14:39:53 -05:00
Rogelio J. Baucells
b4463d9ef3 Initial require() changes 2015-03-04 13:53:32 -05:00
Max Bruckner
6a9c2df38c Update FunctionAssignmentNode to better handle parenthesis 2015-03-01 17:10:09 +01:00
Max Bruckner
bb2bfc939c Update AssignmentNode to better handle parenthesis 2015-03-01 17:02:42 +01:00
Max Bruckner
b2d868c2ed Update OperatorNode's toTex to better handle parens
Use the new infrastructure in OperatorNode's toTex
2015-03-01 16:34:09 +01:00
Max Bruckner
b5ce799e9d New generic toString for AssignmentNode 2015-03-01 10:35:04 +01:00
Max Bruckner
1f2f42012c New generic toString for FunctionAssignmentNode 2015-03-01 10:35:04 +01:00
Max Bruckner
b1a438fd7f New generic toString for RangeNode 2015-03-01 10:35:03 +01:00
Max Bruckner
9489fbf9dc New generic toString for ConditionalNode 2015-03-01 10:35:03 +01:00
Max Bruckner
1ac3319656 OperatorNode: validate input 2015-03-01 10:35:03 +01:00
Max Bruckner
0e5a6e5a38 New generic toString for OperatorNode 2015-03-01 10:35:03 +01:00
Max Bruckner
2e51086fda Function to check associativity between operators
'isAssociativeWith(a,b)' to check if a is associative with b.

Example:
'+' is associative with '-' because (a+b)-c=a+(b-c)
2015-03-01 10:35:03 +01:00
Max Bruckner
91c0dd6b6d Function getAssociativity
Function to get the left/right associativity of an operator
2015-03-01 10:35:03 +01:00
Max Bruckner
9a3c3f9f95 Function getPrecedence to get operator precedence. 2015-03-01 10:35:03 +01:00
Max Bruckner
d593e749e9 New function getIdentifier() for Nodes
getIdentifier() returns a String that contains the name of the node and
the function associated with it ( in case of FunctionNode and
OperatorNode ).
2015-03-01 10:35:03 +01:00
Jos de Jong
cd99ca5ae7 Merge pull request #289 from BigFav/bigSin
Now numbers from BigNumber trig calls use the default constructor rather...
2015-02-26 21:02:09 +00:00
Jos de Jong
10db9cb813 Merge pull request #288 from rjbaucells/develop
Fixes the calculation of norm() and abs() of large complex numbers
2015-02-26 20:57:09 +00:00
Favian Contreras
4067586d7d Now numbers from BigNumber trig calls use the default constructor rather than create a new one each time. Now all trig functions can have arguments with higher precisions. 2015-02-26 12:31:38 -08:00
rjbaucells
dd039a1609 Fix abs() and norm() of large complex numbers 2015-02-26 00:54:44 -05:00
Jos de Jong
fc645e927e Merge pull request #286 from BigFav/bigSin
acsc, asec, acot, and added Complex returns for expression parser
2015-02-24 19:38:28 +00:00
Favian Contreras
9d4b74241c Updated inverse hyperbolic functions to return complex values when appropriate. Updated the test cases as well. 2015-02-24 03:37:42 -08:00
Favian Contreras
7f9b8e177f Added test cases for new methods. Also, escaped parenthesis in error message, now it works. Updated atan test case to reflect the new behavior (see #173). 2015-02-24 01:58:24 -08:00
Jos de Jong
4669542079 Merge pull request #277 from FSMaxB/totex-fix
Fix missing brackets in LaTeX output (bug #273)
2015-02-20 12:41:41 +00: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