My Project
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
PolySimple Class Reference

#include <tgb_internal.h>

Public Member Functions

 PolySimple (poly p)
 
 PolySimple ()
 
 PolySimple (const PolySimple &a)
 
PolySimpleoperator= (const PolySimple &p2)
 
 ~PolySimple ()
 
bool operator< (const PolySimple &other) const
 
bool operator== (const PolySimple &other)
 

Data Fields

poly impl
 

Detailed Description

Definition at line 70 of file tgb_internal.h.

Constructor & Destructor Documentation

◆ PolySimple() [1/3]

PolySimple::PolySimple ( poly  p)
inline

Definition at line 73 of file tgb_internal.h.

74 {
75 impl=p;
76 }
int p
Definition: cfModGcd.cc:4078

◆ PolySimple() [2/3]

PolySimple::PolySimple ( )
inline

Definition at line 77 of file tgb_internal.h.

78 {
79 impl=NULL;
80 }
#define NULL
Definition: omList.c:12

◆ PolySimple() [3/3]

PolySimple::PolySimple ( const PolySimple a)
inline

Definition at line 81 of file tgb_internal.h.

82 {
83 //impl=p_Copy(a.impl,currRing);
84 impl=a.impl;
85 }

◆ ~PolySimple()

PolySimple::~PolySimple ( )
inline

Definition at line 93 of file tgb_internal.h.

94 {
95 //p_Delete(&impl,currRing);
96 }

Member Function Documentation

◆ operator<()

bool PolySimple::operator< ( const PolySimple other) const
inline

Definition at line 97 of file tgb_internal.h.

98 {
99 return pLmCmp(impl,other.impl)<0;
100 }
#define pLmCmp(p, q)
returns 0|1|-1 if p=q|p>q|p<q w.r.t monomial ordering
Definition: polys.h:105

◆ operator=()

PolySimple & PolySimple::operator= ( const PolySimple p2)
inline

Definition at line 86 of file tgb_internal.h.

87 {
88 //p_Delete(&impl,currRing);
89 //impl=p_Copy(p2.impl,currRing);
90 impl=p2.impl;
91 return *this;
92 }

◆ operator==()

bool PolySimple::operator== ( const PolySimple other)
inline

Definition at line 101 of file tgb_internal.h.

102 {
103 return pLmEqual(impl,other.impl);
104 }
#define pLmEqual(p1, p2)
Definition: polys.h:111

Field Documentation

◆ impl

poly PolySimple::impl

Definition at line 105 of file tgb_internal.h.


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