/usr/include/singular/singular/kernel/fglm/fglmgauss.h is in libsingular4-dev-common 1:4.1.0-p3+ds-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | // emacs edit mode for this file is -*- C++ -*-
/****************************************
* Computer Algebra System SINGULAR *
****************************************/
/*
* ABSTRACT - header file for the gauss - reducer
* (used by fglm)
*/
#ifndef FGLMGAUSS_H
#define FGLMGAUSS_H
#include <kernel/structs.h>
#include <kernel/fglm/fglmvec.h>
class gaussElem;
class gaussReducer
{
private:
gaussElem * elems;
BOOLEAN * isPivot;
int * perm;
fglmVector v;
fglmVector p;
number pdenom;
int size;
int max;
public:
gaussReducer( int dimen );
~gaussReducer();
// reduce returns TRUE, if v reduces to 0, FALSE otherwise;
BOOLEAN reduce( fglmVector v );
// if a vector does not reduce to zero, then it can be stored as a new gauss
// vector.
// Has to be called after reduce!
void store();
// if a vector reduces to zero, then one can get the corresponding fglmVector
// of the linear dependence
// Has to be called after reduce!
fglmVector getDependence();
};
#endif
|