Skip to contents

Kent (FB5) density on the sphere

Usage

KentDens(x, kappa, beta, g1 = c(0, 0, 1), g2 = c(1, 0, 0), g3 = c(0, 1, 0))

Arguments

x

Unit 3-vector or matrix of them.

kappa, beta

Concentration and ovalness.

g1, g2, g3

Orthonormal axes.

Value

list(pdf, logpdf, log_normalizer).

References

Kent, J. T. (1982). JRSS B 44, 71-80.

Examples

KentDens(c(0, 0, 1), 2, 0.5)$pdf
#> [1] 0.3164894