rom-operator-inference-Python3 icon indicating copy to clipboard operation
rom-operator-inference-Python3 copied to clipboard

Allow for complex values states/operators/snapshot-matrices

Open opaliss opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. It would be great to allow for complex-valued states/operators/snapshot matrices.

Describe the solution you'd like Allow integration of complex-valued ODEs + solve the least squares problem using complex-valued snapshot matrices. I believe this could be done easily by changing the dtype in certain definitions to allow complex128.

opaliss avatar Dec 18 '23 18:12 opaliss

This is a great idea. Ideally we should check the type of the states/inputs so we don't use a complex type unless necessary, but this shouldn't be too bad.

Places to check for updates:

Operators:

  • [x] set_entries()
  • [x] apply()
  • [x] jacobian()

Models:

  • [ ] _process_fit_arguments()
  • [ ] rhs()
  • [x] jacobian()
  • [ ] predict()

shanemcq18 avatar Dec 18 '23 19:12 shanemcq18