public TensorFunction<NAMETYPE> withTransformedFunctions(
                Function<ScalarFunction<NAMETYPE>, ScalarFunction<NAMETYPE>> transformer)
        {
            List<ScalarFunction<NAMETYPE>> transformedCells = new ArrayList<>();
            for (var orig : cells) {
                var transformed = transformer.apply(orig);
                transformedCells.add(transformed);
            }
            return new IndexedDynamicTensor<>(type(), transformedCells);
        }
Creates a dynamic tensor function for a bound, indexed tensor
vespajlib/src/main/java/com/yahoo/tensor/functions/DynamicTensor.java