MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / getRowArray

Method getRowArray

src/org/opensourcephysics/tools/DataTool.java:999–1005  ·  view source on GitHub ↗

Returns an array of row numbers. @param rowCount length of the array @return the array

(int rowCount)

Source from the content-addressed store, hash-verified

997 * @return the array
998 */
999 protected static double[] getRowArray(int rowCount) {
1000 double[] rows = new double[rowCount];
1001 for (int i = 0; i < rowCount; i++) {
1002 rows[i] = i;
1003 }
1004 return rows;
1005 }
1006
1007 /**
1008 * Parses a String into tokens separated by a specified delimiter. A token may

Callers 8

loadDataMethod · 0.95
addColumnsMethod · 0.95
parseDataMethod · 0.95
getDatasetsMethod · 0.95
getDataColumnsMethod · 0.95
setPointsMethod · 0.95
insertPointsMethod · 0.95
deletePointsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected