contextSum#

swordfish.function.contextSum()#

Get of positions that are not null in both X and Y, and calculate the sum of the elements in X on these positions.

Parameters:
  • X (Constant) – A vector, matrix or table.

  • Y (Constant) – A vector, matrix or table.