Eine aufbereitete Darstellung der Quelle

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

Benutzer

Quelle  testing.g   Sprache: unbekannt

 
Spracherkennung für: .g vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

#######################################################################
##
#W  testing.g          GAP OpenMath Package              Andrew Solomon
#W                                                     Marco Costantini
##
#Y  Copyright (C) 1999200020012006
#Y  School Math and Comp. Sci., University of St.  Andrews, Scotland
#Y  Copyright (C) 200420052006 Marco Costantini
##
##  testing functions
##

#######################################################################
##
#F  OMTestXML( <object> )
##
##  Converts to XML OpenMath and back. 
##  Returns true iff <object> is unchanged.
##
InstallGlobalFunction(OMTestXML, function(o)

 local
  p, # the object retrieved
  s, t; # stream and string resp.

 # output
 t := "";
 s := OutputTextString(t, false);
 OMPutObject( OpenMathXMLWriter(s), o);
 CloseStream(s);

 #input
 s := InputTextString(t);
 p := OMGetObject(s);
 CloseStream(s);

 return o = p;
 
end);


#######################################################################
##
#F  OMTestBinary( <object> )
##
##  Converts to binary OpenMath and back. 
##  Returns true iff <object> is unchanged.
##
InstallGlobalFunction(OMTestBinary, function(o)

 local
  p, # the object retrieved
  s, t; # stream and string resp.

 # output
 t := "";
 s := OutputTextString(t, false);
 OMPutObject( OpenMathBinaryWriter(s), o);
 CloseStream(s);

 #input
 s := InputTextString(t);
 p := OMGetObject(s);
 CloseStream(s);

 return o = p;
 
end);


#############################################################################
#E

[Dauer der Verarbeitung: 0.24 Sekunden, vorverarbeitet 2026-09-11]

                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1019547
#Domains=890699