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.
ペアの最初の要素が正の整数で、2 番目の要素がサインなどの数学関数の値である、順序付けられたペアの配列を宣言したいと考えています。クラス内のループで値を設定できましたが、宣言でできるようです。それは可能ですか?構文の提案は何ですか?