cross#

swordfish.function.cross()#

Apply func to the permutation of all individual elements of X and Y and return a matrix.

Parameters:
  • func (Constant) – A binary function.

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

  • Y (Constant, optional) – A pair/vector/matrix.

  • specified (X and Y can have different data forms and sizes. If Y is not)

  • cross(func (perform)

  • X

  • function (X) where func must be a symmetric binary)

  • corr. (such as)