Skip to content

add complex support#5

Open
henry-ald wants to merge 1 commit intoastro-informatics:mainfrom
henry-ald:complex
Open

add complex support#5
henry-ald wants to merge 1 commit intoastro-informatics:mainfrom
henry-ald:complex

Conversation

@henry-ald
Copy link

While the existing CosmicStringEmulator object has a complex option cplx, this is only applied to the PyWPH components of the code. The Scipy optimization does not support complex inputs/outputs.

  • Adds wrapper for converting between complex and flattened real views of an array
  • Adds wrapper for converting between flattened real views and flattened complex views of an array
  • Adds necessary flow control dependent on cplx=True

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant