Stirling numbers of the first kind

버전 1.0.0.0 (923 Bytes) 작성자: Steven Huang
This c-mex function obtains the Stirling numbers of the first kind.
다운로드 수: 1.5K
업데이트 날짜: 2005/7/15

라이선스 없음

The Stirling numbers of the first kind are defined as the coefficients of powers of x in the polynomials:

Q(x)=(x-1)(x-2)...(x-n). For example,

Q0(x)=1;
Q1(x)=x-1; %
Q2(x)=(x-1)(x-2)=x^2-3x+2;
Q3(x)=(x-1)(x-2)(x-3)=x^3-6x^2+11x-6;
...

This function calculate n>=2 case(n=0 and 1 are trivial case).

To use:
a = mStirling(4)
returns
a = 1 -10 35 -50 24

the coefficients are listed in ascending order of x.

인용 양식

Steven Huang (2024). Stirling numbers of the first kind (https://www.mathworks.com/matlabcentral/fileexchange/8030-stirling-numbers-of-the-first-kind), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R13
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0