My Project  UNKNOWN_GIT_VERSION
Public Member Functions | Private Attributes
ConstTermReference< T > Class Template Reference

#include <Poly.h>

Public Member Functions

 operator T () const
 
 ConstTermReference (poly p, ring r)
 
bool isConstant () const
 

Private Attributes

ring r
 
poly t
 

Detailed Description

template<class T>
class ConstTermReference< T >

Definition at line 262 of file Poly.h.

Constructor & Destructor Documentation

◆ ConstTermReference()

template<class T >
ConstTermReference< T >::ConstTermReference ( poly  p,
ring  r 
)
inline

Definition at line 272 of file Poly.h.

273  {
274  this->t=p;
275  this->r=r;
276  }

Member Function Documentation

◆ isConstant()

template<class T >
bool ConstTermReference< T >::isConstant ( ) const
inline

Definition at line 277 of file Poly.h.

278  {
279  return p_LmIsConstant(t,r);
280  }

◆ operator T()

template<class T >
ConstTermReference< T >::operator T ( ) const
inline

Definition at line 268 of file Poly.h.

269  {
270  return T(p_Head(t,r),r);
271  }

Field Documentation

◆ r

template<class T >
ring ConstTermReference< T >::r
private

Definition at line 265 of file Poly.h.

◆ t

template<class T >
poly ConstTermReference< T >::t
private

Definition at line 266 of file Poly.h.


The documentation for this class was generated from the following file:
p_Head
static poly p_Head(poly p, const ring r)
Definition: p_polys.h:811
ConstTermReference::t
poly t
Definition: Poly.h:266
ConstTermReference::r
ring r
Definition: Poly.h:265
T
static jList * T
Definition: janet.cc:31
p
int p
Definition: cfModGcd.cc:4019
p_LmIsConstant
static BOOLEAN p_LmIsConstant(const poly p, const ring r)
Definition: p_polys.h:965