lpolynomial< C, E, V > Class Template Reference

#include <lpolynomial.hpp>

List of all members.

Public Types

Public Member Functions

Static Public Member Functions

Public Attributes

Friends


Detailed Description

template<typename C, typename E = integer, typename V = typename lpolynomial_variant_helper< C , E >::PV>
class mmx::lpolynomial< C, E, V >

Definition at line 55 of file lpolynomial.hpp.


Member Typedef Documentation

typedef implementation<lpolynomial_defaults,V> Pol

Definition at line 60 of file lpolynomial.hpp.

typedef Pol::template global_variables< lpolynomial<C,E,V> > S

Definition at line 61 of file lpolynomial.hpp.

typedef implementation<vector_linear,V> Vec

Definition at line 59 of file lpolynomial.hpp.


Constructor & Destructor Documentation

lpolynomial (  )  [inline]

Definition at line 70 of file lpolynomial.hpp.

00070 : rep (as<C> (0)) {}

lpolynomial ( const table< C, E > &  t  )  [inline]

Definition at line 71 of file lpolynomial.hpp.

00071 : rep (t) {}

lpolynomial ( const format< C > &  fm  )  [inline]

Definition at line 72 of file lpolynomial.hpp.

00072 : rep (promote (0, fm)) {}

lpolynomial ( const C &  x,
const E  n = 0 
) [inline]

Definition at line 74 of file lpolynomial.hpp.

References lpolynomial< C, E, V >::rep, and Table.

00074                                          {
00075     rep= Table (promote (0, get_format (x)));
00076     rep[n]= x; }


Member Function Documentation

static generic get_variable_name (  )  [inline, static]

Definition at line 65 of file lpolynomial.hpp.

00065                                              {
00066     return S::get_variable_name (); }

table<C,E> operator* (  )  const [inline]

Definition at line 63 of file lpolynomial.hpp.

References lpolynomial< C, E, V >::rep.

00063 { return rep; }

lpolynomial< C, E, V > & operator*= ( const C &  c  )  [inline]

Definition at line 288 of file lpolynomial.hpp.

References lpolynomial< C, E, V >::rep.

00288                                     {
00289   rep *= c; return *this; }

lpolynomial< C, E, V > C lpolynomial< C, E, V > C lpolynomial< C, E, V > & operator+= ( const lpolynomial< C, E, V > &  P  )  [inline]

Definition at line 280 of file lpolynomial.hpp.

00280                                               {
00281   rep += *P; return *this; }

lpolynomial< C, E, V > & operator-= ( const lpolynomial< C, E, V > &  P  )  [inline]

Definition at line 284 of file lpolynomial.hpp.

References lpolynomial< C, E, V >::rep.

00284                                               {
00285   rep -= *P; return *this; }

lpolynomial< C, E, V > & operator/= ( const C &  c  )  [inline]

Definition at line 292 of file lpolynomial.hpp.

References lpolynomial< C, E, V >::rep.

00292                                     {
00293   rep /= c; return *this; }

C operator[] ( const E i  )  const [inline]

Definition at line 80 of file lpolynomial.hpp.

References lpolynomial< C, E, V >::rep.

00080                                          {
00081     return rep[i]; }

static void set_variable_name ( const generic &  x  )  [inline, static]

Definition at line 67 of file lpolynomial.hpp.

00067                                                           {
00068     S::set_variable_name (x); }


Friends And Related Function Documentation

lpolynomial<C,E,V> copy ( const lpolynomial< C, E, V > &  P  )  [friend]

Definition at line 78 of file lpolynomial.hpp.

00078                                                         {
00079     return LPolynomial (copy (*P)); }


Member Data Documentation

table<C,E> rep

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

Generated on 18 Jul 2014 for lacunaryx by  doxygen 1.6.1