Borderbasix

Classes | Functions
Zp.hpp File Reference
#include <iostream>
#include <stdlib.h>

Go to the source code of this file.

Classes

class  Z< p, T >
 

Functions

template<int p, typename T >
std::ostream & operator<< (std::ostream &os, const Z< p, T > &z)
 
template<int p, typename T >
std::istream & operator>> (std::istream &is, Z< p, T > &z)
 
template<int p, class T >
Z< p, T > operator^ (const Z< p, T > a, const int n)
 Fast binary exponentiation. More...
 

Function Documentation

template<int p, typename T >
std::ostream& operator<< ( std::ostream &  os,
const Z< p, T > &  z 
)
template<int p, typename T >
std::istream& operator>> ( std::istream &  is,
Z< p, T > &  z 
)
template<int p, class T >
Z<p,T> operator^ ( const Z< p, T >  a,
const int  n 
)

Fast binary exponentiation.

Home  |  Download & InstallContributions