Skip to content

RF Touchstone


RF Touchstone / touchstone / add

Variable: add()

add: {<T>(x, y): T; <T>(...values): T; (x, y): MathType; (...values): MathType; }

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

Call Signature

<T>(x, y): T

Add two values, x + y. For matrices, the function is evaluated element wise.

Type Parameters

T

T extends MathType

Parameters

x

T

First value to add

y

T

Second value to add

Returns

T

Sum of x and y

Call Signature

<T>(...values): T

Type Parameters

T

T extends MathType

Parameters

values

...T[]

Returns

T

Call Signature

(x, y): MathType

Parameters

x

MathType

y

MathType

Returns

MathType

Call Signature

(...values): MathType

Parameters

values

...MathType[]

Returns

MathType