logarithmicdens

Calculates the probability density function (PDF) for the Logarithmic distribution. Depending on input, function can return scalar, vector or matrix

Arguments

  1. Integer parameter k
  2. Parameter p, real value in (0,1)

Output

Resulting value in [0,1]

Examples

logarithmicdens