between#

swordfish.function.between()#

Check if each element of X is between the pair indicated by Y (both boundaries are inclusive).

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

  • Y (Constant) – A pair indicating a range.