rjbaucells
|
2d4236b460
|
Vector - partial
|
2015-04-08 00:02:29 -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
|
a7beebcf34
|
Moved all typed stuff to a separate file
|
2015-03-26 21:31:32 +01: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
|
d4a457f5c9
|
Refactored norm, nthRoot, round, diag, transpose to typed-functions.
|
2015-03-22 15:34:59 +01:00 |
|
Max Bruckner
|
a973482ef2
|
Fix bug in fix of breaking change
Without this fix, the type passed to ArrayNode.toTex would stay there
forever until you change it back manually instead of being used only
once.
|
2015-03-14 09:09:07 +01:00 |
|
Max Bruckner
|
c9d20285e9
|
Fix breaking change ( passing type to ArrayNode.toTex )
|
2015-03-13 21:23:14 +01:00 |
|
Max Bruckner
|
37c1363c2d
|
Pass callbacks to toTex functions
|
2015-03-13 21:23:13 +01:00 |
|
Jos de Jong
|
81e56601d2
|
Merge branch 'develop' into v2
|
2015-03-09 20:19:12 +00: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 |
|
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 |
|
Favian Contreras
|
b761e4e94f
|
Adjusted strange behavior of created pi constructors (i.e. replacing them).
|
2015-03-01 21:59:44 -08:00 |
|
Favian Contreras
|
1fb2ab8f74
|
Added BigNumber functionality for atan2, with tests.
|
2015-03-01 03:35:19 -08: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 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
|
adbf9031b2
|
Merge branch 'develop' into v2
|
2015-02-24 20:57:55 +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
|
c970ac026a
|
Added acsc, asec, and acot. Also fixed some Complex errors of modifying the original input.
|
2015-02-24 01:52:30 -08:00 |
|
jos
|
db4a004e58
|
Merge branch 'develop' into v2
Conflicts:
HISTORY.md
|
2015-02-20 19:56:12 +01:00 |
|
jos
|
70a476c357
|
Replaced all require('decimal.js') with require('../type/BigNumber'), containing the toJSON and fromJSON methods for BigNumber
|
2015-02-18 20:41:27 +01: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
|
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
|
52cd92643b
|
Removed adding .clone() method to BigNumber
|
2015-02-16 09:19:53 +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 |
|
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
|
8edf472478
|
Upgraded to typed-function v0.6.1, more functions refactored.
|
2015-02-07 20:29:32 +01:00 |
|
Favian Contreras
|
efd946a081
|
Completed code for trig methods. Mostly untested.
|
2015-02-05 09:40:27 -08: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 |
|
jos
|
19c2024524
|
Halfway reworking more functions (lot of stuff is broken at this point)
|
2015-01-17 21:09:39 +01:00 |
|
jos
|
2c059371f4
|
Merge remote-tracking branch 'origin/develop' into develop
|
2015-01-12 22:34:20 +01:00 |
|
jos
|
50e258209b
|
Implemented lazy loading constants when using BigNumbers
|
2015-01-12 22:34:12 +01:00 |
|
Favian Contreras
|
dd2d585180
|
Cleaned up syntax in bignumber.js, and fixed sin bug that caused it to fail on my local machine.
|
2015-01-12 13:01:15 -08:00 |
|
jos
|
6cefd52557
|
Refactored the first few functions into typed-functions
|
2015-01-11 15:29:40 +01:00 |
|
jos
|
4d23e08aab
|
Little bit more robust memoize function
|
2015-01-07 09:47:52 +01:00 |
|
jos
|
60f2370891
|
Generalized memoize function for multiple arguments
|
2015-01-06 22:28:20 +01:00 |
|
jos
|
47ca2b8422
|
Memoize all BigNumber constants
|
2015-01-06 22:04:56 +01:00 |
|
jos
|
5b1eedef59
|
Implemented a simple memoize function
|
2015-01-06 21:47:28 +01:00 |
|
Jos de Jong
|
6e5d07a8c4
|
Merge pull request #260 from BigFav/bigSin
Big Sin slight update.
|
2015-01-04 20:29:36 +01:00 |
|
Favian Contreras
|
676e69409b
|
Fixed bug of not reducing into pi range when negative, and using less guard digits. Now more thorough tests.
|
2015-01-04 10:25:03 -08:00 |
|
Jos de Jong
|
622d1bd083
|
Merge pull request #259 from BigFav/bigSin
Initial BigNumber sin support. Tests added as well.
|
2015-01-04 14:04:32 +01:00 |
|
jos
|
3d84b47658
|
Fixed #258: missing parentheses in the toTex representation of function permutations.
|
2015-01-03 10:29:55 +01:00 |
|
Favian Contreras
|
e8d8e79976
|
Initial BigNumber sin support. Tests added as well.
|
2015-01-01 23:32:15 -08:00 |
|
Favian Contreras
|
6c21826b4b
|
Prohibit usage of integers.
|
2014-12-16 02:56:15 -08:00 |
|
Favian Contreras
|
b8b7c92ae1
|
Moved type specific computation outside of the bignumber library, and made more style touchups.
|
2014-12-15 16:00:28 -08:00 |
|
Favian Contreras
|
f36fbb3968
|
Added bitwise functions into the bignumber section of mathjs. Made more test cases as well. Shifts are not fully precise, but other bitwise opts are.
|
2014-12-15 01:02:41 -08:00 |
|
jos
|
fd586fcbf1
|
Moved bignumber functions e, pi, tau, phi to util/bignumber.js (see #226)
|
2014-12-13 14:14:33 +01:00 |
|