# NOT RUN {
# Complete ordinary Bell Polynomial n=5, that is
# (y1^5) + 20(y1^3)(y2) + 30(y1)(y2^2) + 60(y1^2)(y3) + 120(y2)(y3) + 120(y1)(y4) + 120(y5)
BellPol(5,,FALSE)
# or
BellPol(5,0,FALSE)
# Complete exponential Bell Polynomial n=5, that is
# (y1^5) + 10(y1^3)(y2) + 15(y1)(y2^2) + 10(y1^2)(y3) + 10(y2)(y3) + 5(y1)(y4) + (y5)
BellPol(5)
# Partial ordinary Bell polynomial n=5 and m=3, that is
# 30(y1)(y2^2) + 60(y1^2)(y3)
BellPol(5,3,FALSE)
# Partial exponential Bell Polynomial n=5 and m=3, that is
# 15(y1)(y2^2) + 10(y1^2)(y3)
BellPol(5,3)
# }
Run the code above in your browser using DataLab