Post Reply 
Existing CAS commands --> Prime discussion
12-09-2018, 05:19 PM (This post was last modified: 12-15-2018 03:02 PM by compsystems.)
Post: #48
RE: Existing CAS commands --> Prime discussion
op() function command: Transform a list into a object type sequence (undocumented command) . Please, make it visible in the catalog menu.

Source:
https://www-fourier.ujf-grenoble.fr/~par...akesuiteop

Sample: (Disable Textbook display for better understanding)
Input: (0,1,2)
Output : 0,1,2

Input: seq1:=0,1,2
Output : 0,1,2

Input : op([0,1,2])
Output: 0,1,2


---------------
the inverse command to op() is required

makevector() function command: Transform a sequence object into a list object
Source: https://www-fourier.ujf-grenoble.fr/~par...de367.html

Input: makevector(0,1,2)
Output: [0,1,2]

Input: seq1:=0,1,2
Output : 0,1,2

Input: makevector(seq1)
Output: [0,1,2]
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Existing CAS commands --> Prime discussion - compsystems - 12-09-2018 05:19 PM



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