Skip to content

Make desolve return a function expression #2

Description

@peanutfun

Description

The main feature of GiNaCDE is the desolve function which solves a given differential equation. However, this function does not return the resulting GiNaC expression ex, but only an integer status. The expression is written to a file and discarded. This severely hampers the usability of the GiNaCDE library, as the result of desolve cannot be used within a program for further computations (e.g., evaluating it, integrating it over an interval, ...).

Is there maybe a technical reason why the result is not also returned by the function?

Proposal

Make desolve return the solved expression, or throw an exception if there was an error.

Related issues

openjournals/joss-reviews#3885

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions