Post Reply 
Jacobian of a Matrix
03-25-2017, 03:23 PM
Post: #3
RE: Jacobian of a Matrix
A slightly shorter program:

Code:

#cas
jacob(args):=
begin
local argv, argc, mat, f, var, fn, j, k,  gr, vd;
argv:=[args];
argc:=size(argv);
IF argc !=2 THEN
return "Input:[f1(x1,...,xn),...,fm(x1,...,xn)], [x1,...,xn]"; 
ELSE
return transpose(diff(argv[1],argv[2]));
END;
end;
#end

Basically, the Jacobian is: transpose(diff([f1,f2,...,fm], [x1,x2,...,xn]))

Graph 3D | QPI | SolveSys
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)