Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
別の fortran コードで読み込みたい 256^3 numpy 配列のデータを生成する python コードがあります。
これは、numpy ndarray 関数 tofile() に fortran 順序付きデータを書き込むオプションがあれば比較的簡単ですが、C 順序付きデータは書き込まれず、常に書き込まれます。私がやりたいことをする同等の機能はありますか?
transpose書き出す前に配列を作成できます。
transpose