Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/pkg/classicpres/lib/   (GAP Algebra Version 4.15.1©)  Datei vom 19.9.2021 mit Größe 1 kB image not shown  

Quelle  omega.gi   Sprache: Shell

 

InstallGlobalFunction(Internal_StandardPresentationForOmega@,function(d,K)
#  -> ,GrpSLP ,[ ,]  return standard presentation for Omega ( d , q )
local Presentation,Projective,Type,q;
  Projective:=ValueOption("Projective");
  if Projective=fail then
    Projective:=false;
  fi;
  Presentation:=ValueOption("Presentation");
  if Presentation=fail then
    Presentation:=false;
  fi;
  Type:=ValueOption("Type");
  if Type=fail then
    Type:="Omega+";
  fi;

  if IsInt(K) then
    if not IsPrimePowerInt(K) then
      Error("<q> must be a prime power");
    fi;
    q:=K;
    K:=GF(q);
  else
    if not IsField(K) and IsFinite(K) then 
      Error("<K> must be a finite field");
    fi;
    q:=Size(K);
  fi;

  if Type="Omega" then
      if not IsOddInt(d) and d >= 3 then
      Error("Degree must be odd and at least 3");
    fi;
    if not IsOddInt(q) then
      Error("Field size must be odd");
    fi;
    return OmegaPresentation@(d,q:Projective:=Projective,
      Presentation:=Presentation);
  elif Type="Omega+" then
      if not IsEvenInt(d) and d >= 4 then
      Error("Degree must be even and at least 4");
    fi;
    return
     PlusPresentation@(d,q:Projective:=Projective,Presentation:=Presentation);
  elif Type="Omega-" then
      if not IsEvenInt(d) and d >= 4 then
      Error("Degree must be even and at least 4");
    fi;
    return
     MinusPresentation@(d,q:Projective:=Projective,Presentation:=Presentation);
  else
    Error("Invalid input");
  fi;
end);

Messung
CHZG
1009110096

¤ Dauer der Verarbeitung: 0.7 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover


Cephes Mathematical Library

Vienna Development Method

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 und die Messung sind noch experimentell.