source: git/Singular/dyn_modules/gfanlib/bbcone.h @ d770e6

spielwiese
Last change on this file since d770e6 was d770e6, checked in by Yue Ren <ren@…>, 10 years ago
new: initialReduction
  • Property mode set to 100644
File size: 1.1 KB
Line 
1#ifndef BBCONE_H
2#define BBCONE_H
3
4#include <kernel/mod2.h>
5
6#if HAVE_GFANLIB
7
8#include <misc/intvec.h>
9#include <coeffs/bigintmat.h>
10#include <Singular/ipid.h>
11
12#include <gfanlib/gfanlib.h>
13
14extern int coneID;
15
16void bbcone_setup(SModulFunctions* p);
17
18/***
19 * Conversion functions for data types
20 **/
21gfan::Integer* numberToInteger(const number &n);
22number integerToNumber(const gfan::Integer &I);
23bigintmat* zVectorToBigintmat(const gfan::ZVector &zv);
24bigintmat* zMatrixToBigintmat(const gfan::ZMatrix &zm);
25gfan::ZMatrix* bigintmatToZMatrix(const bigintmat &bim);
26gfan::ZVector* bigintmatToZVector(const bigintmat &bim);
27
28gfan::ZVector intStar2ZVector(const int d, const int* i);
29int* ZVectorToIntStar(const gfan::ZVector &v, bool &overflow);
30char* toString(gfan::ZMatrix const &m);
31std::string toString(const gfan::ZCone* const c);
32
33/***
34 * Other functions
35 **/
36int getDimension(gfan::ZCone* zc);
37int getCodimension(gfan::ZCone* zc);
38int getLinealityDimension(gfan::ZCone* zc);
39gfan::ZVector randomPoint(const gfan::ZCone* zc);
40gfan::ZCone liftUp(const gfan::ZCone &zc);
41
42#endif
43#endif
Note: See TracBrowser for help on using the repository browser.