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

spielwiese
Last change on this file since 9996416 was 9996416, checked in by Oleksandr Motsak <motsak@…>, 10 years ago
Better builtin handling
  • Property mode set to 100644
File size: 1.0 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);
29char* toString(gfan::ZMatrix const &m);
30std::string toString(const gfan::ZCone* const c);
31
32/***
33 * Other functions
34 **/
35int getDimension(gfan::ZCone* zc);
36int getCodimension(gfan::ZCone* zc);
37int getLinealityDimension(gfan::ZCone* zc);
38gfan::ZVector randomPoint(const gfan::ZCone* zc);
39gfan::ZCone liftUp(const gfan::ZCone &zc);
40
41#endif
42#endif
Note: See TracBrowser for help on using the repository browser.