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 |
|
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 |
|
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 de Jong
|
122459b8f6
|
Merge pull request #272 from BigFav/bigSin
Big sine and cosine
|
2015-02-04 14:29:58 +01:00 |
|
Favian Contreras
|
1b51822677
|
Updated tests, and slight update to the way I reduced the arguments.
|
2015-02-04 04:57:29 -08:00 |
|
Favian Contreras
|
27dc595557
|
Organized bignumber.js by function type. Improved speed of sin, and tried to complete cosine but that is slightly broken (gets last digit wrong sometimes).
|
2015-02-03 05:54:04 -08:00 |
|
Kenan Yildirim
|
02c63a24f5
|
Remove a duplicate csch test
|
2015-02-01 13:20:34 -05:00 |
|
jos
|
3fdb22adeb
|
Merge remote-tracking branch 'origin/develop' into develop
|
2015-01-29 20:30:21 +01:00 |
|
Pete Corey
|
457c8d288a
|
Renamed tr to trace
|
2015-01-29 11:20:49 -08:00 |
|
Pete Corey
|
5e3bb7e8dd
|
Added trace matrix operation
|
2015-01-27 12:28:04 -08:00 |
|