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
Constructing a big vector with given size and initializing all elements to 0.
- Parameters:
-
Constructing a big vector from a given big-vector.
- Parameters:
-
Constructing a big vector with given big-integer values.
- Parameters:
-
values | initial big-integer values. |
Constructing a big vector with given small-integer values.
- Parameters:
-
values | initial small-integer values. |
Constructing a big vector with coefficients of given polynomial as initial values.
- Parameters:
-
p | polynomial whose coefficients used as initial values for the vector. |
Member Function Documentation
Return value of the element at "which" position.
- Parameters:
-
which | position of the requested element. |
- Returns:
- value of the requested element.
Perform scalar product between two big vectors and return the result.
- Parameters:
-
v | the vector to be multiplied. |
- Returns:
- scalar product of two vectors.
Set value for the element at "which" position.
- Parameters:
-
which | position to be set. |
value | value to be set. |
The documentation for this class was generated from the following file:
- /home/vohuudtr/workspace/cloudprivacy/code/src/obsolete/BigVector.java