Chi2fit.Statistics.puiseaux

You're seeing just the function puiseaux, go back to Chi2fit.Statistics module for more information.
Link to this function

puiseaux(list, result \\ [], flag \\ false)

View Source

Specs

puiseaux([number()], [number()], boolean()) :: [number()]

Converts the input so that the result is a Puiseaux diagram, that is a strict convex shape.

Examples

iex> puiseaux [1]
[1]

iex> puiseaux [5,3,3,2]
[5, 3, 2.5, 2]