Macaulay2 » Documentation
Packages » OpenMath :: OpenMath
next | previous | forward | backward | up | index | toc

OpenMath -- OpenMath support

Description

This package provides methods for representing Macaulay2 objects using the OpenMath standard and vice versa.

See also

Author

Version

This documentation describes version 0.2.2 of OpenMath.

Citation

If you have used this package in your research, please cite it as follows:

@misc{OpenMathSource,
  title = {{OpenMath: OpenMath for \emph{Macaulay2}. Version~0.2.2}},
  author = {Dan Roozemond},
  howpublished = {A \emph{Macaulay2} package available at
    \url{https://github.com/Macaulay2/M2/tree/master/M2/Macaulay2/packages}}
}

Exports

  • Functions and commands
    • openMath -- Turn an arbitrary Macaulay2 object into OpenMath (if possible)
    • val -- Evaluate an XMLnode containing OpenMath
  • Methods
    • openMath(Thing) -- see openMath -- Turn an arbitrary Macaulay2 object into OpenMath (if possible)
    • val(XMLnode) -- see val -- Evaluate an XMLnode containing OpenMath
    • value(XMLnode) -- see val -- Evaluate an XMLnode containing OpenMath

For the programmer

The object OpenMath is a package, defined in OpenMath.m2, with auxiliary files in OpenMath/.


The source of this document is in OpenMath.m2:85:0.