sub#

swordfish.function.sub()#

Return the result of element-by-element subtracting Y from X. If both X and Y are sets, sub returns a set by eliminating the common elements of X and Y from X.

Parameters:
  • X (Constant) – A scalar/pair/vector/matrix/set.

  • Y (Constant) – A scalar/pair/vector/matrix/set.