Skip to content

RF Touchstone / index / pow

Variable: pow() ​

pow: (x, y) => MathType

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

Calculates the power of x to y, x ^ y. Matrix exponentiation is supported for square matrices x, and positive integer exponents y.

Parameters ​

x ​

MathType

The base

y ​

The exponent

number | bigint | Complex | BigNumber

Returns ​

MathType

x to the power y