|
Bouncy Castle Cryptography 1.50 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bouncycastle.pqc.math.linearalgebra.Vector
public abstract class 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)
equals in class java.lang.Objectother - vector
public abstract int hashCode()
hashCode in class java.lang.Objectpublic abstract java.lang.String toString()
toString in class java.lang.Object
|
Bouncy Castle Cryptography 1.50 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||