Top
Back: memberpos
Forward: pdivi2
FastBack:
FastForward:
Up: redcgs_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

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


Top Back: memberpos Forward: pdivi2 FastBack: FastForward: Up: redcgs_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 4.3.2, 2023, generated by texi2html.