public abstract class Vector extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
length
the length of this vector
|
| Constructor and Description |
|---|
Vector() |
| Modifier and Type | Method and Description |
|---|---|
abstract Vector |
add(Vector addend)
Add another vector to this vector.
|
abstract boolean |
equals(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 String |
toString() |
public final int getLength()
public abstract byte[] getEncoded()
public abstract boolean isZero()
public abstract Vector add(Vector addend)
addend - the other vectorpublic abstract Vector multiply(Permutation p)
p - the permutationpublic abstract boolean equals(Object other)
public abstract int hashCode()
Copyright © 2015–2019 The veraPDF Consortium. All rights reserved.