Post Reply 
Jacobian of a Matrix
04-09-2018, 10:16 PM (This post was last modified: 04-09-2018 10:26 PM by Arno K.)
Post: #7
RE: Jacobian of a Matrix
I improved Han's program a little bit, now you can enter what you desire, with and without substitution:
Code:
#cas
 jacob(args):=
 begin
 local argv,argc,mat,f;
 LOCAL var,fn,j,k,gr,vd;
 argv:=[args];
 argc:=size(argv);
 IF argc == 3 THEN
   return subst(transpose(diff(argv[1],argv[2])),argv[3]);
  END;
 IF argc == 2 THEN
   return transpose(diff(argv[1],argv[2]));
  END;
 return "Input:[f1(x1,...,xn),...,fm(x1,...,xn)], [x1,...,xn][,[x1=a1,...xn=an]]"; 
 end;
#end
For its usage see the following picture.
Hope that helps
Arno


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Jacobian of a Matrix - salvomic - 05-15-2015, 08:20 PM
RE: Jacobian of a Matrix - Rudi - 03-25-2017, 02:51 PM
RE: Jacobian of a Matrix - Han - 03-25-2017, 03:23 PM
RE: Jacobian of a Matrix - Rudi - 03-26-2017, 11:36 AM
RE: Jacobian of a Matrix - sitomix - 04-09-2018, 12:49 PM
RE: Jacobian of a Matrix - salvomic - 04-09-2018, 03:00 PM
RE: Jacobian of a Matrix - Arno K - 04-15-2018, 10:38 PM
RE: Jacobian of a Matrix - Arno K - 04-09-2018 10:16 PM



User(s) browsing this thread: 1 Guest(s)