Skip to content

Reconsider design for custom methods #34

Open
@dilpath

Description

@dilpath

At the moment, it's expected to be a class, that is then initialized with a function. Instead, we could expect some callable that accepts size/direction/point and returns the derivative.

fiddy/fiddy/derivative.py

Lines 177 to 183 in c015e4a

method = custom_methods.get(
method_id,
methods.get(
method_id,
None,
),
)(function=function)

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