Skip to content
Skip to main navigation
Skip to first column
Skip to second column
Singular
Search
Download 4-1-3
Try Online
Online Manual
Graphical Interface
Get Help
Report Bugs
Books
Teams
Join Us
Home
Online Manual
D.15.9.3 member
Procedure from library
combinat.lib
(see
combinat_lib
).
Usage:
member(e,L); e def, L list
Return:
1 if e is an element of L, 0 otherwise
Theory:
we require the elements involved to have a compare operator ==.
Example:
LIB "combinat.lib"; member(1,list(1,4,5)); ==> 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