EPiC
Efficient Privacy-Preserving Counting for MapReduce
 All Classes Namespaces Functions Variables
Public Member Functions
obsolete.BigVector Class Reference

List of all members.

Public Member Functions

 BigVector (int size)
 Constructing a big vector with given size and initializing all elements to 0.
 BigVector (BigVector v)
 Constructing a big vector from a given big-vector.
 BigVector (BigInteger[] values)
 Constructing a big vector with given big-integer values.
 BigVector (int[] values)
 Constructing a big vector with given small-integer values.
 BigVector (Polynomial p)
 Constructing a big vector with coefficients of given polynomial as initial values.
BigInteger get (int which)
 Return value of the element at "which" position.
void set (int which, BigInteger value)
 Set value for the element at "which" position.
BigInteger multiply (BigVector v)
 Perform scalar product between two big vectors and return the result.
String toString ()

Constructor & Destructor Documentation

obsolete.BigVector.BigVector ( int  size) [inline]

Constructing a big vector with given size and initializing all elements to 0.

Parameters:
sizesize of the vector.

Constructing a big vector from a given big-vector.

Parameters:
vanother big-vector.
obsolete.BigVector.BigVector ( BigInteger[]  values) [inline]

Constructing a big vector with given big-integer values.

Parameters:
valuesinitial big-integer values.
obsolete.BigVector.BigVector ( int[]  values) [inline]

Constructing a big vector with given small-integer values.

Parameters:
valuesinitial small-integer values.

Constructing a big vector with coefficients of given polynomial as initial values.

Parameters:
ppolynomial whose coefficients used as initial values for the vector.

Member Function Documentation

BigInteger obsolete.BigVector.get ( int  which) [inline]

Return value of the element at "which" position.

Parameters:
whichposition of the requested element.
Returns:
value of the requested element.
BigInteger obsolete.BigVector.multiply ( BigVector  v) [inline]

Perform scalar product between two big vectors and return the result.

Parameters:
vthe vector to be multiplied.
Returns:
scalar product of two vectors.
void obsolete.BigVector.set ( int  which,
BigInteger  value 
) [inline]

Set value for the element at "which" position.

Parameters:
whichposition to be set.
valuevalue to be set.

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables