public static DoublesSketch wrap ( final Memory srcMem ) { if ( checkIsCompactMemory ( srcMem ) ) { return DirectCompactDoublesSketch . wrapInstance ( srcMem ) ; } return DirectUpdateDoublesSketchR . wrapInstance ( srcMem ) ; }
Wrap this sketch around the given Memory image of a DoublesSketch compact or non - compact .