問題タブ [fortran]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
2 に答える
2895 参照

arrays - FORTRAN で割り当て可能な配列が必要な場合のヘルプ

私は割り当て可能な配列に本当に問題があります。

ファイルからすべての情報を割り当て可能な配列にコピーする必要があります。ファイルは次のようになります。

3 はポイントの数で、他の 6 つの数字はグラフ上のポイントを (x, y) 形式で示します。したがって、(3,5)、(2, 1)、(4,0) がポイントです。しかし、私はこれらの数をペアにするのに問題があります。

私はコーディングしようとしましたが、ここに私のコーディングがあります:

このプログラムは動作しません...エラーがあります:

私はこのエラーを理解するのに疲れましたが、できませんでした 私のコーディングに関するアドバイスや提案はありますか?

私の英語を許してください、私は日本人です。

誰かが私の質問について質問がある場合 (つまり、もっと説明が必要です)、お知らせください。

ありがとうございました。宇賀

0 投票する
2 に答える
3798 参照

json - fortranの配列をどのように反復しますか?

本当に簡単な質問です。

私が持っていると言う

そして、realResultsを反復処理して、最終的にフォームの配列のjsonを作成したいと思います。

「do」を使いたいとは思いますが、どうすればいいのかわかりません

ありがとう

0 投票する
2 に答える
717 参照

history - Fortran dim(x、y)、何のために?

Fortranでは、結果が正の場合、dim(x、y)は差xyを返します。それ以外の場合はゼロを返します。それは何のために使われることを意図していたのですか?薄暗いという名前の背後にある意味は何ですか?

0 投票する
6 に答える
64679 参照

fortran - Fortran 90 種類のパラメーター

Fortran 90 のkindパラメータがわかりません。私の知る限り、変数の精度 (つまり、float か double) も、変数の型も決定しません。

それで、それは何を決定し、正確には何のためにあるのでしょうか?

0 投票する
2 に答える
703 参照

visual-studio-2008 - VS 2008 + Intel Fortran questions

I'm using VS 2008 with Intel's Visual Fortran compiler. Its integration with VS is prettty good, but there are few things I'd still like to sort out. Hoping you could help me with some of them.

  1. Is there a way to define new outlining (folding) rules in VS, so that it automatically folds from, let's say, CALL SUBROUTINE till END SUBROUTINE ?
  2. Is there a way to redefine VS's keyboard shortcuts. I'd like to redefine commenting shortcut from default to something simpler, like Alt-C ?
  3. I'm often making a project in which I have to add some additional dependencies under configuration properties, and some libraries as well. Is there a way I could define new project somehow (you know, when I go to New Project then I'd have MyNiceProject), so I have predefined those settings.
  4. I've installed Intel's Array Visualizer. A nice thing as a standalone application, but when I go in debug mode, I can't seem to be able to visualize any array. The option "View Array" under Debug toolbar just stays greyed out. Any ideas ?

Help on any of these would be much appreciated.

I know these are 4 questions under the one title, but not many people use fortran with vs in here, so I thought it best not to "suffocate" the main page with 4 separate ones.

0 投票する
2 に答える
1422 参照

automation - Fortran のオートドキュメンテーション型機能?

以前は C と C++ に Doxygen を使用していましたが、現在は Fortran プロジェクトに取り掛かっているので、アーキテクチャをすべて包括的に見てみたいと思います。

過去に、アーキテクチャのドキュメントが存在しない場合にリバース エンジニアリング ツールが役立つことを発見しました。

では、Fortran コードをリバース エンジニアリングするツールはありますか?

Doxygen を使用しようとしましたが、運がありませんでした。私は 2 つの異なるプロジェクトに取り組んでいます。1 つは Fortran 90 で、Fortran 77 にあると思います。

洞察とフィードバックをありがとう。

0 投票する
3 に答える
2089 参照

windows-vista - Compaq Visual Fortran を Vista にインストールしますか?

Vista に Compaq Visual FORTRAN 6.x を正常にインストールできる人はいますか?

先日試してみましたが、運がなかったので、この古いコンパイラが廃止されているのではないかと思っています。

再度、感謝します。

0 投票する
6 に答える
3107 参照

ide - Fortran をサポートするエディター

fortran を適切にサポートするエディタ (または IDE) を推奨できる人はいますか? 私が見つけて試したほとんどの新しいエディターは、言語サポートが不足しています。