public abstract class FieldPAbstractFactory<RE extends FieldP<RE>> extends RingElementFactory<RE>
random
Constructor and Description |
---|
FieldPAbstractFactory() |
Modifier and Type | Method and Description |
---|---|
RE[] |
getArray(int size)
This is to allow the class
Vector to create arrays with elements
of type RE |
RE[][] |
getArray(int rows,
int columns)
This is to allow the class
Vector to create 2-dimensional arrays
with elements of type RE |
convert, convert, gaussianRandomValue, get, get, get, m_one, one, randomValue, randomValue, randomValue, toString, zero
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
gaussianRandomValue, get, randomValue
public RE[][] getArray(int rows, int columns)
IRingElementFactory
Vector
to create 2-dimensional arrays
with elements of type REgetArray
in interface IRingElementFactory<RE extends FieldP<RE>>
getArray
in class RingElementFactory<RE extends FieldP<RE>>
public RE[] getArray(int size)
IRingElementFactory
Vector
to create arrays with elements
of type REgetArray
in interface IRingElementFactory<RE extends FieldP<RE>>
getArray
in class RingElementFactory<RE extends FieldP<RE>>
size
- the size of the array to be created