complex#

swordfish.function.complex()#

Create a complex number X+Y*i. The length of a complex number is 16 bytes. The low 8 bytes are stored in X, and the high 8 bytes are stored in Y.

Parameters:
  • X (Constant) – A numeric scalar, pair, vector or matrix, which can be of Integral (excluding compress and INT128) or Floating type.

  • Y (Constant) – A numeric scalar, pair, vector or matrix, which can be of Integral (excluding compress and INT128) or Floating type.