public TensorFunction<NAMETYPE> withTransformedFunctions(
                Function<ScalarFunction<NAMETYPE>, ScalarFunction<NAMETYPE>> transformer)
        {
            Map<TensorAddress, ScalarFunction<NAMETYPE>> transformedCells = new LinkedHashMap<>();
            for (var orig : cells.entrySet()) {
                var transformed = transformer.apply(orig.getValue());
                transformedCells.put(orig.getKey(), transformed);
            }
            return new MappedDynamicTensor<>(type(), transformedCells);
        }
Creates a dynamic tensor function for a bound, indexed tensor
vespajlib/src/main/java/com/yahoo/tensor/functions/DynamicTensor.java