linbox
Functions
ex-fields.C File Reference

Using a template function with two distinct fields. More...

#include "linbox/linbox-config.h"
#include <iostream>
#include "linbox/field/modular.h"
#include "linbox/field/ntl.h"
+ Include dependency graph for ex-fields.C:

Functions

template<class Field >
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.
 
int main ()
 no command line args
 

Detailed Description

Using a template function with two distinct fields.

Author
Gilles Villard