* cases where the vector is being accessed at a time when the matrix (or
* this particular row) will not be modified.
*/
public SparseDoubleVector getColumnVectorUnsafe(int column) {
checkIndices(0, column);
SparseDoubleVector values = new SparseHashDoubleVector(rows.get());
for (int row = 0; row < rows.get(); ++row) {
AtomicSparseVector rowEntry = getRow(row, -1, false);
double value = 0;
if (rowEntry != null && (value = rowEntry.get(column)) != 0)
values.set(row, value);
}
return values;
}