Skip to content
Skip to main navigation
Skip to first column
Skip to second column
Singular
Search
Download 4-2-0
Try Online
Online Manual
Graphical Interface
Report Bugs
Books
Teams
Join Us
Home
Online Manual
D.2.9.3 subset
Procedure from library
redcgs.lib
(see
redcgs_lib
).
Usage:
subset(J,K);
(J,K) expected (ideal,ideal)
or (list, list)
Return:
1 if all the elements of J are in K, 0 if not.
Example:
LIB "redcgs.lib"; list J=list(7,3,2); list K=list(1,2,3,5,7,8); subset(J,K); ==> 1
Main
Home
News
Publications
How to cite Singular
Community
Forum
Trac
Events
Mailing List
Blog
System
New Libraries
Source Code
Open Tasks
Third-party software
Misc
Links
Contact
Impressum
Internal