REP_STRUCT< Series, Monomial > Class Template Reference

#include <quotient_series.hpp>

List of all members.

Public Member Functions

Public Attributes


Detailed Description

template<typename Series, typename Monomial>
class mmx::REP_STRUCT< Series, Monomial >

Definition at line 34 of file quotient_series.hpp.


Constructor & Destructor Documentation

~quotient_series_rep (  )  [inline]

Definition at line 46 of file quotient_series.hpp.

00046 {}

virtual ~unknown_rep (  )  [inline, virtual]

Definition at line 66 of file series_implicit.hpp.

00066                                  {
00067     mmx_delete<C> (s, l); }


Member Function Documentation

void normalize (  )  [inline]

Definition at line 45 of file series_implicit.hpp.

References mmx::C, and mmx::is_exact_zero().

00045                            {
00046     nat k=i1;
00047     while (i1 < i2 && is_exact_zero (s[i2-k-1])) i2--;
00048     while (i1 < i2 && is_exact_zero (s[i1-k])) i1++;
00049     if (i1 != k) {
00050       //mmerr << "    normalize " << i1 << " -- " << i2 << "\n";
00051       nat d= i1-k;
00052       C* s2= mmx_new<C> (i2-i1);
00053       for (nat i=0; i<i2-i1; i++) s2[i]= s[i+d];
00054       mmx_delete<C> (s, l);
00055       s= s2;
00056       l= i2-i1;
00057     }
00058   }

quotient_series_rep ( const Monomial m2  )  [inline]

Definition at line 44 of file quotient_series.hpp.

00044                                                  :
00045     f (1), m (m2) {}
  inline ~quotient_series_rep () {}

quotient_series_rep ( const Series &  f2,
const Monomial m2 
) [inline]

Definition at line 42 of file quotient_series.hpp.

00042                                                                    :
00043     f (f2), m (m2) {}
  inline quotient_series_rep (const Monomial& m2):

quotient_series_rep ( const Series &  f2  )  [inline]

Definition at line 40 of file quotient_series.hpp.

00040                                                :
00041     f (f2), m (1) {}
  inline quotient_series_rep (const Series& f2, const Monomial& m2):

quotient_series_rep (  )  [inline]

Definition at line 38 of file quotient_series.hpp.

00038                                :
00039     f (0), m (1) {}
  inline quotient_series_rep (const Series& f2):

unknown_rep ( solver_series_rep< C, V > *  f2,
const C b2,
C ss,
nat  s2,
nat  e2 
) [inline]

Definition at line 64 of file series_implicit.hpp.

References mmx::normalize().

00064                                                                   :
00065     f (f2), b (b2), s (ss), l (e2 - s2), i1 (s2), i2 (e2) { normalize (); }
  inline virtual ~unknown_rep () {

unknown_rep ( const C b2  )  [inline]

Definition at line 62 of file series_implicit.hpp.

00062                                   :
00063     f (NULL), b (b2), s (mmx_new<C> (0)), l (0), i1 (0), i2 (0) {}
  unknown_rep (Solver_rep* f2, const C& b2, C* ss, nat s2, nat e2):

unknown_rep (  )  [inline]

Definition at line 60 of file series_implicit.hpp.

00060                        :
00061     f (NULL), b (), s (mmx_new<C> (0)), l (0), i1 (0), i2 (0) {}
  inline unknown_rep (const C& b2):


Member Data Documentation

C b

Definition at line 39 of file series_implicit.hpp.

Definition at line 38 of file series_implicit.hpp.

Series f

Definition at line 36 of file quotient_series.hpp.

nat i1

Definition at line 42 of file series_implicit.hpp.

nat i2

Definition at line 43 of file series_implicit.hpp.

nat l

Definition at line 41 of file series_implicit.hpp.

Definition at line 37 of file quotient_series.hpp.

C* s

Definition at line 40 of file series_implicit.hpp.


The documentation for this class was generated from the following files:

Generated on 6 Dec 2012 for algebramix by  doxygen 1.6.1