Skip to content

Unify @function and @contractor #113

@dpsanders

Description

@dpsanders

Remove @function and make @contractor do that job instead, e.g.

const C = @contractor f(x) = 4x

will automatically define the const function f, such that f(X) just applies the forward function for standard function evaluation, but

f(constraint, X)

does the forward-backward contractor.

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