invdigamma

invdigamma(x)

Compute the inverse digamma function of x.

Examples

julia> invdigamma(2)
0.3517337112491958
julia> invdigamma(5.5)
1.2533141373155003
julia> invdigamma(10)
2.251752589066721

Common mistake example:

julia> invdigamma(0)
ERROR: DomainError with -Inf:
The inverse digamma function is not defined for x <= 0.

In this example, the function invdigamma throws an error because it is not defined for values less than or equal to zero. It's important to ensure that the input to invdigamma is within the valid domain.

See Also

User Contributed Notes

Add a Note

The format of note supported is markdown, use triple backtick to start and end a code block.

*Required Field
Details

Checking you are not a robot: