Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

/Users/was/s/spkg/build/linbox-20070207/linbox/examples/fields/ex-fields.C File Reference


Detailed Description

Using a template function with two distinct fields.

Author:
Gilles Villard

#include "linbox-config.h"
#include <iostream>
#include "linbox/field/modular.h"
#include "linbox/field/ntl.h"

Functions

template<class Field> void divide_ex (const Field &K)
int main ()
 no command line args


Function Documentation

void divide_ex const Field &  K  ) 
 

The template function "fct" reads two elements "a" and "b" of the field "K" from the standard input and writes a/b on the standard output


Generated on Thu Feb 8 22:32:55 2007 for linbox by doxygen 1.3.4