Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
87 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
module.exports = require('./lib/numeric.js'); | ||
module.exports = require('./lib/numbers.js'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/** | ||
* numbers.js | ||
* | ||
* top level management of numbers extensions | ||
* | ||
* (C) 2012 Steve Kaliski | ||
* MIT License | ||
* | ||
*/ | ||
var numbers = exports; | ||
|
||
|
||
// Expose methods | ||
numbers.basic = require('./numbers/basic'); | ||
numbers.calculus = require('./numbers/calculus'); | ||
numbers.matrix = require('./numbers/matrix'); | ||
numbers.prime = require('./numbers/prime'); | ||
numbers.statistic = require('./numbers/statistic'); | ||
numbers.useless = require('./numbers/useless'); | ||
|
||
/** | ||
* @property {Number} EPSILON Epsilon (error bound) to be used | ||
* in calculations. Can be set and retrieved freely. | ||
* | ||
* Given the float-point handling by JavaScript, as well as | ||
* the numbersal proficiency of some methods, it is common | ||
* practice to include a bound by which discrepency between | ||
* the "true" answer and the returned value is acceptable. | ||
* | ||
* If no value is provided, 0.001 is default. | ||
*/ | ||
numbers.EPSILON = 0.001; |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters