Skip to content

Commit

Permalink
Remove text on Julia <v.16 limitations from docs
Browse files Browse the repository at this point in the history
Makes docs more readable and use of Julia v1.0 is very rare.
  • Loading branch information
oschulz committed Apr 29, 2023
1 parent f09a1df commit a0fe01c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ ChangesOfVariables

This package defines the function [`with_logabsdet_jacobian`](@ref). `(y, ladj) = with_logabsdet_jacobian(f, x)` computes both the transformed value of `x` under the transformation `f` and the logarithm of the [volume element](https://en.wikipedia.org/wiki/Volume_element).

`with_logabsdet_jacobian` supports mapped/broadcasted functions (via `Base.Broadcast.BroadcastFunction` or `Base.Fix1`) and (on Julia >=v1.6) function composition.
`with_logabsdet_jacobian` supports mapped/broadcasted functions (via `Base.Broadcast.BroadcastFunction` or `Base.Fix1`) and function composition.

Implementations of `with_logabsdet_jacobian(f)` for `identity`, `inv`, `adjoint` and `transpose` as well as for `exp`, `log`, `exp2`, `log2`, `exp10`, `log10`, `expm1` and `log1p` are included.
3 changes: 1 addition & 2 deletions src/with_ladj.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ For `(y, ladj) = with_logabsdet_jacobian(f, x)`, the following must hold true:
* `ladj` is the `log(abs(det(jacobian(f, x))))`
`with_logabsdet_jacobian` comes with support for broadcasted/mapped functions
(via `Base.Broadcast.BroadcastFunction` or `Base.Fix1`) and (Julia >=v1.6 only)
`ComposedFunction`.
(via `Base.Broadcast.BroadcastFunction` or `Base.Fix1`) and `ComposedFunction`.
If no volume element is defined/applicable, `with_logabsdet_jacobian(f::F, x::T)`
returns [`NoLogAbsDetJacobian{F,T}()`](@ref).
Expand Down

0 comments on commit a0fe01c

Please sign in to comment.