scipy.sparse.dia_matrix.

sqrt#

dia_matrix.sqrt()[source]#

Element-wise sqrt. See numpy.sqrt for more information.

Returns:
sqrtsparse array / matrix

Result of applying numpy.sqrt to the data of this sparse matrix.