Post Reply 
CAS grad() function
05-25-2017, 08:35 PM
Post: #5
RE: CAS grad() function
You can write a short CAS program that will automatically generate the list of variables:

Code:
#cas
gradient(f):=
BEGIN
  return(grad(f,lvar(f)));
END;
#end

Usage: gradient(expression)

This snippet of code, however, is not fool proof. It assumes that all variables in the expression are in fact undefined variables.

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
CAS grad() function - KeithB - 05-24-2017, 08:20 PM
RE: CAS grad() function - Han - 05-25-2017, 01:02 AM
RE: CAS grad() function - KeithB - 05-25-2017, 03:09 PM
RE: CAS grad() function - Han - 05-25-2017, 08:21 PM
RE: CAS grad() function - Han - 05-25-2017 08:35 PM
RE: CAS grad() function - KeithB - 05-25-2017, 09:55 PM



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