Uses of Class
dk.jonaslindstrom.ruffini.common.util.MultiDimensionalArray
Packages that use MultiDimensionalArray
-
Uses of MultiDimensionalArray in dk.jonaslindstrom.ruffini.common.util
Methods in dk.jonaslindstrom.ruffini.common.util that return MultiDimensionalArrayModifier and TypeMethodDescriptionstatic <S> MultiDimensionalArray<S>
MultiDimensionalArray.build
(int width, java.util.function.IntFunction<MultiDimensionalArray<S>> populator) Create a new MultiDimensionalArray.static <S> MultiDimensionalArray<S>
MultiDimensionalArray.build
(List<Integer> shape, java.util.function.Function<List<Integer>, S> populator) Create a new multi-dimensional array with the given shape and with each entry being generated by the populator function.static <S> MultiDimensionalArray<S>
Create a new one-dimensional array with the given entries.<S> MultiDimensionalArray<S>
Return a newMultiDimensionalArray
of the same size as this, using the given function to map from the elements of this array to the corresponding entry in the new arrayProject this array into an array of dimension d-1 using the given projection function.static <S> MultiDimensionalArray<S>
Method parameters in dk.jonaslindstrom.ruffini.common.util with type arguments of type MultiDimensionalArrayModifier and TypeMethodDescriptionstatic <S> MultiDimensionalArray<S>
MultiDimensionalArray.build
(int width, java.util.function.IntFunction<MultiDimensionalArray<S>> populator) Create a new MultiDimensionalArray.