eqFloat#

swordfish.function.eqFloat()#

Return the element-by-element comparison of X and Y with the given precision.

Parameters:
  • X (Constant) – A numeric scalar/vector/matrix. If X or Y is a vector/matrix, the other is a scalar or a vector/matrix of the same size.

  • Y (Constant) – A numeric scalar/vector/matrix. If X or Y is a vector/matrix, the other is a scalar or a vector/matrix of the same size.

  • precision (Constant) – A non-negative integer. FLOAT and DOUBLE types are compared up to precision digits after the decimal point.