Changeset 69806a in git for libpolys/polys


Ignore:
Timestamp:
Nov 18, 2014, 10:18:34 AM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
Children:
74ec76637457a12f86e1aac1d0d62d5918e92d61806aa81abc5cb8a600086b328a894cb962aed3fb
Parents:
889c73e82f19ba5822a7a44e4284ce63de2a0951
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2014-11-18 10:18:34+01:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2014-11-18 10:19:05+01:00
Message:
fix+doc: FLINT_VER_2_4_5
Location:
libpolys/polys
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/flintconv.cc

    r889c73 r69806a  
    1010
    1111#include <misc/auxiliary.h>
     12#include "flintconv.h"
     13
     14#ifdef FLINT_VER_2_4_5
    1215#include <coeffs/coeffs.h>
    1316#include <polys/monomials/p_polys.h>
     
    2124#include "simpleideals.h"
    2225
    23 #include "flintconv.h"
    2426
    2527#ifdef HAVE_FLINT
     
    4850
    4951
    50 #ifdef FLINT_VER_2_4_5
    5152bigintmat* singflint_LLL(bigintmat*  m)
    5253{
  • libpolys/polys/flintconv.h

    r889c73 r69806a  
    11// emacs edit mode for this file is -*- C++ -*-
     2#ifndef LIBPOLYS_POLYS_FLINTCONV_H
     3#define LIBPOLYS_POLYS_FLINTCONV_H
    24/****************************************
    35*  Computer Algebra System SINGULAR     *
     
    68* ABSTRACT: convert data between Singular and Flint
    79*/
    8 #ifndef LIBPOLYS_POLYS_FLINTCONV_H
    9 #define LIBPOLYS_POLYS_FLINTCONV_H
     10/** @file flintconv.h
     11 *
     12 * This file is work in progress and currently not part of the official Singular
     13 *
     14 * @note the code is garded by the undefined macro FLINT_VER_2_4_5
     15 * In its current form it will never become an official part.
     16 * (conversion routines may be moved to other files/directories, etc.)
     17 *
     18 * ABSTRACT: Conversion to/from FLINT, and access to some FLINT-routines
     19 *
     20 * REQUIREMENTS:
     21 * - agreement about the interface to LLL
     22 * - SINGULAR_4_1
     23 * - FLINT providing LLL
     24 * (none of the above is currently true, but all of them is required)
     25 *
     26 **/
    1027
     28//  Have to define this when this code shall be used:
     29//#define FLINT_VER_2_4_5
     30#ifdef FLINT_VER_2_4_5
    1131#include <polys/matpol.h>
    1232#include <coeffs/bigintmat.h>
     
    1535
    1636#ifdef HAVE_FLINT
    17 
    1837#include <flint/flint.h>
    1938#include <flint/fmpz.h>
     
    2140#include <flint/fmpz_poly.h>
    2241#include <flint/fmpz_poly_mat.h>
    23 
    24 //  Have to define this when the new version of Flint is released
    25 //#define FLINT_VER_2_4_5
    26 
    27 #ifdef FLINT_VER_2_4_5
    2842#include <flint/fmpz_lll.h>
    29 #endif
    30 
    31 
    3243
    3344int convFlintISingI (fmpz_t f);
     
    3546void convFlintNSingN (mpz_t z, fmpz_t f);
    3647void convSingNFlintN(fmpz_t f, mpz_t z);
    37 #ifdef FLINT_VER_2_4_5
    3848bigintmat*  singflint_LLL(bigintmat* A);
    3949intvec* singflint_LLL(intvec* A);
    4050#endif
    41 #endif
    42 
    4351
    4452#endif
     53#endif
    4554// LIBPOLYS_POLYS_FLINTCONV_H
Note: See TracChangeset for help on using the changeset viewer.