Permalink
Switch branches/tags
Nothing to show
Commits on Jun 21, 2011
  1. Add UUID function

    committed Jun 21, 2011
Commits on Jan 24, 2011
  1. Credited Jillis ter Hove.

    committed Jan 24, 2011
  2. Merge branch 'master' of https://github.com/BruceJillis/MathPlus into…

    … BruceJillis-master
    committed Jan 24, 2011
Commits on Jan 23, 2011
  1. added normal for generating normally distributed numbers. added randi…

    …nt to generate numbers between min and max. add demos/ to show how some of the functions can be used.
    BruceJillis committed Jan 23, 2011
Commits on Jan 22, 2011
Commits on Oct 27, 2010
  1. Switched to an iterative, rather than recursive, implementation of fa…

    …ctorial. Thanks to @Kambfhase for the code and pointing out it would have 4x speed-up.
    committed Oct 27, 2010
Commits on Sep 10, 2010
Commits on Sep 8, 2010
Commits on Sep 7, 2010
  1. Added the Vector class.

    committed Sep 7, 2010
Commits on Jul 2, 2010
  1. Added derivative function

    committed Jul 2, 2010
  2. Add README

    committed Jul 2, 2010
Commits on May 22, 2010
  1. Only check if rangeStart and rangeEnd are equal in random() after we'…

    …ve ensured we have values for the variables.
    committed May 22, 2010
  2. Better limit calculation

    When given +Infinity or -Infinity, Number.MAX_VALUE/10 is used to approximate a number approaching Infinity without giving the user-defined function (equation) a number which it could (easily) overflow to Infinity. Basically, it's an attempted word-around for how Javascript handles large numbers and Infinity.
    
    Some examples:
    MP.limit(function(x) { return (Number.sin(x) / x) }, 0) = 1
    MP.limit(function(x) { return ((2 * x - 1) / x) }, Infinity) = 2
    MP.limit(function(x) { return ((x*x - 9) / (x - 3)) }, 3) = 6
    committed May 22, 2010
Commits on May 21, 2010
  1. Limit, limitLeft, and limitRight functions added. They calculate the …

    …limit of function f as it approaches x. All valid numbers, including -Infinity and Infinity, may be used for x. NOTE: Further testing it needed to ensure reasonable, consistent accuracy.
    committed May 21, 2010
  2. Don't throw an error if someone gives random() start and end points w…

    …hich are equal, simply return it.
    committed May 21, 2010
  3. Changed gcm method name to gcd to reflect that it's actually finding …

    …the greatest common divisor. Oops, that's what I get for using other people's code
    committed May 21, 2010
  4. Initial commit of MathPlus

    committed May 21, 2010