MatrixFp Class Reference

#include <AEProtocol.h>

List of all members.

Public Member Functions

 MatrixFp (int n, int p)
 ~MatrixFp ()
 MatrixFp (const MatrixFp &m)
MatrixFpoperator= (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


Detailed Description

Definition at line 167 of file AEProtocol.h.


Constructor & Destructor Documentation

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  ) 


Member Function Documentation

MatrixFp& MatrixFp::operator= ( const MatrixFp m  ) 

MatrixFp MatrixFp::operator+ ( const MatrixFp w  )  const [inline]

MatrixFp MatrixFp::operator* ( const MatrixFp w  )  const [inline]

MatrixFp MatrixFp::scalar_mult ( int  l  )  const [inline]

MatrixFp MatrixFp::getPower ( int  e  )  const

static MatrixFp MatrixFp::random ( int  n,
int  p 
) [static]

static MatrixFp MatrixFp::ID ( int  n,
int  p 
) [static]

void MatrixFp::set ( int  i,
int  j,
int  v 
) [inline]

Definition at line 183 of file AEProtocol.h.

References theMatrix.

void MatrixFp::init (  )  [private]

Referenced by MatrixFp().

void MatrixFp::clean (  )  [private]

Referenced by ~MatrixFp().


Member Data Documentation

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().


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

Generated on Mon Mar 2 17:58:49 2009 for CRyptography And Groups (CRAG) by  doxygen 1.5.6