My Project
Public Member Functions | Data Fields
resVector Struct Reference

Public Member Functions

void init ()
 
void init (const poly m)
 
poly getElem (const int i)
 index von 0 ... numVectors-1 More...
 
number getElemNum (const int i)
 index von 0 ... numVectors-1 More...
 

Data Fields

poly mon
 
poly dividedBy
 
bool isReduced
 
int elementOfS
 number of the set S mon is element of More...
 
int * numColParNr
 holds the index of u0, u1, ..., un, if (elementOfS == linPolyS) the size is given by (currRing->N) More...
 
number * numColVector
 holds the column vector if (elementOfS != linPolyS) More...
 
int numColVectorSize
 size of numColVector More...
 
number * numColVecCopy
 

Detailed Description

Definition at line 2000 of file mpr_base.cc.

Member Function Documentation

◆ getElem()

poly resVector::getElem ( const int  i)

index von 0 ... numVectors-1

Definition at line 2046 of file mpr_base.cc.

2047{
2048 assume( 0 < i || i > numColVectorSize );
2049 poly out= pOne();
2050 pSetCoeff( out, numColVector[i] );
2051 pTest( out );
2052 return( out );
2053}
int i
Definition: cfEzgcd.cc:132
#define assume(x)
Definition: mod2.h:387
#define pTest(p)
Definition: polys.h:415
#define pSetCoeff(p, n)
deletes old coeff before setting the new one
Definition: polys.h:31
#define pOne()
Definition: polys.h:315
int numColVectorSize
size of numColVector
Definition: mpr_base.cc:2039
number * numColVector
holds the column vector if (elementOfS != linPolyS)
Definition: mpr_base.cc:2036

◆ getElemNum()

number resVector::getElemNum ( const int  i)

index von 0 ... numVectors-1

Definition at line 2055 of file mpr_base.cc.

2056{
2057 assume( i >= 0 && i < numColVectorSize );
2058 return( numColVector[i] );
2059}

◆ init() [1/2]

void resVector::init ( )
inline

Definition at line 2003 of file mpr_base.cc.

2004 {
2005 isReduced = FALSE;
2006 elementOfS = SFREE;
2007 mon = NULL;
2008 }
#define FALSE
Definition: auxiliary.h:96
#define SFREE
Definition: mpr_base.h:15
#define NULL
Definition: omList.c:12
poly mon
Definition: mpr_base.cc:2023
int elementOfS
number of the set S mon is element of
Definition: mpr_base.cc:2028
bool isReduced
Definition: mpr_base.cc:2025

◆ init() [2/2]

void resVector::init ( const poly  m)
inline

Definition at line 2009 of file mpr_base.cc.

2010 {
2011 isReduced = FALSE;
2012 elementOfS = SFREE;
2013 mon = m;
2014 }
int m
Definition: cfEzgcd.cc:128

Field Documentation

◆ dividedBy

poly resVector::dividedBy

Definition at line 2024 of file mpr_base.cc.

◆ elementOfS

int resVector::elementOfS

number of the set S mon is element of

Definition at line 2028 of file mpr_base.cc.

◆ isReduced

bool resVector::isReduced

Definition at line 2025 of file mpr_base.cc.

◆ mon

poly resVector::mon

Definition at line 2023 of file mpr_base.cc.

◆ numColParNr

int* resVector::numColParNr

holds the index of u0, u1, ..., un, if (elementOfS == linPolyS) the size is given by (currRing->N)

Definition at line 2033 of file mpr_base.cc.

◆ numColVecCopy

number* resVector::numColVecCopy

Definition at line 2041 of file mpr_base.cc.

◆ numColVector

number* resVector::numColVector

holds the column vector if (elementOfS != linPolyS)

Definition at line 2036 of file mpr_base.cc.

◆ numColVectorSize

int resVector::numColVectorSize

size of numColVector

Definition at line 2039 of file mpr_base.cc.


The documentation for this struct was generated from the following file: