Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
kernel
fglm
fglmgauss.h
Go to the documentation of this file.
1
// emacs edit mode for this file is -*- C++ -*-
2
3
/****************************************
4
* Computer Algebra System SINGULAR *
5
****************************************/
6
/*
7
* ABSTRACT - header file for the gauss - reducer
8
* (used by fglm)
9
*/
10
#ifndef FGLMGAUSS_H
11
#define FGLMGAUSS_H
12
13
#include <
kernel/structs.h
>
14
#include <
kernel/fglm/fglmvec.h
>
15
16
class
gaussElem
;
17
18
class
gaussReducer
19
{
20
private
:
21
gaussElem
*
elems
;
22
BOOLEAN
*
isPivot
;
23
int
*
perm
;
24
fglmVector
v
;
25
fglmVector
p
;
26
number
pdenom
;
27
int
size
;
28
int
max
;
29
public
:
30
gaussReducer
(
int
dimen );
31
~gaussReducer
();
32
33
// reduce returns TRUE, if v reduces to 0, FALSE otherwise;
34
BOOLEAN
reduce
(
fglmVector
v );
35
36
// if a vector does not reduce to zero, then it can be stored as a new gauss
37
// vector.
38
// Has to be called after reduce!
39
void
store
();
40
41
// if a vector reduces to zero, then one can get the corresponding fglmVector
42
// of the linear dependence
43
// Has to be called after reduce!
44
fglmVector
getDependence
();
45
};
46
47
#endif
gaussReducer::~gaussReducer
~gaussReducer()
Definition:
fglmgauss.cc:74
gaussReducer::isPivot
BOOLEAN * isPivot
Definition:
fglmgauss.h:22
structs.h
gaussReducer::max
int max
Definition:
fglmgauss.h:28
fglmVector
Definition:
fglmvec.h:18
gaussReducer::store
void store()
Definition:
fglmgauss.cc:160
fglmvec.h
gaussReducer::v
fglmVector v
Definition:
fglmgauss.h:24
gaussReducer::getDependence
fglmVector getDependence()
Definition:
fglmgauss.cc:197
gaussReducer::reduce
BOOLEAN reduce(fglmVector v)
Definition:
fglmgauss.cc:90
gaussElem
Definition:
fglmgauss.cc:24
gaussReducer::perm
int * perm
Definition:
fglmgauss.h:23
gaussReducer::gaussReducer
gaussReducer(int dimen)
Definition:
fglmgauss.cc:58
gaussReducer::pdenom
number pdenom
Definition:
fglmgauss.h:26
gaussReducer
Definition:
fglmgauss.h:18
gaussReducer::size
int size
Definition:
fglmgauss.h:27
gaussReducer::elems
gaussElem * elems
Definition:
fglmgauss.h:21
BOOLEAN
int BOOLEAN
Definition:
auxiliary.h:88
gaussReducer::p
fglmVector p
Definition:
fglmgauss.h:25
Generated on Mon Mar 6 2017 11:17:28 by
doxygen 1.8.8
for
Singular debian-1:4.0.3-p3+ds-5~bpo8+1