combine_megacomplex_matrices

static MatrixProviderLinked.combine_megacomplex_matrices(matrix_left: ArrayLike, matrix_right: ArrayLike, clp_labels_left: list[str], clp_labels_right: list[str]) tuple[list[str], ArrayLike]

Calculate the matrix for a dataset on an index on the global axis.

Parameters:
  • matrix_left (ArrayLike) – The left matrix.

  • matrix_right (ArrayLike) – The right matrix.

  • clp_labels_left (list[str]) – The left clp labels.

  • clp_labels_right (list[str]) – The right clp labels.

Returns:

The combined clp labels and matrix.

Return type:

tuple[list[str], ArrayLike]