scglue.num.densify
- scglue.num.densify(arr)[源代码]
Convert a matrix to dense regardless of original type.
- 参数:
arr (
typing.Union[numpy.ndarray,scipy.sparse._matrix.spmatrix]) – Input array (either sparse or dense)- 返回类型:
- 返回:
densified – Densified array