Skip to content

Use multiple arguments instead of a tuple for pushforward and pullback function? #53

Open
@devmotion

Description

@devmotion

It seems annoying that the pushforward and pullback function accept tuples of co-tangents instead of multiple arguments. Is there a compelling reason for doing so or was this a design decision that could be changed? In my opinion the main annoyance is that one has to handle the case of tuples of length 1 in a special way (as e.g. in #51) (it also makes it impossible to work with actual single-argument functions that take a tuple as only argument but maybe this is not needed anyway). Arguably it is also cleaner to provide multiple arguments as, well, multiple arguments instead of a tuple.

Metadata

Metadata

Assignees

No one assigned

    Labels

    designPackage structure and correctnesshelp wantedExtra attention is neededquestionInquiries and discussions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions