Skip to content
Last updated

API / geotoolkit / seismic / analysis / maths / ComplexMathUtils / ComplexMathUtils

Class: ComplexMathUtils

maths.ComplexMathUtils.ComplexMathUtils

Class that has methods useful for operating on complex numbers Ported from the Saddleback Geosolution's Java implementation

Table of contents

Constructors
  • [new ComplexMathUtils()](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.seismic.analysis.maths.complexmathutils.complexmathutils.md#new complexmathutils())
Methods

Contents

Constructors

new ComplexMathUtils()

• new ComplexMathUtils()

Methods

getClassName

▸ getClassName(): string

Returns

string


absCmplx

▸ Static absCmplx(c): number

Gets the real magnitude of a complex number.

Parameters

Name Type Description
cComplexNumberThe complex number.

Returns

number


getClassName

▸ Static getClassName(): string

Returns

string


multCmplx

▸ Static multCmplx(a, b): ComplexNumber

Multiplies two complex numbers a and b, returning complex number c.

Parameters

Name Type Description
aComplexNumberThe first complex number.
bComplexNumberThe second complex number.

Returns

ComplexNumber