public class ColGroupConverter extends Object
| Constructor and Description | 
|---|
| ColGroupConverter() | 
| Modifier and Type | Method and Description | 
|---|---|
| static ColGroup | copyColGroup(ColGroup group)Copy col group instance with deep copy of column indices but shallow copy of actual contents; | 
| static double[] | getDenseVector(MatrixBlock vector)Extract the double array primitive from a Matrix Block that is an vector. | 
| static MatrixBlock | getUncompressedColBlock(ColGroup group)Extracts the Uncompressed MatrixBlock representation of a Col Group | 
public static ColGroup copyColGroup(ColGroup group)
group - column grouppublic static double[] getDenseVector(MatrixBlock vector)
vector - The Matrix block vectorpublic static MatrixBlock getUncompressedColBlock(ColGroup group)
group - an ColGroup to decompressCopyright © 2020 The Apache Software Foundation. All rights reserved.