Post Reply 
Existing CAS commands --> Prime discussion
12-17-2018, 02:22 PM (This post was last modified: 12-17-2018 02:27 PM by compsystems.)
Post: #60
RE: Existing CAS commands --> Prime discussion
is_included() function synonym of ⊂ is not yet visible in the hp-prime catalog.

is_included(set[ "a", "d" ], set[ "b", "a", "c", "a" ]) [↵] 0

For a more intuitive output the numeric value [>0]/0 should be symbolix true/false, in this way the use of the EVALB() command is avoided.

evalb(is_included(set[ "a", "d" ], set[ "b", "a", "c", "a" ])) [↵] false

test online
session Xcas

more on sets
http://www.hpmuseum.org/forum/thread-11968.html
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-17-2018 02:22 PM



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