1601 Commits

Author SHA1 Message Date
rjbaucells
8a727ec58b Matrix tests using DenseFormat 2015-03-05 22:22:28 -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
jos
3b8eff0a7a Fixed #291: function format sometimes returning exponential notation when it should return a fixed notation. 2015-03-05 20:12:30 +01:00
rjbaucells
4c6a1f770c Initial Matrix modifications 2015-03-04 23:19:11 -05:00
rjbaucells
5d49bebed2 CRS and CCS fixes 2015-03-04 22:35:57 -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
c5b19a5e98 Initial multiply implementation for CRS 2015-03-04 16:24:24 -05:00
Rogelio J. Baucells
5ee1ff2615 Dense format 2015-03-04 15:32:16 -05:00
Rogelio J. Baucells
21db7d8de9 Parser fixes 2015-03-04 15:29:12 -05:00
Rogelio J. Baucells
91bf23e057 Initial DenseFormat implementation 2015-03-04 15:14:29 -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
jos
97e452e544 Fixed #296: Added unit stone (6.35 kg) 2015-03-02 21:18:09 +01:00
Favian Contreras
b761e4e94f Adjusted strange behavior of created pi constructors (i.e. replacing them). 2015-03-01 21:59:44 -08: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
jos
b1d6c9b25e Updated version.js 2015-03-01 14:25:34 +01:00
Favian Contreras
1fb2ab8f74 Added BigNumber functionality for atan2, with tests. 2015-03-01 03:35:19 -08: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
946df4d4b2 Function to calculate all necessary parentheses
calculateNecessaryParentheses takes an OperatorNode and it's arguments
and calculates which of those arguments need to be put in parentheses
based on precedence and associativity.
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
6aa8b764f4 List of operator precedence and their properties. 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
675c1b35aa Merge branch 'develop' into v2
Conflicts:
	HISTORY.md
	lib/function/arithmetic/abs.js
2015-02-28 23:01:20 +01:00
jos
8ca1751319 Bumped version number to 1.4.1-SNAPSHOT 2015-02-28 22:59:39 +01:00
jos
27b436d108 Released version 1.4.0 2015-02-28 22:02:12 +01:00
jos
1d0ba42381 Refactored larger and equal 2015-02-27 09:21:18 +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
bfd2bc4102 Fixed typo 2015-02-26 21:57:35 +01: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
jos
cdd7bb8a83 Updated to typed-function 0.6.2, fixing a couple of bugs. Conversion from BigNumber to Complex added. 2015-02-26 21:51:25 +01: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
adbf9031b2 Merge branch 'develop' into v2 2015-02-24 20:57:55 +01:00
jos
004e80543e Halfway refactoring bitAnd 2015-02-24 20:39:51 +01: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
3bd6a56f08 Copy-paste error. Changed precision back properly for BigNumber acsc. 2015-02-24 03:45:30 -08: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
c970ac026a Added acsc, asec, and acot. Also fixed some Complex errors of modifying the original input. 2015-02-24 01:52:30 -08:00