base_dicho_transformer< C, S, V > Struct Template Reference

#include <base_dicho.hpp>

List of all members.

Public Types

Public Member Functions

Public Attributes


Detailed Description

template<typename C, typename S = std_base_dicho<C>, typename V = typename base_dicho_variant_helper< C >::BV>
struct mmx::base_dicho_transformer< C, S, V >

Definition at line 127 of file base_dicho.hpp.


Member Typedef Documentation

typedef implementation<base_transform,V> Base

Definition at line 131 of file base_dicho.hpp.

typedef S::modulus_base I

Definition at line 129 of file base_dicho.hpp.

typedef modulus<I, typename S::modulus_base_variant> M

Definition at line 130 of file base_dicho.hpp.


Constructor & Destructor Documentation

base_dicho_transformer ( const K &  _p  )  [inline]

Definition at line 143 of file base_dicho.hpp.

00143                                               : p(_p) {
00144     ASSERT (_p != 0, "invalid base");
00145     pow_p << p; }


Member Function Documentation

nat direct_transform ( I c,
nat  n,
const C a 
) [inline]

Definition at line 147 of file base_dicho.hpp.

References mmx::extend(), and mmx::seg().

00147                                                         {
00148     extend (n);
00149     return Base::direct (c, n, a, seg (pow_p)); }

void inverse_transform ( C a,
const I c,
nat  n 
) [inline]

Definition at line 151 of file base_dicho.hpp.

References mmx::extend(), and mmx::seg().

00151                                                           {
00152     extend (n);
00153     Base::inverse (a, c, n, seg (pow_p)); }


Member Data Documentation

M p

Definition at line 134 of file base_dicho.hpp.

vector<M> pow_p

Definition at line 133 of file base_dicho.hpp.


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

Generated on 6 Dec 2012 for algebramix by  doxygen 1.6.1