public final class TensoricFunctions
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <S> java.util.function.Function<Position,S> |
forTensor(Tensor<S> tensor) |
static <S> java.util.function.Function<Position,S> |
forTensorbacked(Tensorbacked<S> tensor) |
static <C> java.util.function.Function<C,Position> |
singleCoordinate() |
static <C,S> java.util.function.Function<C,S> |
singleCoordinateToValue(Tensor<S> tensor) |
static <C,S> java.util.function.Function<C,S> |
singleCoordinateToValue(Tensorbacked<S> tensorbacked) |
public static final <S> java.util.function.Function<Position,S> forTensor(Tensor<S> tensor)
public static final <S> java.util.function.Function<Position,S> forTensorbacked(Tensorbacked<S> tensor)
public static final <C> java.util.function.Function<C,Position> singleCoordinate()
public static final <C,S> java.util.function.Function<C,S> singleCoordinateToValue(Tensor<S> tensor)
public static final <C,S> java.util.function.Function<C,S> singleCoordinateToValue(Tensorbacked<S> tensorbacked)