@Override
        public void cellByDirectIndex(long index, float value) {
            values[(int)index] = value;
        }
A bound builder can create the float array directly
vespajlib/src/main/java/com/yahoo/tensor/IndexedFloatTensor.java