Class SliceOperations
- java.lang.Object
-
- io.github.hakkelt.ndarrays.internal.SliceOperations
-
public class SliceOperations extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends Number>
ComplexNDArray<T>applyOnSlices(ComplexNDArray<T> array, BiFunction<ComplexNDArray<T>,int[],NDArray<?>> func, int... iterationDims)
static <T> NDArray<T>
applyOnSlices(NDArray<T> array, BiFunction<NDArray<T>,int[],NDArray<?>> func, int... iterationDims)
static <T extends Number>
ComplexNDArray<T>reduceComplexSlices(ComplexNDArray<T> array, BiFunction<ComplexNDArray<T>,int[],org.apache.commons.math3.complex.Complex> func, int... reducedDims)
static <T> NDArray<T>
reduceSlices(NDArray<T> array, BiFunction<NDArray<T>,int[],T> func, int... reducedDims)
-
-
-
Method Detail
-
applyOnSlices
public static <T> NDArray<T> applyOnSlices(NDArray<T> array, BiFunction<NDArray<T>,int[],NDArray<?>> func, int... iterationDims)
-
applyOnSlices
public static <T extends Number> ComplexNDArray<T> applyOnSlices(ComplexNDArray<T> array, BiFunction<ComplexNDArray<T>,int[],NDArray<?>> func, int... iterationDims)
-
reduceSlices
public static <T> NDArray<T> reduceSlices(NDArray<T> array, BiFunction<NDArray<T>,int[],T> func, int... reducedDims)
-
reduceComplexSlices
public static <T extends Number> ComplexNDArray<T> reduceComplexSlices(ComplexNDArray<T> array, BiFunction<ComplexNDArray<T>,int[],org.apache.commons.math3.complex.Complex> func, int... reducedDims)
-
-