SciPy

This is documentation for an old release of SciPy (version 1.2.1). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.sparse.dok_matrix.conj

dok_matrix.conj(copy=True)[source]

Element-wise complex conjugation.

If the matrix is of non-complex data type and copy is False, this method does nothing and the data is not copied.

Parameters:
copy : bool, optional

If True, the result is guaranteed to not share data with self.

Returns:
A : The element-wise complex conjugate.

Previous topic

scipy.sparse.dok_matrix.clear

Next topic

scipy.sparse.dok_matrix.conjtransp