Skip to content

differentiate produces unexpected results on a simple expression #20

@dmbates

Description

@dmbates

Perhaps I have misunderstood the calling conventions but

julia> differentiate(:(x/(K+x)),:K)
:(*(-1,x))

is not what I expected. I was rather hoping for

:(/(-(x),^(+(K,x),2)))

or, perhaps,

:(/(-(x),abs2(+(K,x))))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions