Skip to content

Commit a113b43

Browse files
Add docstring
1 parent 88df88b commit a113b43

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/basicfuns.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,11 @@ See:
273273
softplus(x::Real) = log1pexp(x)
274274
softplus(x::Real, a::Real) = log1pexp(a * x) / a
275275

276+
"""
277+
$(SIGNATURES)
278+
279+
The inverse generalized `softplus` function (Wiemann et al., 2024). See [`softplus`](@ref).
280+
"""
276281
invsoftplus(y::Real) = logexpm1(y)
277282
invsoftplus(y::Real, a::Real) = logexpm1(a * y) / a
278283

0 commit comments

Comments
 (0)