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

- val(XMLnode) -- Evaluate an XMLnode containing OpenMath

## Author

- Dan Roozemond <dan.roozemond@gmail.com>

## Version

This documentation describes version 0.2.2 of OpenMath, released March 16, 2011.

## 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/stable/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 /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/OpenMath.m2:85:0.