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

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

MatrixFp MatrixFp::operator* ( const MatrixFp w  )  const [inline]
MatrixFp MatrixFp::operator+ ( const MatrixFp w  )  const [inline]
MatrixFp& MatrixFp::operator= ( const MatrixFp m  ) 
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.


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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Mon Sep 26 18:43:48 2011 for CRyptography And Groups (CRAG) by  doxygen 1.6.1