result_type

sparse.result_type(*arrays_and_dtypes)[source]

Returns the type that results from applying the NumPy type promotion rules to the arguments.

See also

numpy.result_type

The NumPy equivalent