參考:http://blog.sina.com.cn/s/blog_4a033b090100pwjq.htmlhtml
基本公式:('表明轉置)spa
(1) Y=A*X --> DY/DX=A'htm
(2) Y=X*A --> DY/DX=Ablog
(3) Y=A'*X*B --> DY/DX=A*B'im
(4) Y=A'*X'*B --> DY/DX=B*A'd3
(5) Y=X'*A*X --> DY/DX=2AX (二次型求導,求解過程見http://www.cnblogs.com/fengzhiwu/p/5826563.html) db
矩陣向量求導法則:img