标签:
EXAMPLE:
递推式: d(n + 2) = p * d(n + 1) + (1 - p) * d(n);
令G(n) = (d(n + 2), d(n + 1))^T;
则 G(n + 1) = M * G(n);
解得 M = p 1 - p
1 0
G(n) = (M ^ n) * G(0);
#
递推式转化为矩阵形式
原文地址:http://www.cnblogs.com/sunus/p/4404273.html