Post Reply 
exact results with roots
01-25-2015, 04:21 PM (This post was last modified: 01-25-2015 04:22 PM by Han.)
Post: #7
RE: exact results with roots
(01-25-2015 04:16 PM)salvomic Wrote:  any help to have a template for this? - I'm not so able for now with the new language...

(having a matrix selected)
(matdim is a variable = matrix dimension)

- mat2list (M) ;-)
- apply QPI program ;-)
- list2mat (M, matdim)
- results (again the matrix but with QPI applied)

:-)

Thank you in advance!

Code:
#cas
qpimat(m):=
BEGIN
  local s:=dim(m);
  m:=mat2list(m);
  m:=QPI(m);
  m:=list2mat(m,s(2)); 
  return m;
END;
#end

Create a new program named qpimat and make sure it's a CAS program. Then type in the code above. Note that you must be in CAS view in order to see symbolic matrices. In Home view, qpimat does nothing.

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


Messages In This Thread
exact results with roots - salvomic - 01-24-2015, 01:29 PM
RE: exact results with roots - Han - 01-24-2015, 01:32 PM
RE: exact results with roots - salvomic - 01-24-2015, 03:06 PM
RE: exact results with roots - Han - 01-24-2015, 06:23 PM
RE: exact results with roots - salvomic - 01-24-2015, 06:41 PM
RE: exact results with roots - salvomic - 01-25-2015, 04:16 PM
RE: exact results with roots - Han - 01-25-2015 04:21 PM
RE: exact results with roots - salvomic - 01-25-2015, 05:56 PM
RE: exact results with roots - Han - 01-25-2015, 10:33 PM
RE: exact results with roots - salvomic - 01-25-2015, 10:39 PM
RE: exact results with roots - salvomic - 03-05-2015, 10:30 AM



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