GiNaC 1.8.7
Public Member Functions | Public Attributes | List of all members
GiNaC::sym_desc Struct Reference

This structure holds information about the highest and lowest degrees in which a symbol appears in two multivariate polynomials "a" and "b". More...

Public Member Functions

 sym_desc (const ex &s)
 Initialize symbol, leave other variables uninitialized. More...
 
bool operator< (const sym_desc &x) const
 Comparison operator for sorting. More...
 

Public Attributes

ex sym
 Reference to symbol. More...
 
int deg_a
 Highest degree of symbol in polynomial "a". More...
 
int deg_b
 Highest degree of symbol in polynomial "b". More...
 
int ldeg_a
 Lowest degree of symbol in polynomial "a". More...
 
int ldeg_b
 Lowest degree of symbol in polynomial "b". More...
 
int max_deg
 Maximum of deg_a and deg_b (Used for sorting) More...
 
size_t max_lcnops
 Maximum number of terms of leading coefficient of symbol in both polynomials. More...
 

Detailed Description

This structure holds information about the highest and lowest degrees in which a symbol appears in two multivariate polynomials "a" and "b".

A vector of these structures with information about all symbols in two polynomials can be created with the function get_symbol_stats().

See also
get_symbol_stats

Definition at line 122 of file normal.cpp.

Constructor & Destructor Documentation

◆ sym_desc()

GiNaC::sym_desc::sym_desc ( const ex s)
inline

Initialize symbol, leave other variables uninitialized.

Definition at line 124 of file normal.cpp.

Member Function Documentation

◆ operator<()

bool GiNaC::sym_desc::operator< ( const sym_desc x) const
inline

Comparison operator for sorting.

Definition at line 150 of file normal.cpp.

References max_deg, max_lcnops, and x.

Member Data Documentation

◆ sym

ex GiNaC::sym_desc::sym

Reference to symbol.

Definition at line 129 of file normal.cpp.

◆ deg_a

int GiNaC::sym_desc::deg_a

Highest degree of symbol in polynomial "a".

Definition at line 132 of file normal.cpp.

◆ deg_b

int GiNaC::sym_desc::deg_b

Highest degree of symbol in polynomial "b".

Definition at line 135 of file normal.cpp.

◆ ldeg_a

int GiNaC::sym_desc::ldeg_a

Lowest degree of symbol in polynomial "a".

Definition at line 138 of file normal.cpp.

◆ ldeg_b

int GiNaC::sym_desc::ldeg_b

Lowest degree of symbol in polynomial "b".

Definition at line 141 of file normal.cpp.

◆ max_deg

int GiNaC::sym_desc::max_deg

Maximum of deg_a and deg_b (Used for sorting)

Definition at line 144 of file normal.cpp.

Referenced by operator<().

◆ max_lcnops

size_t GiNaC::sym_desc::max_lcnops

Maximum number of terms of leading coefficient of symbol in both polynomials.

Definition at line 147 of file normal.cpp.

Referenced by operator<().


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

This page is part of the GiNaC developer's reference. It was generated automatically by doxygen. For an introduction, see the tutorial.