80 Commits

Author SHA1 Message Date
jos
8068f4afa8 Fixed #636: More strict toTex templates, reckon with number of arguments 2016-04-11 21:31:15 +02:00
jos
bbfa7d51df Fixed #484, #555: inaccuracy of math.sinh. Also using ES6 Math functions when available 2016-04-03 13:47:57 +02:00
jos
f47b22cde5 Released v3.1.3 (fixed broken bundle) 2016-03-24 22:31:11 +01:00
jos
034b74c3f2 Removed redundant trigonometric util functions 2016-02-21 13:23:28 +01:00
jos
e075ed776e Refactored all trigonometric functions to using decimal.js. Still awaiting decimal.js v5.0.5 for a bug fix. 2016-02-21 12:55:45 +01:00
jos
73cb353260 Refactored bignumber implementations of acos, acosh, asinh, atan, atan2, atanh, cosh, sinh, tanh, cbrt 2016-02-14 22:23:18 +01:00
jos
988e200782 Refactored bignumber implementations of asin, cos, sin, tan 2016-02-14 21:54:53 +01:00
Robert Eisele
e6d4e40d7c Changed some tests to match new requirements 2016-02-07 14:57:02 +01:00
Robert Eisele
fcfd43a218 Added complex.js 2016-01-29 01:56:06 +01:00
jos
b5d3547914 Extended trigo, logical, relational functions with support for Units with BigNumber/Fraction value. (Many failing unit tests!) 2015-11-28 11:35:52 +01:00
jos
8158dafd3d Moved the trigonometric functions in util/bignumber.js into separate files 2015-07-18 20:37:32 +02:00
jos
2353c4a61e Renamed folders util to utils 2015-07-18 13:22:38 +02:00
jos
57a47b3b5a Moved pure collection functions to lib/util/collection 2015-07-18 12:53:07 +02:00
jos
493f34ec7b Split collection.js into separate (pure) functions 2015-07-18 11:47:38 +02:00
Max Bruckner
5b2b1de154 Remove LaTeX of trigonometry functions from util/latex.js 2015-06-14 02:23:41 +02:00
jos
0eb9b5b119 Implemented a new configuration option predictable, which can be set to true in order to ensure predictable function output types. 2015-05-23 21:00:08 +02:00
jos
6c7bf4acf0 Removed boolean, string, and null from the list with argument types, only leaving the directly supported types (which types can be converted to supported types is determined externally). Consistently renamed primitive types lower case (boolean, string, number, null) and non-primitive types uppercase (Complex, BigNumber, Function, Array, ...). 2015-05-20 21:08:26 +02:00
jos
166d3aa0be Removed boolean, string, and null from the list with argument types, only leaving the directly supported types (which types can be converted to supported types is determined externally). 2015-05-20 20:49:19 +02:00
rjbaucells
e33fdad4ec typed-function 0.8.2 updates 2015-05-10 12:16:23 -04:00
jos
758107428c Moved collection.js and Matrix.js under ./lib/type/matrix, moved construction functions matrix.js and sparse.js to ./lib/type/matrix/function, and created an index file. 2015-05-05 12:00:07 +02:00
rjbaucells
586b93bcf3 atan2 updates 2015-05-03 23:39:06 -04:00
rjbaucells
fa24a92b24 atan2 updates - partial 2015-05-03 23:36:05 -04:00
jos
7a37c777e4 Created index.js files for most groups of functions so you can import a all functions with a single action 2015-04-26 20:28:47 +02:00
rjbaucells
e5e38b04e5 sparse matrix optimizations 2015-04-01 00:58:07 -04:00
jos
8a68bb56e4 Merged math.js v1.5 into v2. Format support of functions eye and diag still needs to be fixed 2015-03-31 22:07:47 +02:00
jos
5cab0641e9 Simplified the factory structure a little bit. Reworked reviver and BigNumber to factories 2015-03-26 21:03:55 +01:00
jos
f70cad6346 Refactored acot, acsc, asec, atan, atan2, cot, csc, sec, sin, tan to typed-functions 2015-03-22 13:44:43 +01:00
Rogelio J. Baucells
0d34992080 Merge pull request #23 from josdejong/develop
Sync
2015-03-19 00:06:26 -04:00
jos
de0f937950 Created a loader and reworked the functions to a new type of factory function 2015-03-18 22:42:54 +01:00
Rogelio J. Baucells
6df57401a5 collection.deepMap optimizations 2015-03-13 16:10:31 -04:00
jos
dd9954b995 Refactored acos, acosh, acoth, acsch, asech, asin, asinh, atanh, cos, cosh, coth, csch, sech, sinh, tanh to typed-functions. 2015-03-11 09:51:25 +01:00
Jos de Jong
52e3972765 Merge pull request #293 from BigFav/bigSin
Added BigNumber functionality for atan2, with tests.
2015-03-08 20:07:00 +00:00
Rogelio J. Baucells
b4463d9ef3 Initial require() changes 2015-03-04 13:53:32 -05:00
Favian Contreras
1fb2ab8f74 Added BigNumber functionality for atan2, with tests. 2015-03-01 03:35:19 -08:00
jos
27b436d108 Released version 1.4.0 2015-02-28 22:02:12 +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
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
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
c970ac026a Added acsc, asec, and acot. Also fixed some Complex errors of modifying the original input. 2015-02-24 01:52:30 -08:00
Favian Contreras
85c8f8efc0 No longer edit original complex argument. 2015-02-19 23:53:28 -08: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
Favian Contreras
f296fa2e55 Cleaned up the usage of the variable 'mode' being a Number unnecessarily, it is now a Boolean. Replaced the few constant forumlas with values as well. 2015-02-16 07:55:08 -08:00
Favian Contreras
001a82a8dd Updated examples in files. 2015-02-16 02:33:05 -08: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
jos
beb4e2e536 Released version 1.3.0 2015-02-09 21:43:00 +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
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
Favian Contreras
efd946a081 Completed code for trig methods. Mostly untested. 2015-02-05 09:40:27 -08:00