cast#

swordfish.function.cast()#

Convert a data type to another; reshape a matrix, or convert between matrices and vectors.

Parameters:
  • X (Constant) – Can be of any data form.

  • Y (Constant) – A data type or a data pair.