contextSum2#

swordfish.function.contextSum2()#

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

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

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

Returns:

A DOUBLE type (regardless of the data types of X and Y).

Return type:

Constant