Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ts-complex-numbers

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-complex-numbers

A Complex numbers class for TypeScript

  • 1.0.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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

Keywords

FAQs

Package last updated on 28 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc