Rogelio J. Baucells
|
b4463d9ef3
|
Initial require() changes
|
2015-03-04 13:53:32 -05: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 |
|
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
|
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
|
675c1b35aa
|
Merge branch 'develop' into v2
Conflicts:
HISTORY.md
lib/function/arithmetic/abs.js
|
2015-02-28 23:01:20 +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 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
|
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
|
77fc274496
|
Refactored log and pow to typed-functions
|
2015-02-20 21:30:56 +01:00 |
|
jos
|
db4a004e58
|
Merge branch 'develop' into v2
Conflicts:
HISTORY.md
|
2015-02-20 19:56:12 +01: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 |
|
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 de Jong
|
7c5b457c19
|
Merge pull request #278 from BigFav/bigSin
Inverse hyperbolic trigonometric functions, and reciprocal BigNumber trigonometric functions.
|
2015-02-17 14:08:36 +00: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 |
|
Favian Contreras
|
ac460ec1a5
|
Added test cases, and updated the functions (recirpocal BigNumber calcs were previously done improperly as were the complex number computation).
|
2015-02-16 02:24:30 -08:00 |
|
jos
|
150add879a
|
Better error message on conversion of number to BigNumber when having more than 15 digits
|
2015-02-16 09:31:41 +01:00 |
|
Favian Contreras
|
ed2137a66e
|
Added hyperbolic inverse functions although they are untested. Implemented and tested the reciprocal trigonometric BigNumber functions (hyperbolic has been done as well, but not normal inverse).
|
2015-02-15 15:25:00 -08:00 |
|
Max Bruckner
|
e587f0ce00
|
New tests for Operator mode
* Factorial of Operator node
* Test unaryMinus with sums and differences
* Test OperatorNode that substracts an OperatorNode
|
2015-02-14 16:31:05 +01:00 |
|
Jos de Jong
|
618ec2c84b
|
Merge pull request #274 from BigFav/bigSin
BigNumber Trigonometry
|
2015-02-09 21:00:18 +01:00 |
|
Favian Contreras
|
aa4717a82d
|
Replaced BigNumber comparisons with string comparison for the high precision acos and asin test cases, in an attempt to fix those test cases.
|
2015-02-09 01:56:13 -08:00 |
|
Favian Contreras
|
38650ba475
|
Slight tweeks and refactoring of the functions. Updated test cases to ensure args were not tampered with (even for functions whose precision is inherited via the number which will be changed in the future).
|
2015-02-09 01:33:29 -08:00 |
|
Favian Contreras
|
2de088cb0d
|
Tested the functions. Made changes to the functions accordingly. Now puts more digits of pi into cosine to get the 'correct' values.
|
2015-02-08 18:42:18 -08:00 |
|
jos
|
f532155c7d
|
Refactored multiply to a typed-function
|
2015-02-07 21:03:26 +01:00 |
|
jos
|
8edf472478
|
Upgraded to typed-function v0.6.1, more functions refactored.
|
2015-02-07 20:29:32 +01:00 |
|