#include <AEProtocol.h>
Public Member Functions | |
MatrixFp (int n, int p) | |
~MatrixFp () | |
MatrixFp (const MatrixFp &m) | |
MatrixFp & | operator= (const MatrixFp &m) |
MatrixFp | operator+ (const MatrixFp &w) const |
MatrixFp | operator* (const MatrixFp &w) const |
MatrixFp | scalar_mult (int l) const |
MatrixFp | getPower (int e) const |
void | set (int i, int j, int v) |
Static Public Member Functions | |
static MatrixFp | random (int n, int p) |
static MatrixFp | ID (int n, int p) |
Private Member Functions | |
void | init () |
void | clean () |
Private Attributes | |
int | the_n |
int | the_p |
vector< vector< int > > | theMatrix |
Definition at line 167 of file AEProtocol.h.
MatrixFp::MatrixFp | ( | int | n, | |
int | p | |||
) | [inline] |
Definition at line 170 of file AEProtocol.h.
References init().
MatrixFp::~MatrixFp | ( | ) | [inline] |
Definition at line 171 of file AEProtocol.h.
References clean().
MatrixFp::MatrixFp | ( | const MatrixFp & | m | ) |
void MatrixFp::clean | ( | ) | [private] |
Referenced by ~MatrixFp().
MatrixFp MatrixFp::getPower | ( | int | e | ) | const |
static MatrixFp MatrixFp::ID | ( | int | n, | |
int | p | |||
) | [static] |
void MatrixFp::init | ( | ) | [private] |
Referenced by MatrixFp().
static MatrixFp MatrixFp::random | ( | int | n, | |
int | p | |||
) | [static] |
MatrixFp MatrixFp::scalar_mult | ( | int | l | ) | const [inline] |
void MatrixFp::set | ( | int | i, | |
int | j, | |||
int | v | |||
) | [inline] |
Definition at line 183 of file AEProtocol.h.
References theMatrix.
int MatrixFp::the_n [private] |
Definition at line 192 of file AEProtocol.h.
int MatrixFp::the_p [private] |
Definition at line 193 of file AEProtocol.h.
vector< vector<int> > MatrixFp::theMatrix [private] |
Definition at line 195 of file AEProtocol.h.
Referenced by set().