CoCoA:IsIn

From ApCoCoAWiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

IsIn

check if one object is contained in another

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>

Syntax

E IsIn F

where E and F are CoCoA objects.  For a precise description of
allowable objects, see the full online help entry.
   <type>boolean</type>
   <type>ideal</type>
   <type>list</type>
   <type>module</type>
   <type>polynomial</type>
   <type>string</type>
   <type>vector</type>