Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Complex

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Complex(real: number, imaginary: number): Complex
  • Create a new imaginary number

    Parameters

    • real: number

      The real part of the complex number to be created

    • imaginary: number

      The imaginary part of the complex number to be created

    Returns Complex

Properties

im

im: number

phase

phase: number

re

re: number

Methods

*

+

-

/

^

toString

  • toString(): string

Generated using TypeDoc