Skip to content

CyRK's CySolver does not allow for complex-valued dependent variables. #30

@jrenaud90

Description

@jrenaud90

CyRK's CySolver only allows np.float64 y0 and dydt. This is due to limitations between fused types (used in cyrk_ode) and cython cdef classes.

A workaround is to convert your N-dimensional complex system of ODEs into a 2N-dimensional floating point system of ODEs. Pass this onto CySolver, and then convert the output back into complex values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CySolverIssues related to the CySolver classcythonIssue related to cython-based codeenhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions