mul#

swordfish.function.mul()#

Return the element-by-element product of X and Y.

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

  • Y (Constant) – A scalar/pair/vector/matrix. If one of X and Y is a pair/vector/matrix, the other must be a scalar or a pair/vector/matrix of the same size.