[top][index]
search for:

BasicList -- the class of all basic lists

The type BasicList is a member of the class Type. Each object of class BasicList is called a basic list.

Types of basic list :

  • CC -- the class of all complex numbers
  • Command -- the class of all commands
  • Eliminate -- elimination ordering
  • Expression -- the class of all expressions
  • Hybrid
  • IndexedVariable -- the class of all indexed variables
  • LowerBound
  • Manipulator -- the class of all file manipulators
  • MarkUpList -- the class of mark-up lists used with hypertext
  • MinorsComputation -- the class of all minors computations
  • MonoidElement -- the class of all monoid elements
  • MutableList -- the class of all mutable lists
  • Option -- the class of all pairs x => y
  • PfaffiansComputation -- the class of all Pfaffians computations
  • Position -- the class of all file positions
  • ProductOrder -- product ordering
  • PushforwardComputation -- a type of list used internally by pushForward1
  • Time -- the class of all timing results
  • VisibleList -- the class of all visible lists
  • A list is a sequence of expressions indexed by integers 0, 1, ..., N-1, where N is the length of the sequence.

    The reason for distinguishing List from BasicList is so lists can be treated as vectors, without everything else implemented as a basic list inheriting that behavior.

    Functions and methods returning a a basic list :

  • append(BasicList,Thing)
  • apply(BasicList,BasicList,Function) -- apply function to elements in pairs
  • apply(BasicList,Function) -- apply function to each element
  • deepSplice BasicList
  • drop(BasicList,{...}) -- drop some elements
  • drop(BasicList,ZZ) -- drop some elements
  • join(BasicList,BasicList)
  • mergePairs(BasicList,BasicList,Function)
  • prepend(Thing,BasicList)
  • reverse BasicList
  • select(BasicList,Function) -- select elements from a list
  • select(ZZ,BasicList,Function) -- select a limited number of elements from a list
  • splice BasicList
  • take(BasicList,{...}) -- take some elements from a list
  • take(BasicList,ZZ) -- take some elements from a list
  • Methods for using a basic list :

  • # BasicList -- length
  • all(BasicList,Function)
  • any(BasicList,Function)
  • BasicList # ZZ -- get element from list
  • BasicList #? ZZ -- check for element in list
  • BasicList ? BasicList
  • expression BasicList
  • horizontalJoin BasicList
  • maxPosition BasicList -- position of largest element
  • mingle BasicList
  • minPosition BasicList -- position of smallest element
  • net BasicList
  • pack(BasicList,ZZ)
  • pack(ZZ,BasicList)
  • peek2(BasicList,ZZ)
  • scan(BasicList,Function) -- apply a function to each element of a list
  • stack BasicList
  • toExternalString BasicList
  • toList BasicList -- list of elements
  • toSequence BasicList
  • toString BasicList

  • [top][index]
    search for: