/** * Constructs a matrix from the values of the given list. * The values are copied. So subsequent changes in <tt>values</tt> are not reflected in the matrix, and vice-versa. * * @param values The values to be filled into the new matrix. * @return a new matrix. */ public ObjectMatrix1D make(cern.colt.list.ObjectArrayList values) { int size = values.size(); ObjectMatrix1D vector = make(size); for (int i=size; --i >= 0; ) vector.set(i, values.get(i)); return vector; } /**
/** * Constructs a matrix from the values of the given list. * The values are copied. So subsequent changes in <tt>values</tt> are not reflected in the matrix, and vice-versa. * * @param values The values to be filled into the new matrix. * @return a new matrix. */ public ObjectMatrix1D make(cern.colt.list.ObjectArrayList values) { int size = values.size(); ObjectMatrix1D vector = make(size); for (int i=size; --i >= 0; ) vector.set(i, values.get(i)); return vector; } /**