Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/GAP/pkg/polymaking/lib/   (Algebra von RWTH Aachen Version 4.15.1©)  Datei vom 4.9.2023 mit Größe 1 kB image not shown  

Quelle  Objects.gd   Sprache: unbekannt

 
#############################################################################
##
#W Objects.gd            polymaking Package      Marc Roeder
##
##  

##
##
#Y   Copyright (C) 2006 Marc Roeder 
#Y 
#Y This program is free software; you can redistribute it and/or 
#Y modify it under the terms of the GNU General Public License 
#Y as published by the Free Software Foundation; either version 2 
#Y of the License, or (at your option) any later version. 
#Y 
#Y This program is distributed in the hope that it will be useful, 
#Y but WITHOUT ANY WARRANTY; without even the implied warranty of 
#Y MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
#Y GNU General Public License for more details. 
#Y 
#Y You should have received a copy of the GNU General Public License 
#Y along with this program; if not, write to the Free Software 
#Y Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
##
DeclareCategory("IsPolymakeObject",IsObject);

DeclareRepresentation("IsPolymakeObjectRep",
        IsComponentObjectRep,
        ["dir",
         "filename",
         "knownProperties"]
        );

#
#Extracting Information:
#####################
DeclareOperation("DirectoryOfPolymakeObject",[IsPolymakeObject]);
DeclareOperation("FilenameOfPolymakeObject",[IsPolymakeObject]);
DeclareOperation("FullFilenameOfPolymakeObject",[IsPolymakeObject]);
DeclareOperation("KnownPropertiesOfPolymakeObject",[IsPolymakeObject]);
DeclareOperation("NamesKnownPropertiesOfPolymakeObject",[IsPolymakeObject]);
DeclareOperation("PropertyOfPolymakeObject",[IsPolymakeObject,IsString]);

#
#Manipulating contents of a polygon:
###############################

DeclareOperation("ClearPolymakeObject",[IsPolymakeObject]);
DeclareOperation("ClearPolymakeObject",[IsPolymakeObject,IsDenseList]);

DeclareOperation("UnbindKnownPropertyOfPolymakeObject",[IsPolymakeObject,IsString]);
DeclareOperation("WriteKnownPropertyToPolymakeObject",[IsPolymakeObject,IsString,IsObject]);

[ Dauer der Verarbeitung: 0.21 Sekunden  (vorverarbeitet)  ]