CoCoALib-0.9905 date: 23 May 2007


degree.H File Reference

#include "CoCoA/utils.H"
#include "CoCoA/ZZ.H"
#include <cstddef>
#include <vector>
#include <iosfwd>

Include dependency graph for degree.H:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  CoCoA
namespace  CoCoA::OrdvArith

Classes

class  CoCoA::degree

Functions

std::size_t CoCoA::GradingDim (const degree &d)
 Computes "dimension" of the degree.
degree CoCoA::operator+ (const degree &d1, const degree &d2)
 Computes d1+d2.
degree CoCoA::operator- (const degree &d1, const degree &d2)
 Computes d1-d2.
degree CoCoA::top (const degree &d1, const degree &d2)
 i-th compt is max(d1[i], d2[i])
int CoCoA::cmp (const degree &d1, const degree &d2)
 lex comparison, result is <0,=0,>0
void CoCoA::SetComponent (degree &d, std::size_t index, const ZZ &value)
void CoCoA::SetComponent (degree &d, std::size_t index, long value)
std::ostream & CoCoA::operator<< (std::ostream &out, const degree &d)
 prints out the degree, handles dim=1 specially.
int CoCoA::FastCmp (const degree &d1, const degree &d2)
bool CoCoA::operator< (const degree &d1, const degree &d2)
bool CoCoA::operator<= (const degree &d1, const degree &d2)
bool CoCoA::operator> (const degree &d1, const degree &d2)
bool CoCoA::operator>= (const degree &d1, const degree &d2)
bool CoCoA::operator== (const degree &d1, const degree &d2)
bool CoCoA::operator!= (const degree &d1, const degree &d2)


Generated on Wed May 23 13:43:40 2007 for CoCoALib by  doxygen 1.4.6