The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Programming help: MAKEMAT in CAS
12-20-2013, 06:55 PM
Post: #1
Programming help: MAKEMAT in CAS
What am I doing wrong here?

In a program, I have:

Quote:LOCAL flist = {'2*x+y', 'y', 'x^2'};
LOCAL vlist = {'x', 'y'};
CAS(EXPR("jac:=MAKEMAT(0," + SIZE(flist) + "," + SIZE(vlist) + ")"));
MSGBOX(CAS.jac);

The message box says "jac". I'm expecting a matrix.

I've tried so many different permutations of this recipe. I just can't understand how to perform this simple task.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Programming help: MAKEMAT in CAS - dizzy - 12-20-2013 06:55 PM
RE: Programming help: MAKEMAT in CAS - Han - 12-20-2013, 07:30 PM



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