|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.pqc.legacy.math.linearalgebra.Vector
This abstract class defines vectors. It holds the length of vector.
Field Summary | |
protected int |
length
the length of this vector |
Constructor Summary | |
Vector()
|
Method Summary | |
abstract Vector |
add(Vector addend)
Add another vector to this vector. |
abstract boolean |
equals(java.lang.Object other)
Check if the given object is equal to this vector. |
abstract byte[] |
getEncoded()
|
int |
getLength()
|
abstract int |
hashCode()
|
abstract boolean |
isZero()
Return whether this is the zero vector (i.e., all elements are zero). |
abstract Vector |
multiply(Permutation p)
Multiply this vector with a permutation. |
abstract java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected int length
Constructor Detail |
public Vector()
Method Detail |
public final int getLength()
public abstract byte[] getEncoded()
public abstract boolean isZero()
public abstract Vector add(Vector addend)
addend
- the other vector
public abstract Vector multiply(Permutation p)
p
- the permutation
public abstract boolean equals(java.lang.Object other)
other
- vector
public abstract int hashCode()
public abstract java.lang.String toString()
|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |