/** * Provides non-atomic access to the data at the specified column, which may * present an inconsistent view of the data if this matrix is being * concurrently modified. This method should only be used in special cases * where the vector is being accessed at a time when the matrix (or this * particular column) will not be modified. */ public SparseDoubleVector getColumnVectorUnsafe(int column) { return getColumnVector(column, false); }
/** * Provides non-atomic access to the data at the specified column, which may * present an inconsistent view of the data if this matrix is being * concurrently modified. This method should only be used in special cases * where the vector is being accessed at a time when the matrix (or this * particular column) will not be modified. */ public SparseDoubleVector getColumnVectorUnsafe(int column) { return getColumnVector(column, false); }
/** * {@inheritDoc} The length of the returned row vector reflects the size of * matrix at the time of the call, which may be different from earlier calls * to {@link #rows()} */ public SparseDoubleVector getColumnVector(int column) { return getColumnVector(column, true); }
/** * {@inheritDoc} The length of the returned row vector reflects the size of * matrix at the time of the call, which may be different from earlier calls * to {@link #rows()} */ public SparseDoubleVector getColumnVector(int column) { return getColumnVector(column, true); }
/** * {@inheritDoc} The length of the returned column reflects the size of * matrix at the time of the call, which may be different from earlier calls * to {@link #rows()} */ public double[] getColumn(int column) { return getColumnVector(column).toArray(); }
/** * {@inheritDoc} The length of the returned column reflects the size of * matrix at the time of the call, which may be different from earlier calls * to {@link #rows()} */ public double[] getColumn(int column) { return getColumnVector(column).toArray(); }