# ts-complex-numbers

> A Complex numbers class for TypeScript

Latest version **1.0.5** (published 2020-07-28) · GPL license · 0 weekly downloads

## Install

```sh
npm install ts-complex-numbers
pnpm add ts-complex-numbers
yarn add ts-complex-numbers
bun add ts-complex-numbers
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2020-07-28 |
| First published | 2020-07-23 |
| Weekly downloads | 0 |
| License | GPL |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 47.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Thomas Burrows |
| Maintainers | netsec917 |
| Keywords | complex, numbers, maths, class |

## Links

- npm: https://www.npmjs.com/package/ts-complex-numbers
- Repository: https://github.com/netsec917/TS-Complex
- Homepage: https://github.com/netsec917/TS-Complex#readme
- Issues: https://github.com/netsec917/TS-Complex/issues
- npm.io page: https://npm.io/package/ts-complex-numbers

## Alternatives

- [random-seedable](https://npm.io/package/random-seedable.md) — 27.9K weekly downloads
- [n2words](https://npm.io/package/n2words.md) — 22.2K weekly downloads
- [@stdlib/math-base-special-factorialln](https://npm.io/package/@stdlib/math-base-special-factorialln.md) — 5.7K weekly downloads
- [@stdlib/math-base-special-abs2](https://npm.io/package/@stdlib/math-base-special-abs2.md) — 1.7K weekly downloads
- [commons-math-interpolation](https://npm.io/package/commons-math-interpolation.md) — 1.4K weekly downloads

## Recent versions

- 1.0.5 (latest) — 2020-07-28
- 1.0.4 — 2020-07-26
- 1.0.3 — 2020-07-26
- 1.0.2 — 2020-07-24
- 1.0.1 — 2020-07-24
- 1.0.0 — 2020-07-23

## README

# TS-Complex
TS-Complex is a complex numbers class library for the TypeScript language.

## About:
TS-Complex takes advantage of TypeScript's compile time typechecking to provide a type safe implementation
of a data type for representing complex numbers, with ES6 as the target ECMA standard.

## Supported operations:
### Arithmetic / Algebraic:
* Complex Addition, Subtraction, Multiplication, Division
* Scalar Multiplication
* Exponential & Natural Logarithmic functions 
* Conjugate & Negation
### Trigometric / Geometric:
* Magnitude & Arguement
* Sin, Cos & Tan
* Complex number to tuple of polar coordinates
* Polar coordinates to complex number in rectangular coordinates
### Utility
* To string
## How to install:
TS-Complex can be obtained as an npm package from:
https://www.npmjs.com/package/ts-complex-numbers

Simply follow the usual npm commands for creating a new project & installing a package.

npm init && npm i ts-complex-numbers

---
_Source: https://npm.io/package/ts-complex-numbers · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
