pow#

swordfish.function.pow()#

Raise all elements of X to the power of Y.

Please note that the data type of the result is always DOUBLE, even if both X and Y are integers.

参数:
  • X (Constant) -- A scalar/vector/matrix.

  • Y (Constant) -- A scalar/vector/matrix.