Skip to content

How to take complex conjugate of complex BCOO array #18713

Answered by jakevdp
DanPuzzuoli asked this question in General
Discussion options

You must be logged in to vote

Hi - there's not yet a sparse rule for conj (though it wouldn't be hard to add)

You could work around it by calling real and imag, which are defined:

sparse.sparsify(lambda x: jnp.real(x) - jnp.imag(x))(x)

I'll work on adding conj support in sparsify.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@jakevdp
Comment options

@DanPuzzuoli
Comment options

Answer selected by DanPuzzuoli
Comment options

You must be logged in to vote
1 reply
@jakevdp
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants