| Package | Description |
|---|---|
| de.javagl.nd.arrays.d |
Multidimensional arrays of
double values |
| Modifier and Type | Method and Description |
|---|---|
static MutableDoubleArrayND |
DoubleArrayFunctionsND.apply(DoubleArrayND a0,
DoubleArrayND a1,
java.util.function.DoubleBinaryOperator op,
MutableDoubleArrayND result)
Applies the given binary operator to each pair of elements from the
given arrays, and stores the result in the given result array.
|
static MutableDoubleArrayND |
DoubleArrayFunctionsND.apply(DoubleArrayND a0,
java.util.function.DoubleUnaryOperator op,
MutableDoubleArrayND result)
Applies the given unary operator to the elements from the given array,
and stores the result in the given result array.
|
static MutableDoubleArrayND |
DoubleArraysND.create(int... size)
Creates a new
MutableDoubleArrayND with the specified size |
static MutableDoubleArrayND |
DoubleArraysND.create(IntTuple size)
Creates a new
MutableDoubleArrayND with the specified size |
static MutableDoubleArrayND |
DoubleArraysND.createSubArray(MutableDoubleArrayND parent,
IntTuple fromIndices,
IntTuple toIndices)
Creates a new array that is a view on the specified portion
of the given parent.
|
MutableDoubleArrayND |
MutableDoubleArrayND.subArray(IntTuple fromIndices,
IntTuple toIndices)
Returns a view on a portion of this array.
|
static MutableDoubleArrayND |
DoubleArraysND.wrap(double[][] array)
Creates a view on the given array as a
MutableDoubleArrayND. |
static MutableDoubleArrayND |
DoubleArraysND.wrap(MutableDoubleTuple t,
IntTuple size)
Creates a view on the given tuple as a
DoubleArrayND. |
| Modifier and Type | Method and Description |
|---|---|
static MutableDoubleArrayND |
DoubleArrayFunctionsND.apply(DoubleArrayND a0,
DoubleArrayND a1,
java.util.function.DoubleBinaryOperator op,
MutableDoubleArrayND result)
Applies the given binary operator to each pair of elements from the
given arrays, and stores the result in the given result array.
|
static MutableDoubleArrayND |
DoubleArrayFunctionsND.apply(DoubleArrayND a0,
java.util.function.DoubleUnaryOperator op,
MutableDoubleArrayND result)
Applies the given unary operator to the elements from the given array,
and stores the result in the given result array.
|
static MutableDoubleArrayND |
DoubleArraysND.createSubArray(MutableDoubleArrayND parent,
IntTuple fromIndices,
IntTuple toIndices)
Creates a new array that is a view on the specified portion
of the given parent.
|
static void |
DoubleArrayFunctionsND.set(MutableDoubleArrayND a0,
java.util.function.DoubleSupplier s)
Assigns to each element of the given array the value that is provided
by the given supplier.
|
Copyright © 2015. All Rights Reserved.