scipy.io.FortranFile.

read_ints#

FortranFile.read_ints(dtype='i4')[source]#

從檔案讀取給定類型的記錄,預設為整數類型(Fortran 中的 INTEGER*4 )。

參數:
dtypedtype,選填

資料類型,用於指定資料的大小和位元組序。

回傳值:
datandarray

一個 1 維陣列物件。

另請參閱

read_reals
read_record