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