algebramix_doc 0.3
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 >

Examples:

base_test.cpp.

Definition at line 122 of file base_dicho.hpp.


Member Typedef Documentation

typedef implementation<base_transform,V> Base

Definition at line 126 of file base_dicho.hpp.

typedef S::modulus_base I

Definition at line 124 of file base_dicho.hpp.

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

Definition at line 125 of file base_dicho.hpp.


Constructor & Destructor Documentation

base_dicho_transformer ( const K &  _p) [inline]

Definition at line 138 of file base_dicho.hpp.

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

Member Function Documentation

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

Definition at line 142 of file base_dicho.hpp.

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

                                                        {
    extend (n);
    return Base::direct (c, n, a, seg (pow_p)); }
void inverse_transform ( C a,
const I c,
nat  n 
) [inline]

Definition at line 146 of file base_dicho.hpp.

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

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

Member Data Documentation

M p

Definition at line 129 of file base_dicho.hpp.

vector<M> pow_p

Definition at line 128 of file base_dicho.hpp.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines