Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Complex

Index

Properties

Static 0

0: Complex = Complex.from(0)

Static 1

1: Complex = Complex.from(1)

Static E

E: Complex = Complex.from(Math.E)

Static I

I: Complex = Complex.from(0, 1)

Static LN10

LN10: Complex = Complex.from(Math.LN10)

Static LN2

LN2: Complex = Complex.from(Math.LN2)

Static LOG10E

LOG10E: Complex = Complex.from(Math.LOG10E)

Static LOG2E

LOG2E: Complex = Complex.from(Math.LOG2E)

Static PI

PI: Complex = Complex.from(Math.PI)

Static SQRT1_2

SQRT1_2: Complex = Complex.from(Math.SQRT1_2)

Static SQRT2

SQRT2: Complex = Complex.from(Math.SQRT2)

Accessors

abs

  • get abs(): number

arg

  • get arg(): number

imag

  • get imag(): number

real

  • get real(): number

Methods

add

and

div

equals

  • equals(rhs: Complex | number): boolean
  • equals(r: number, i?: undefined | number): boolean

mod

mul

or

pow

sal

sar

shl

shr

sub

toString

  • toString(format?: undefined | string): string
  • Parameters

    • Optional format: undefined | string

    Returns string

xor

Static abs

Static acos

Static acosh

Static arg

Static asin

Static asinh

Static atan

Static atanh

Static cartesian

  • cartesian(r: number, i?: number): Complex

Static cbrt

Static ceil

Static compile

  • compile(text: string): function
  • compile<T>(text: string, reviver: IReviver<T>): function

Static conj

Static cos

Static cosh

Static cube

Static exp

Static floor

Static from

Static imag

Static log

Static neg

Static not

Static parse

Static polar

  • polar(abs: number, arg?: undefined | number): Complex

Static random

Static real

Static round

Static sign

Static sin

Static sinh

Static sqrt

Static square

Static tan

Static tanh

Static trunc

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc