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

spielwiese
Last change on this file since f6d790 was f6d790, checked in by Oleksandr Motsak <motsak@…>, 10 years ago
Renamed modules "call{gfanlib,polymake}" -> {gfanlib,polymake}
  • Property mode set to 100644
File size: 1002 bytes
Line 
1#ifndef BBCONE_H
2#define BBCONE_H
3
4#include <kernel/mod2.h>
5
6#include <gfanlib/gfanlib.h>
7#include <misc/intvec.h>
8#include <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.