binaryExpr#

swordfish.function.binaryExpr()#

Connect X and Y with the binary operator specified in optr to generate metacode of a binary expression.

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

  • Y (Constant) -- A scalar or a vector of the same type as X.

  • optr (Constant) -- A binary operator.