rowsf¶
Purpose¶
Returns the number of rows in a GAUSS dataset (.dat
) file or GAUSS matrix (.fmt
) file.
Format¶
-
y =
rowsf
(f)¶ - Parameters:
f (scalar) – file handle of an open file
- Returns:
y (scalar) – number of rows in the specified file.
Examples¶
open fp = wilshire.dat;
r = rowsf(fp);
c = colsf(fp);
print r;
324.00
print c;
7.00