Block.degree_matrix

Block.degree_matrix(rtype='array')

Compute the degree matrix of the mesh.

Parameters:
rtypeLiteral[‘array’, ‘csc’, ‘csr’, ‘coo’, ‘list’], optional

Format of the result.

Returns:
array-like

The degree matrix.