|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectobsolete.BigVector
@Deprecated public class BigVector
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 |
---|
public BigVector(int size)
size
- size of the vector.public BigVector(BigVector v)
v
- another big-vector.public BigVector(java.math.BigInteger[] values)
values
- initial big-integer values.public BigVector(int[] values)
values
- initial small-integer values.public BigVector(Polynomial p)
p
- polynomial whose coefficients used as initial values for the
vector.Method Detail |
---|
public java.math.BigInteger get(int which)
which
- position of the requested element.
public void set(int which, java.math.BigInteger value)
which
- position to be set.value
- value to be set.public java.math.BigInteger multiply(BigVector v)
v
- the vector to be multiplied.
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |