in src/main/java/org/apache/datasketches/vector/matrix/Matrix.java [62:72]
public static Matrix wrap(final Object mtx) {
if (mtx == null) {
return null;
} else if (mtx instanceof Primitive64Store) {
return MatrixImplOjAlgo.wrap((Primitive64Store) mtx);
}
else {
throw new IllegalArgumentException("wrap() does not currently support "
+ mtx.getClass().toString());
}
}