Skip to content

Commit

Permalink
Cleaned up Complex.formatFunction and Complex.parseFunction, renamed …
Browse files Browse the repository at this point in the history
…Complex constants for readability, and compressed minified file even further
  • Loading branch information
patrickroberts committed Sep 22, 2014
1 parent 350911e commit 967b4f3
Show file tree
Hide file tree
Showing 4 changed files with 460 additions and 404 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Complex-js is a lightweight module that enables complex mathematics
in JavaScript. It comes with every elementary function and all
mathematical operators. It also includes many utility functions and
common non-analytical functions such as the Complex conjugate, the
common non-analytical functions such as the complex conjugate, the
argument function, the absolute value function and many others.

Lastly, but most importantly, this module contains a compiler to
Expand Down Expand Up @@ -279,14 +279,14 @@ console.log(Complex(5,1).equals(five_plus_i));

For convenience, but also used in many of the trigonometric methods.

* `0` - zero
* `1` - one
* `I` - i
* `-I` - negative i
* `PI` - irrational constant "π"
* `E` - irrational constant "e"
* `2` - two
* `2I` - two i
* `Complex.ZERO` - zero
* `Complex.ONE` - one
* `Complex.I` - i
* `Complex.NEG_I` - negative i
* `Complex.PI` - irrational constant "π"
* `Complex.E` - irrational constant "e"
* `Complex.TWO` - two
* `Complex.TWO_I` - two i

<a name="constructs"></a>
## Constructors
Expand Down
Loading

0 comments on commit 967b4f3

Please sign in to comment.