ElementarySymmetricFunctions
ElementarySymmetricFunctions.esf_sum
— Methodesf_sum(x)
Compute the elementary symmetric functions of order k = 1, ..., n where n = length(x)
Examples
julia> esf_sum([3.5118, .6219, .2905, .8450, 1.8648])
6-element Array{Float64,1}:
1.0
7.134
16.9493
16.7781
7.05289
0.999736
ElementarySymmetricFunctions.esf_sum_reg
— Methodesf_sum_reg(x)
Compute the elementary symmetric functions of order k = 1, ..., n where n = length(x). Values are computed regularized by the binomial coefficient binomial(n, k) to prevent over/under-flow.
Examples
julia> esf_sum_reg([3.5118, .6219, .2905, .8450, 1.8648])
6-element Array{Float64,1}:
1.0
1.4268
1.69493
1.67781
1.41058
0.999736