我正在尝试获得以下泰勒级数展开的系数矩阵
(%i47) SS: taylor( matrix( [sin(h)], [cos(t)] ) , [h,t], [h_0, t_0], 1 );
[ sin(h_0) + cos(h_0) (h - h_0) + . . . ]
(%o47)/T/ [ ]
[ cos(t_0) - sin(t_0) (t - t_0) + . . . ]
现在我有了泰勒展开式,我想要这个形式A[h;t] + b
。
coefmatrix( SS, [h,t,1] );
[ sin(h_0) + cos(h_0) (h - h_0) + . . . ]
coefmatrix: improper argument: [ ]
[ cos(t_0) - sin(t_0) (t - t_0) + . . . ]
-- an error. To debug this try: debugmode(true);
这最后一步给出了错误。我怎样才能实现我的愿望?