ytoy21cn 发表于 2007-7-22 10:49:03

maple中对向量求导

:Q 在maple中定义了一个带变量的向量,怎么实现对该向量的求导??

vn := vector();
with(linalg)
diff(vn, x);

diff命令不能直接对向量求导。

ytoy21cn 发表于 2007-7-22 10:56:38

经过查询,自己做个答复,解决了:L

diff({x, x^2, x^3}, x)

or

n:=vector():
map(diff,n,x);

[ 本帖最后由 ytoy21cn 于 2007-7-22 12:42 编辑 ]
页: [1]
查看完整版本: maple中对向量求导