| Package | Description |
|---|---|
| de.javagl.nd.arrays.j |
Multidimensional arrays of
long values |
| Modifier and Type | Method and Description |
|---|---|
static MutableLongArrayND |
LongArrayFunctionsND.apply(LongArrayND a0,
LongArrayND a1,
java.util.function.LongBinaryOperator op,
MutableLongArrayND 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 MutableLongArrayND |
LongArrayFunctionsND.apply(LongArrayND a0,
java.util.function.LongUnaryOperator op,
MutableLongArrayND result)
Applies the given unary operator to the elements from the given array,
and stores the result in the given result array.
|
static MutableLongArrayND |
LongArraysND.create(int... size)
Creates a new
MutableLongArrayND with the specified size |
static MutableLongArrayND |
LongArraysND.create(IntTuple size)
Creates a new
MutableLongArrayND with the specified size |
static MutableLongArrayND |
LongArraysND.createSubArray(MutableLongArrayND parent,
IntTuple fromIndices,
IntTuple toIndices)
Creates a new array that is a view on the specified portion
of the given parent.
|
MutableLongArrayND |
MutableLongArrayND.subArray(IntTuple fromIndices,
IntTuple toIndices)
Returns a view on a portion of this array.
|
static MutableLongArrayND |
LongArraysND.wrap(long[][] array)
Creates a view on the given array as a
MutableLongArrayND. |
static MutableLongArrayND |
LongArraysND.wrap(MutableLongTuple t,
IntTuple size)
Creates a view on the given tuple as a
LongArrayND. |
| Modifier and Type | Method and Description |
|---|---|
static MutableLongArrayND |
LongArrayFunctionsND.apply(LongArrayND a0,
LongArrayND a1,
java.util.function.LongBinaryOperator op,
MutableLongArrayND 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 MutableLongArrayND |
LongArrayFunctionsND.apply(LongArrayND a0,
java.util.function.LongUnaryOperator op,
MutableLongArrayND result)
Applies the given unary operator to the elements from the given array,
and stores the result in the given result array.
|
static MutableLongArrayND |
LongArraysND.createSubArray(MutableLongArrayND parent,
IntTuple fromIndices,
IntTuple toIndices)
Creates a new array that is a view on the specified portion
of the given parent.
|
static void |
LongArrayFunctionsND.set(MutableLongArrayND a0,
java.util.function.LongSupplier s)
Assigns to each element of the given array the value that is provided
by the given supplier.
|
Copyright © 2015. All Rights Reserved.