source: git/dyn_modules/callgfanlib/bbcone.h @ 58b407

jengelh-datetimespielwiese
Last change on this file since 58b407 was 58b407, checked in by Hans Schoenemann <hannes@…>, 10 years ago
fix: loading of gfanlib.so, removed HAVE_FANS
  • Property mode set to 100644
File size: 1021 bytes
Line 
1#ifndef BBCONE_H
2#define BBCONE_H
3
4#include <kernel/mod2.h>
5
6#include <gfanlib/gfanlib.h>
7#include <libpolys/misc/intvec.h>
8#include <libpolys/coeffs/bigintmat.h>
9
10#include "Singular/ipid.h"
11
12extern int coneID;
13
14void bbcone_setup(SModulFunctions* p);
15
16/***
17 * Conversion functions for data types
18 **/
19gfan::Integer* numberToInteger(const number &n);
20number integerToNumber(const gfan::Integer &I);
21bigintmat* zVectorToBigintmat(const gfan::ZVector &zv);
22bigintmat* zMatrixToBigintmat(const gfan::ZMatrix &zm);
23gfan::ZMatrix* bigintmatToZMatrix(const bigintmat &bim);
24gfan::ZVector* bigintmatToZVector(const bigintmat &bim);
25
26gfan::ZVector* intStar2ZVector(const int d, const int* i);
27char* toString(gfan::ZMatrix const &m);
28std::string toString(const gfan::ZCone* const c);
29
30/***
31 * Other functions
32 **/
33int getDimension(gfan::ZCone* zc);
34int getCodimension(gfan::ZCone* zc);
35int getLinealityDimension(gfan::ZCone* zc);
36gfan::ZVector randomPoint(const gfan::ZCone* zc);
37gfan::ZCone liftUp(const gfan::ZCone &zc);
38
39#endif
Note: See TracBrowser for help on using the repository browser.