as_helper< modular< modulus< C, V >, W >, rational > Struct Template Reference

#include <modular_integer.hpp>

List of all members.

Static Public Member Functions


Detailed Description

template<typename C, typename V, typename W>
struct mmx::as_helper< modular< modulus< C, V >, W >, rational >

Definition at line 214 of file modular_integer.hpp.


Member Function Documentation

static modular<modulus<C,V>,W> cv ( const rational a  )  [inline, static]

Definition at line 216 of file modular_integer.hpp.

References mmx::as(), mmx::denominator(), and mmx::numerator().

00216                          {
00217     return as<modular<modulus<C,V>,W> > (numerator (a))
00218          / as<modular<modulus<C,V>,W> > (denominator (a)); }


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

Generated on 6 Dec 2012 for numerix by  doxygen 1.6.1