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