Skip to content

Implement expr.diff(x, n) where n is an integer #224

@BlackTeaAndCoffee

Description

@BlackTeaAndCoffee

Hi i wanted to calculate the derivative of some big functions, and i thought
that symengine would also use the diff method as in sympy and symengine has a diff method.
But doing so, i get a wrong result. Even for smaller functions i get
wrong results. See following code:

import symengine as si
x = si.symbols('x')
print(si.diff(x**2, 1))

This gives zero. I've got symengine version 0.3.0.

Best Wishes
BlackTea

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