Skip to content

RF Touchstone


RF Touchstone / touchstone / arg

Variable: arg()

arg: {(x): number; (x): BigNumber; <T>(x): T; }

Defined in: node_modules/mathjs/types/index.d.ts:7220

Call Signature

(x): number

Compute the argument of a complex value. For a complex number a + bi, the argument is computed as atan2(b, a). For matrices, the function is evaluated element wise.

Parameters

x

A complex number or array with complex numbers

number | Complex

Returns

number

The argument of x

Call Signature

(x): BigNumber

Parameters

x

Complex | BigNumber

Returns

BigNumber

Call Signature

<T>(x): T

Type Parameters

T

T extends MathCollection<MathNumericType>

Parameters

x

T

Returns

T