atlas  0.6
Classes | Typedefs | Functions | Variables
matrix-merge.cpp File Reference
#include <vector>
#include "../utilities/hashtable.h"
#include <iostream>
#include <stdexcept>
#include "../utilities/bitmap.h"
#include <string>
#include <fstream>
#include <sstream>
#include <cstdlib>
#include "../utilities/arithmetic.h"
#include <iomanip>
Include dependency graph for matrix-merge.cpp:

Classes

class  tuple_entry< n >
 

Typedefs

typedef std::vector< std::pair< unsigned int, unsigned int > > coord_vector
 

Functions

unsigned int read_int (std::istream &in)
 
void write_int (unsigned int n, std::ostream &out)
 
template<unsigned int n>
void combine_rows (unsigned int y, atlas::hashtable::HashTable< tuple_entry< n >, unsigned int > &hash, std::vector< std::istream * >in, std::ostream &out, std::vector< unsigned int > &lim, coord_vector *first_use)
 
template<unsigned int n>
void do_work (std::string name_base, std::vector< unsigned int > &modulus, coord_vector *first_use)
 
int main (int argc, char **argv)
 

Variables

const std::ios_base::openmode binary_out
 
const std::ios_base::openmode binary_in
 

Typedef Documentation

typedef std::vector<std::pair<unsigned int,unsigned int> > coord_vector

Function Documentation

template<unsigned int n>
void combine_rows ( unsigned int  y,
atlas::hashtable::HashTable< tuple_entry< n >, unsigned int > &  hash,
std::vector< std::istream * >  in,
std::ostream &  out,
std::vector< unsigned int > &  lim,
coord_vector first_use 
)
template<unsigned int n>
void do_work ( std::string  name_base,
std::vector< unsigned int > &  modulus,
coord_vector first_use 
)
int main ( int  argc,
char **  argv 
)
unsigned int read_int ( std::istream &  in)
void write_int ( unsigned int  n,
std::ostream &  out 
)

Variable Documentation

const std::ios_base::openmode binary_in
Initial value:
=
std::ios_base::in
| std::ios_base::binary
const std::ios_base::openmode binary_out
Initial value:
=
| std::ios_base::trunc
| std::ios_base::binary
#define out(c)
Definition: cweave.c:205