Skip to content

Commit

Permalink
docs: document inverse function registration
Browse files Browse the repository at this point in the history
  • Loading branch information
AayushSabharwal committed Nov 3, 2024
1 parent de058a2 commit affad5d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/src/manual/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,3 +188,21 @@ function Symbolics.derivative(interp::AbstractInterpolation, args::NTuple{1, Any
Symbolics.unwrap(derivative(interp, Symbolics.wrap(args[1])))
end
```

## Inverse function registration

Symbolics.jl allows defining and querying the inverses of functions.

```@docs
inverse
left_inverse
right_inverse
@register_inverse
has_inverse
has_left_inverse
has_right_inverse
```

Symbolics.jl implements inverses for standard trigonometric and logarithmic functions,
as well as their variants from `NaNMath`. It also implements inverses of
`ComposedFunction`s.

0 comments on commit affad5d

Please sign in to comment.