ring< C, Univariate > Struct Template Reference

Tensor ring of polynomials in the monomial basis. More...

#include <ring_univariate.hpp>

List of all members.

Public Types

Public Member Functions

Static Public Member Functions

Static Public Attributes


Detailed Description

template<class C>
struct mmx::ring< C, Univariate >

Tensor ring of polynomials in the monomial basis.

Definition at line 44 of file ring_univariate.hpp.


Member Typedef Documentation

typedef monom<C> Monomial

Definition at line 49 of file ring_univariate.hpp.

typedef polynomial< C, with<Univariate> > Polynomial

Definition at line 48 of file ring_univariate.hpp.

Definition at line 46 of file ring_univariate.hpp.

typedef C scalar_t

Definition at line 47 of file ring_univariate.hpp.

typedef ring<C, Univariate > self_t

Definition at line 45 of file ring_univariate.hpp.

typedef self_t variable_t

Definition at line 50 of file ring_univariate.hpp.


Constructor & Destructor Documentation

ring ( const char *  s  )  [inline]

Definition at line 52 of file ring_univariate.hpp.

References ring< C, B, O >::var.

00052 {var = variables(s); }


Member Function Documentation

static int nbvar (  )  [inline, static]

Definition at line 56 of file ring_univariate.hpp.

References variables::nbvar(), and ring< C, B, O >::var.

00056 { return var.nbvar(); }

Polynomial operator[] ( int  i  )  const [inline]

Definition at line 58 of file ring_univariate.hpp.

References C.

00058                                        {
00059       return Polynomial((C)1,1,i);
00060     }

static variables& vars (  )  [inline, static]

Definition at line 55 of file ring_univariate.hpp.

References ring< C, B, O >::var.

00055 { return var;}


Member Data Documentation

variables var [inline, static]

Definition at line 54 of file ring_univariate.hpp.


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

Generated on 6 Dec 2012 for realroot by  doxygen 1.6.1