Percy++
A C++ implementation of Private Information Retrieval (PIR) protocols
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | Public Attributes | List of all members
SubMatrix< Element > Class Template Reference
Inheritance diagram for SubMatrix< Element >:
Col< Element > Row< Element > Elem< Element > Elem< Element >

Public Member Functions

 SubMatrix (Matrix< Element > matrix, dbsize_t row, dbsize_t col, dbsize_t num_rows, dbsize_t num_cols)
 
Element * get (dbsize_t row, dbsize_t col)
 
Element * first ()
 
void add (Matrix< Element > &m)
 
void print ()
 
void is_mult_of (Col< const Element > col_a, Row< const Element > row_b)
 
template<>
void is_mult_of (Col< const GF28_Element > col_a, Row< const GF28_Element > row_b)
 
template<>
void is_mult_of (Col< const GF216_Element > col_a, Row< const GF216_Element > row_b)
 

Public Attributes

Matrix< Element > matrix
 
dbsize_t row
 
dbsize_t col
 
dbsize_t num_rows
 
dbsize_t num_cols
 

The documentation for this class was generated from the following files: