Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/tst/testlibgap/   (Algebra von RWTH Aachen Version 4.15.1©)  Datei vom 18.9.2025 mit Größe 617 B image not shown  

Quelle  common.c   Sprache: C

 
/*
 * Small program to test libgap linkability and basic working
 */

#include "common.h"

void test_eval(const char * cmd)
{
    Obj  res, ires;
    Int  rc, i, ok;
    printf("gap> %s\n", cmd);
    ok = GAP_Enter();
    if (ok) {
        res = GAP_EvalString(cmd);
        rc = GAP_LenList(res);
        for (i = 1; i <= rc; i++) {
            ires = GAP_ElmList(res, i);
            if (GAP_ElmList(ires, 1) == GAP_True) {
                Char * buffer = GAP_CSTR_STRING(GAP_ElmList(ires, 5));
                if (buffer)
                    printf("%s\n", buffer);
            }
        }
    }
    GAP_Leave();
}

95%


¤ Dauer der Verarbeitung: 0.11 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.