CoCoA:IsIn

From CoCoAWiki
Jump to: navigation, search
 <command>
   <title>IsIn</title>
   <short_description>check if one object is contained in another</short_description>
   <description>

The semantics of IsIn is explained in the following table: <verbatim>

   ----------------------------------------------------------------
  | POLY   IsIn  IDEAL   checks for ideal membership.              |
  | VECTOR IsIn  MODULE  checks for module membership.             |
  | OBJECT IsIn  LIST    checks if the list contains the object.   |
  | STRING IsIn  STRING  checks if the first string is a substring |
  |                      of the second one.                        |
   ----------------------------------------------------------------
                      IsIn operator

</verbatim>

   </description>
   <syntax>

E IsIn F

where E and F are CoCoA objects. For a precise description of allowable objects, see the full online help entry. </syntax>

   <type>boolean</type>
   <type>ideal</type>
   <type>list</type>
   <type>module</type>
   <type>polynomial</type>
   <type>string</type>
   <type>vector</type>
   <key>isin</key>
 </command>