GiNaC  1.6.2
Public Member Functions | Public Attributes
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...

List of all members.

Public Member Functions

bool operator< (const sym_desc &x) const
 Commparison operator for sorting.

Public Attributes

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

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.


Member Function Documentation

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

Commparison operator for sorting.

Definition at line 145 of file normal.cpp.

References max_deg, and max_lcnops.


Member Data Documentation

Reference to symbol.

Definition at line 124 of file normal.cpp.

Referenced by GiNaC::add_symbol().

Highest degree of symbol in polynomial "a".

Definition at line 127 of file normal.cpp.

Highest degree of symbol in polynomial "b".

Definition at line 130 of file normal.cpp.

Lowest degree of symbol in polynomial "a".

Definition at line 133 of file normal.cpp.

Lowest degree of symbol in polynomial "b".

Definition at line 136 of file normal.cpp.

Maximum of deg_a and deg_b (Used for sorting)

Definition at line 139 of file normal.cpp.

Referenced by operator<().

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

Definition at line 142 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.