numbers / numbers.js

Advanced Mathematics Library for Node.js and JavaScript
Apache License 2.0
1.76k stars 167 forks source link

Add finance equations #69

Closed foundrium closed 11 years ago

foundrium commented 11 years ago

I was curious if there was any interest in a finance module?

milroc commented 11 years ago

I like this idea, however I'd say it might be more valuable outside of this library as a separate library (finance.js).

Why?

Why not?

ethanresnick commented 11 years ago

I agree with @milroc...at least with the arg names this function has now, it seems to specific for the core, but that's @sjkaliski's call. Maybe it can be renamed to show how it applies more generally?

sjkaliski commented 11 years ago

@elaforc I think Number.js should remain a toolkit on which a finance library could be built on top of. If there are mathematical tools such as asymptotic analysis, expected values, different types of distributions, all of which a financial library could benefit from, then we should build those in here.

I think it'd be sweet to have physics, finance, chemistry, all types of different maths and science libraries built on top of Numbers.js. So it's important that the tools and API's built here are flexible, interact well, and can mesh well with other subjects.