CoCoA provides a variety of commands for manipulating lists. Note in
particular the command 'In' which is useful for building lists.
The following are commands and functions for lists:
* .. -- range operator
* >< -- Cartesian product
* Append -- append an object to an existing list
* BlockMatrix -- create a block matrix
* BringIn -- bring in objects from another ring
* Comp -- the N-th component of a list
* Concat, ConcatLists -- concatenate lists or lists of lists, respectively
* Count -- count the objects in a list
* Diff -- returns the difference between two lists
* Distrib -- the distribution of objects in a list
* EqSet -- checks if the set of elements in two lists are equal
* First -- the first N elements of a list
* Flatten -- flatten a list
* GBM, HGBM -- intersection of ideals for zero-dimensional schemes
* GenericPoints -- random projective points
* Head -- the first element of a list
* HIntersection, HIntersectionList -- intersection of ideals
* IdealAndSeparatorsOfPoints -- ideal & separators for affine points
* IdealAndSeparatorsOfProjectivePoints -- ideal & separators for points
* IdealOfPoints -- ideal of a set of affine points
* IdealOfProjectivePoints -- ideal of a set of projective points
* In -- create a list satisfying given conditions
* Insert, Remove -- insert or remove an object in a list
* Interpolate -- interpolating polynomial
* Interreduce, Interreduced -- interreduce a list of polynomials or vectors
* Intersection, IntersectionList -- intersect lists, ideals, or modules
* IsIn -- check if one object is contained in another
* Last -- the last N elements of a list
* Len -- the length of an object
* List -- convert an expression into a list
* Mat -- convert an expression into a matrix
* Max, Min -- a maximum or minimum element of a sequence or list
* Monic -- divide polynomials by their leading coefficients
* NewList -- create a new list
* NonZero -- remove zeroes from a list
* Product, Sum -- the product or sum of the elements of a list
* Reverse, Reversed -- reverse a list
* ScalarProduct -- scalar product
* SeparatorsOfPoints -- separators for affine points
* SeparatorsOfProjectivePoints -- separators for projective points
* Set -- remove duplicates from a list
* Size -- the amount of memory used by an object
* Sort, Sorted -- sort a list
* SortBy, SortedBy -- sort a list
* Submat -- submatrix
* SubSet, IsSubset -- checks if the elements of one list are a subset of another
* Subsets -- returns all sublists of a list
* Syz -- syzygy modules
* Tail -- remove the first element of a list
* Toric -- saturate toric ideals
* Toric.CheckInput -- check input to 'Toric'
* Tuples -- N-tuples
* WithoutNth -- removes the N-th component from a list
Details can be found by looking up each item by name. Online, try
'?ItemName' or 'H.Syntax("ItemName")'.
|