配列の配列を定義しようとしています。私は定義しました:
integer,dimension(2,2):: &
x=reshape(source= (/0,1,1,0/), shape=(/2,2/)), &
y=reshape(source= (/1,0,0,1/), shape=(/2,2/)), &
z=reshape(source= (/1,1,1,1/), shape=(/2,2/))
配列、たとえば s(3) を定義したいのですが、その (x/y/z) はコンポーネントです。
s(1)=x
s(2)=y
and s(3)=z
どうすればそれを達成できますか?