Package | Description |
---|---|
oracle.pgx.algorithm |
Modifier and Type | Method and Description |
---|---|
PgxVect<E> |
PgxVect.add(PgxVect<E> v)
Add this vector to the given vector (element-wise) and return the resulting vector.
|
static <E> PgxVect<E> |
PgxVect.create()
Instantiate a new vector.
|
static <E> PgxVect<E> |
PgxVect.create(E e)
Instantiate a new vector property and initialize it with the given value.
|
PgxVect<E> |
PgxVect.multiply(java.lang.Number n)
Multiply this vector by the given scalar and return the resulting vector.
|
PgxVect<E> |
PgxVect.subtract(PgxVect<E> v)
Subtract the given vector from this vector (element-wise) and return the resulting vector.
|
static PgxVect<java.lang.Double> |
Random.uniformVector()
Create a vector with each cell initialized to a uniform random value in the range [0, 1).
|
Modifier and Type | Method and Description |
---|---|
PgxVect<E> |
PgxVect.add(PgxVect<E> v)
Add this vector to the given vector (element-wise) and return the resulting vector.
|
E |
PgxVect.multiply(PgxVect<E> v)
Multiply this vector by the (transpose of the) given vector and return the resulting scalar.
|
void |
PgxVect.reduceAdd(PgxVect<E> e)
Atomically add the given vector to this vector (element-wise).
|
PgxVect<E> |
PgxVect.subtract(PgxVect<E> v)
Subtract the given vector from this vector (element-wise) and return the resulting vector.
|