cupyx.scipy.sparse.kronsum#

cupyx.scipy.sparse.kronsum(A, B, format=None)[source]#

Kronecker sum of sparse matrices A and B.

Kronecker sum is the sum of two Kronecker products kron(I_n, A) + kron(B, I_m), where I_n and I_m are identity matrices.

Parameters:
Returns:

Generated sparse matrix with the specified format.

Return type:

cupyx.scipy.sparse.spmatrix