Skip to content

Package extensions #106

@aplavin

Description

@aplavin

This package defines rules for functions from LogExpFunctions, NaNMath, and SpecialFunctions packages, in addition to Base. Looking at https://github.com/JuliaDiff/DiffRules.jl/blob/master/src/rules.jl, their rules are pretty self-contained (*) and can easily be turned into package extensions to enable using DiffRules as a dependency in other lightweight packages.
Would you support and accept such a PR turning them into weakdeps?

(*) One exception: a SpecialFunctions function used in a NaNMath rule definition,

@define_diffrule NaNMath.lgamma(x) = :( SpecialFunctions.digamma($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