Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/pkg/float/lib/   (Algebra von RWTH Aachen Version 4.15.1©)  Datei vom 26.7.2025 mit Größe 852 B image not shown  

Quelle  fplll.gi   Sprache: unbekannt

 
#############################################################################
##
#W  fplll.gi                      GAP library               Laurent Bartholdi
##
#Y  Copyright (C) 2012 Laurent Bartholdi
##
##  This file deals with fplll's implementation of LLL lattice reduction
##

#!!! implement all options, arguments etc. to control quality of reduction
InstallMethod(FPLLLReducedBasis, [IsMatrix], function(m)
    while not ForAll(m,r->IsSubset(Integers,r)) do
        Error(m," must be an integer matrix");
    od;
    return @FPLLL(m,0,true,fail);
end);

InstallMethod(FPLLLShortestVector, [IsMatrix], function(m)
    while not ForAll(m,r->IsSubset(Integers,r)) do
        Error(m," must be an integer matrix");
    od;
    return @FPLLL(m,0,true,true);
end);

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

[ Dauer der Verarbeitung: 0.3 Sekunden  (vorverarbeitet)  ]