sparse-vector.h

Go to the documentation of this file.
00001 // Copyright 2007, Massachusetts Institute of Technology.
00002 // The use of this code is permitted for research only. There is
00003 // absolutely no warranty for this software.
00004 //
00005 // Author: John Lee (jjl@mit.edu)
00006 //
00007 
00008 #ifndef UTIL_SPARSE_VECTOR_H
00009 #define UTIL_SPARSE_VECTOR_H
00010 
00011 #include <vector>
00012 
00013 using namespace std;
00014 
00015 namespace libpmk {
00016 
00017 typedef vector<int> LargeIndex;
00018 typedef pair<LargeIndex, double> IndexValuePair;
00019 typedef vector<IndexValuePair> SparseVector;
00020 
00021 }  // namespace libpmk
00022 
00023 #endif  // UTIL_SPARSE_VECTOR_H

Generated on Fri Sep 21 11:39:04 2007 for libpmk2 by  doxygen 1.5.1