| Package | Description |
|---|---|
| de.javagl.nd.arrays.j |
Multidimensional arrays of
long values |
| Modifier and Type | Interface and Description |
|---|---|
interface |
MutableLongArrayND
Interface describing a mutable multidimensional
array of
long values. |
| Modifier and Type | Method and Description |
|---|---|
static LongArrayND |
LongArraysND.createSubArray(LongArrayND parent,
IntTuple fromIndices,
IntTuple toIndices)
Creates a new array that is a view on the specified portion
of the given parent.
|
default LongArrayND |
LongArrayND.subArray(IntTuple fromIndices,
IntTuple toIndices) |
static LongArrayND |
LongArraysND.wrap(LongTuple 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 java.util.function.ToLongFunction<IntTuple> |
LongArraysND.asFunction(LongArrayND array)
Returns a view on the given
LongArrayND as a function
that maps coordinates to array entry values. |
static LongArrayND |
LongArraysND.createSubArray(LongArrayND parent,
IntTuple fromIndices,
IntTuple toIndices)
Creates a new array that is a view on the specified portion
of the given parent.
|
static long |
LongArraysND.max(LongArrayND array)
Returns the maximum value in the given array, or
Long.MIN_VALUE if the given array
has a size of 0. |
static long |
LongArraysND.min(LongArrayND array)
Returns the minimum value in the given array, or
Long.MAX_VALUE if the given array
has a size of 0. |
static String |
LongArraysND.toFormattedString(LongArrayND array)
Creates a formatted representation of the given array.
|
static String |
LongArraysND.toFormattedString(LongArrayND array,
String format)
Creates a formatted representation of the given array.
|
Copyright © 2015. All Rights Reserved.