Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 


Quelle  chap1.html   Sprache: HTML

 
 products/sources/formale Sprachen/GAP/pkg/openmath/doc/chap1.html


<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>GAP (openmath) - Chapter 1: Introduction and installation</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="generator" content="GAPDoc2HTML" />
<link rel="stylesheet" type="text/css" href="manual.css" />
<script src="manual.js" type="text/javascript"></script>
<script type="text/javascript">overwriteStyle();</script>
</head>
<body class="chap1"  onload="jscontent()">


<div class="chlinktop"><span class="chlink1">Goto Chapter: </span><a href="chap0.html">Top</a>  <a href="chap1.html">1</a>  <a href="chap2.html">2</a>  <a href="chap3.html">3</a>  <a href="chapBib.html">Bib</a>  <a href="chapInd.html">Ind</a>  </div>

<div class="chlinkprevnexttop"> <a href="chap0.html">[Top of Book]</a>   <a href="chap0.html#contents">[Contents]</a>    <a href="chap0.html">[Previous Chapter]</a>    <a href="chap2.html">[Next Chapter]</a>   </div>

<p id="mathjaxlink" class="pcenter"><a href="chap1_mj.html">[MathJax on]</a></p>
<p><a id="X7FE7D77A82FEB4AB" name="X7FE7D77A82FEB4AB"></a></p>
<div class="ChapSects"><a href="chap1.html#X7FE7D77A82FEB4AB">1 <span class="Heading">Introduction and installation</span></a>
<div class="ContSect"><span class="tocline"><span class="nocss"> </span><a href="chap1.html#X7DECBB1287D90D79">1.1 <span class="Heading">Brief description of the package</span></a>
</span>
</div>
<div class="ContSect"><span class="tocline"><span class="nocss"> </span><a href="chap1.html#X79E1ED167D631DCC">1.2 <span class="Heading">Installation of the package</span></a>
</span>
</div>
</div>

<h3>1 <span class="Heading">Introduction and installation</span></h3>

<p><a id="X7DECBB1287D90D79" name="X7DECBB1287D90D79"></a></p>

<h4>1.1 <span class="Heading">Brief description of the package</span></h4>

<p>The <strong class="pkg">GAP</strong> package <strong class="pkg">OpenMath</strong> provides an <strong class="pkg">OpenMath</strong> phrasebook for <strong class="pkg">GAP</strong>: it allows <strong class="pkg">GAP</strong> users to import and export mathematical objects encoded in <strong class="pkg">OpenMath</strong> for the purpose of exchanging them with other <strong class="pkg">OpenMath</strong>-enabled applications.</p>

<p>This manual describes:</p>


<ul>
<li><p>how to view <strong class="pkg">OpenMath</strong> representation of an object;</p>

</li>
<li><p>how to read <strong class="pkg">OpenMath</strongobject from stream or write it to stream for the purposes of exchange with another <strong class="pkg">OpenMath</strong>-enabled application;</p>

</li>
<li><p>how to find which objects can be converted to/from <strong class="pkg">OpenMath</strong> using this package;</p>

</li>
<li><p>how to extend the package to support private <strong class="pkg">OpenMath</strong> content dictionaries.</p>

</li>
</ul>
<p>For the detailed information about <strong class="pkg">OpenMath</strong> standard and content dictionaries see the <strong class="pkg">OpenMath</strong> homepage <span class="URL"><a href="https://www.openmath.org">https://www.openmath.org</a></span>.</p>

<p>For practical purposes, the <strong class="pkg">OpenMath</strong> package will be most efficient if used in conjunction with the <strong class="pkg">GAP</strong> package <strong class="pkg">SCSCP</strong> (<a href="chapBib.html#biBSCSCPpkg">[KL]</a>) which implements the Symbolic Computation Software Composability protocol (<a href="chapBib.html#biBSCSCPspec">[FHK+c]</a>). This protocol specifies an <strong class="pkg">OpenMath</strong>-based remote procedure call framework, in which all messages (procedure calls and returns of results of successful computation or error messages) are encoded in <strong class="pkg">OpenMath</strong> using content dictionaries <strong class="pkg">scscp1</strong> and <strong class="pkg">scscp2</strong> (<a href="chapBib.html#biBscscp1cd">[FHK+a]</a>, <a href="chapBib.html#biBscscp2cd">[FHK+b]</a>). Using the <strong class="pkg">SCSCP</strong> package, <strong class="pkg">GAP</strong> can communicate locally or remotely with any other <strong class="pkg">OpenMath</strong>-enabled <strong class="pkg">SCSCP</strong>-compliant application which may be not only another computer algebra system but also another instance of the <strong class="pkg">GAP</strong> system or even, for example, an external C/C++ or Java application. Such communication will go into a seamless manner with the <strong class="pkg">GAP</strong>/<strong class="pkg">OpenMath</strong> conversion going in the background.</p>

<p><a id="X79E1ED167D631DCC" name="X79E1ED167D631DCC"></a></p>

<h4>1.2 <span class="Heading">Installation of the package</span></h4>

<p>To use the <strong class="pkg">OpenMath</strong> package it is required to install the <strong class="pkg">GAPDoc</strong> package <a href="chapBib.html#biBGAPDoc">[LN]</a> to use the help system and parse <strong class="pkg">OpenMath</strong> objects in the XML format.</p>

<p>To install the <strong class="pkg">OpenMath</strong> package, unpack the archive and place the <code class="file">openmath</code> directory in the <code class="file">pkg</code> subdirectory of your <strong class="pkg">GAP</strong>4.4 installation. When you don't have write access to the directory of your main GAP installation, you can also install the package outside the GAP main directory by unpacking it inside a directory MYGAPDIR/pkg. Then to be able to load OpenMath you need to call GAP with the -l ";MYGAPDIR" option.



<p>When the <strong class="pkg">OpenMath</strong> package is installed, it may be loaded as shown below (possibly loading required packages at the same time):</p>


<div class="example"><pre>

<span class="GAPprompt">gap></span> <span class="GAPinput">LoadPackage("openmath");</span>
-----------------------------------------------------------------------------
Loading  OpenMath 11.5.2 (OpenMath functionality in GAP)
by Marco Costantini,
   Olexandr Konovalov (https://alex-konovalov.github.io/),
   Max Nicosia (http://www-edc.eng.cam.ac.uk/~lmn27/), and
   Andrew Solomon.
maintained by:
   Olexandr Konovalov (https://alex-konovalov.github.io/) and
   Max Nicosia (http://www-edc.eng.cam.ac.uk/~lmn27/).
Homepage: https://gap-packages.github.io/openmath
Report issues at https://github.com/gap-packages/openmath/issues
-----------------------------------------------------------------------------
true

</pre></div>


<div class="chlinkprevnextbot"> <a href="chap0.html">[Top of Book]</a>   <a href="chap0.html#contents">[Contents]</a>    <a href="chap0.html">[Previous Chapter]</a>    <a href="chap2.html">[Next Chapter]</a>   </div>


<div class="chlinkbot"><span class="chlink1">Goto Chapter: </span><a href="chap0.html">Top</a>  <a href="chap1.html">1</a>  <a href="chap2.html">2</a>  <a href="chap3.html">3</a>  <a href="chapBib.html">Bib</a>  <a href="chapInd.html">Ind</a>  </div>

<hr />
<p class="foot">generated by <a href="http://www.math.rwth-aachen.de/~Frank.Luebeck/GAPDoc">GAPDoc2HTML</a></p>
</body>
</html>

97%


¤ Dauer der Verarbeitung: 0.15 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung ist noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge