Skip to content

RF Touchstone / index / multiply

Variable: multiply() ​

multiply: {<T>(x, y): Matrix; <T>(x, y): Matrix; <T>(x, y): T; <T>(x, y): T; <T>(x, y): T[]; <T>(x, y): MathScalarType; (x, y): Unit; (x, y): number; (x, y, ...values): MathType; <T>(x, y, ...values): T; }

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

Call Signature ​

<T>(x, y): Matrix

Multiply two values, x * y. The result is squeezed. For matrices, the matrix product is calculated.

Type Parameters ​

T ​

T extends Matrix<MathNumericType>

Parameters ​

x ​

T

The first value to multiply

y ​

MathType

The second value to multiply

Returns ​

Matrix

Multiplication of x and y

Call Signature ​

<T>(x, y): Matrix

Type Parameters ​

T ​

T extends Matrix<MathNumericType>

Parameters ​

x ​

MathType

y ​

T

Returns ​

Matrix

Call Signature ​

<T>(x, y): T

Type Parameters ​

T ​

T extends MathArray<MathNumericType>

Parameters ​

x ​

T

y ​

T[]

Returns ​

T

Call Signature ​

<T>(x, y): T

Type Parameters ​

T ​

T extends MathArray<MathNumericType>

Parameters ​

x ​

T[]

y ​

T

Returns ​

T

Call Signature ​

<T>(x, y): T[]

Type Parameters ​

T ​

T extends MathArray<MathNumericType>

Parameters ​

x ​

T[]

y ​

T[]

Returns ​

T[]

Call Signature ​

<T>(x, y): MathScalarType

Type Parameters ​

T ​

T extends MathArray<MathNumericType>

Parameters ​

x ​

T

y ​

T

Returns ​

MathScalarType

Call Signature ​

(x, y): Unit

Parameters ​

x ​

Unit

y ​

Unit

Returns ​

Unit

Call Signature ​

(x, y): number

Parameters ​

x ​

number

y ​

number

Returns ​

number

Call Signature ​

(x, y, ...values): MathType

Parameters ​

x ​

MathType

y ​

MathType

values ​

...MathType[]

Returns ​

MathType

Call Signature ​

<T>(x, y, ...values): T

Type Parameters ​

T ​

T extends MathType

Parameters ​

x ​

T

y ​

T

values ​

...T[]

Returns ​

T