Macaulay2 » Documentation
Packages » Macaulay2Doc » The Macaulay2 language » making a new method function » method » MethodFunctionSingle
next | previous | forward | backward | up | index | toc

MethodFunctionSingle -- a type of method function

Description

The type of all method functions created with the option Dispatch set to Thing, such as code.

See also

Protected objects of class MethodFunctionSingle:

  • code -- display source code
  • commonest -- the most common elements of a list or tally
  • describe -- real description
  • directSum -- direct sum of modules or maps
  • document -- create a documentation node
  • makeDocumentTag -- see DocumentTag -- the class of all document tags
  • EXAMPLE -- construct a hypertext item from a Macaulay2 input string
  • examples -- list the examples in documentation
  • export -- export symbols from a package
  • exportMutable -- export mutable symbols from a package
  • expression -- convert to an expression
  • flatten -- flatten a nested list or a matrix
  • format -- format a string or real number
  • gradedModule -- make a graded module
  • hold -- hold something in a holder expression
  • hooks -- list hooks attached to a key
  • html -- convert to HTML format
  • hypertext -- prepare hypertext for display
  • ideal -- make an ideal
  • info -- convert hypertext to info format
  • isSorted -- whether a list is sorted
  • iterator -- get an iterator
  • length -- length of an object
  • locate -- locate source code
  • makePackageIndex -- create an index of installed packages
  • mathML -- convert to MathML format
  • max -- get the maximum element in a list or sequence
  • maxPosition -- position of the largest element
  • methods -- list methods
  • min -- get the minimum element in a list or sequence
  • minPosition -- position of the smallest element
  • monoid -- make or retrieve a monoid
  • monomialIdeal -- make a monomial ideal
  • net -- format for printing, as a net
  • newPackage -- the preamble of a package
  • options -- get options
  • package -- get containing package
  • pretty -- a pretty printer
  • regexQuote -- escape special characters in regular expressions
  • runLengthEncode -- run length encoding
  • setRandomSeed -- set starting point for random number generator
  • span -- construct smallest interval
  • SYNOPSIS -- a standardized synopsis for use in documentation nodes
  • tex -- convert to $\TeX$ format
  • texMath -- convert to TeX math format
  • toExternalString -- convert to a readable string
  • toList -- create a list
  • toString -- convert to a string
  • transpose -- transpose a matrix or table
  • undocumented -- declare that something need not be documented
  • unique -- eliminate duplicates from a list
  • use -- install or activate object
  • vars -- variables

For the programmer

The object MethodFunctionSingle is a type, with ancestor classes FunctionClosure < Function < Thing.


The source of this document is in Macaulay2Doc/ov_methods.m2:579:0.