obsolete
Class BigVector

java.lang.Object
  extended by obsolete.BigVector

Deprecated.

@Deprecated
public class BigVector
extends java.lang.Object


Constructor Summary
BigVector(java.math.BigInteger[] values)
          Deprecated. Constructing a big vector with given big-integer values.
BigVector(BigVector v)
          Deprecated. Constructing a big vector from a given big-vector.
BigVector(int size)
          Deprecated. Constructing a big vector with given size and initializing all elements to 0.
BigVector(int[] values)
          Deprecated. Constructing a big vector with given small-integer values.
BigVector(Polynomial p)
          Deprecated. Constructing a big vector with coefficients of given polynomial as initial values.
 
Method Summary
 java.math.BigInteger get(int which)
          Deprecated. Return value of the element at "which" position.
 java.math.BigInteger multiply(BigVector v)
          Deprecated. Perform scalar product between two big vectors and return the result.
 void set(int which, java.math.BigInteger value)
          Deprecated. Set value for the element at "which" position.
 java.lang.String toString()
          Deprecated.  
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BigVector

public BigVector(int size)
Deprecated. 
Constructing a big vector with given size and initializing all elements to 0.

Parameters:
size - size of the vector.

BigVector

public BigVector(BigVector v)
Deprecated. 
Constructing a big vector from a given big-vector.

Parameters:
v - another big-vector.

BigVector

public BigVector(java.math.BigInteger[] values)
Deprecated. 
Constructing a big vector with given big-integer values.

Parameters:
values - initial big-integer values.

BigVector

public BigVector(int[] values)
Deprecated. 
Constructing a big vector with given small-integer values.

Parameters:
values - initial small-integer values.

BigVector

public BigVector(Polynomial p)
Deprecated. 
Constructing a big vector with coefficients of given polynomial as initial values.

Parameters:
p - polynomial whose coefficients used as initial values for the vector.
Method Detail

get

public java.math.BigInteger get(int which)
Deprecated. 
Return value of the element at "which" position.

Parameters:
which - position of the requested element.
Returns:
value of the requested element.

set

public void set(int which,
                java.math.BigInteger value)
Deprecated. 
Set value for the element at "which" position.

Parameters:
which - position to be set.
value - value to be set.

multiply

public java.math.BigInteger multiply(BigVector v)
Deprecated. 
Perform scalar product between two big vectors and return the result.

Parameters:
v - the vector to be multiplied.
Returns:
scalar product of two vectors.

toString

public java.lang.String toString()
Deprecated. 
Overrides:
toString in class java.lang.Object