import org.tensorics.core.lang.Tensorics.*;
Tensor<Double> degrees = builder(City.class, Day.class)
.put(at(SAN_FRANCISCO, YESTERDAY), 11.5)
.put(at(SAN_FRANCISCO, TODAY), 12.5)
.put(at(NEW_YORK, YESTERDAY), 2.5)
.put(at(NEW_YORK, TODAY), 3.5)
.build();
Double todayInNewYork = degrees.get(NEW_YORK, TODAY); // 3.5