static L wrapDoubleArrayAsList(double[] l) { if (l == null) null; ret virtualList(l.length, i -> l[i]); }