complex-analysis

1.0.0 • Public • Published

Complex Analysis

Complex analysis is the interesting part of modern mathematics which comes into existence while calculating the square root of -1. Square root of -1 is denoted by i, where i2 = -1.

Each complex number is denoted as A+Bi, where A is said to be the Real part and B is the Imaginary part.

In JavaScript, we can represent a complex number as an object having two properties- real and imaginary. The real property, carrying default value 0, denotes the real part of the complex number and the imaginary property, having value 0, denotes the imaginary part.

All utility methods to analyze the complex number come under the prototype chain of the object to separate theme from the representation.

When the constructor of the object is invoked with no parameter, it returns an object where each property has 0 as its value. If parameters are passed while invoking, it constructs the object and returns it accordingly. The first parameter denotes the real part and the second parameter being the imaginary part.

API Details

All API methods are described in detail in the Wiki page.

Wiki : Complex Analysis API

Installation

You can install this library using npm as well as bower. It does not have third party dependencies.

Using npm:

npm install complex-analysis --save

Using bower:

bower install complex-analysis --save

License (MIT)

Copyright (c) 2017 Shorif Ali

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Package Sidebar

Install

npm i complex-analysis

Weekly Downloads

3

Version

1.0.0

License

MIT

Last publish

Collaborators

  • shorifali501