26 #ifndef OPENF4_ELEMENT_GIVARO_H
27 #define OPENF4_ELEMENT_GIVARO_H
37 #include "givaro/modular-log16.h"
38 #include "givaro/modular-integer.h"
39 #include "givaro/gfq.h"
51 template <
class Field>
62 static void setField(Field & field);
68 static void setVariableName(std::string var);
84 ElementGivaro<Field> & addMult(ElementGivaro<Field>
const & element, ElementGivaro<Field>
const & mult);
91 ElementGivaro<Field> & inverse();
96 void printElementGivaro (std::ostream & stream)
const;
131 ElementGivaro & operator=(
typename Field::Element element);
139 ElementGivaro & operator=(std::string element);
147 ElementGivaro & operator*=(ElementGivaro
const & mult);
156 ElementGivaro & operator-=(ElementGivaro
const & element);
161 typename Field::Element _element;
164 static std::string VARIABLE_NAME;
174 template <
class Field>
175 std::ostream & operator<<(std::ostream & stream, ElementGivaro<Field>
const & element);
181 template <
class Field>
182 ElementGivaro<Field>
operator * (ElementGivaro<Field>
const & element1, ElementGivaro<Field>
const & element2);
188 template <
class Field>
189 ElementGivaro<Field>
operator - (ElementGivaro<Field>
const & element);
193 #include "../src/element-givaro.inl"
196 #endif // HAVE_GIVARO
197 #endif // OPENF4_ELEMENT_GIVARO_H
ElementPrime< baseType > operator-(ElementPrime< baseType > const &element)
Overload the operator -.
Wrapper for config.h in order to avoid multiple definitions.
Term< Element > operator*(Monomial const &mon, Term< Element > const &term)
Overload the operator *.