Demonstration program for using CAS with PPL
|
01-18-2014, 01:46 AM
(This post was last modified: 01-21-2014 09:05 PM by Han.)
Post: #2
|
|||
|
|||
RE: Demonstration program for using CAS with PPL
Here's a modification of your code to use only local variables. Moreover, after the program is finished, you won't be left with a lot of temporary CAS variables of the form \( a_{ij\underline{ }} \) active in the CAS view. Lastly, no global variables are altered in the process.
The idea is that since the command will ultimately be delimited by double quotes, then we can use local variables and string addition to do any intermediate calculations which do not actually involve CAS commands. The string manipulation can then be saved as a local variable. So using CAS(locavariable) is fine because the CAS() command itself is a non-CAS command, so it can handle local variables. If localvariable is a string, then all is well. PHP Code: EXPORT Beam2_Solve(matrix,guess) Graph 3D | QPI | SolveSys |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Demonstration program for using CAS with PPL - Michael de Estrada - 12-18-2013, 05:46 PM
RE: Demonstration program for using CAS with PPL - Han - 01-18-2014 01:46 AM
RE: Demonstration program for using CAS with PPL - Michael de Estrada - 01-19-2014, 06:00 PM
RE: Demonstration program for using CAS with PPL - Han - 01-21-2014, 05:05 AM
RE: Demonstration program for using CAS with PPL - Michael de Estrada - 01-21-2014, 02:48 PM
RE: Demonstration program for using CAS with PPL - Han - 01-21-2014, 04:38 PM
RE: Demonstration program for using CAS with PPL - Michael de Estrada - 01-21-2014, 04:42 PM
RE: Demonstration program for using CAS with PPL - Han - 01-21-2014, 09:04 PM
RE: Demonstration program for using CAS with PPL - Michael de Estrada - 01-21-2014, 05:03 PM
|
User(s) browsing this thread: 1 Guest(s)