这个fortran的二维数组定义的有错吗?

问题描述:

这个fortran的二维数组定义的有错吗?
REAL GROUP(7,3)=(/
&0.3,0.6,1.2,
&0.016,0.022,0.038,
&0.016,0.022,0.035,
&0.2,0.2,0.2,
&0.2,0.2,0.4,
&2,2,4,
&9,9,9
&/)
这样写行吗,也不行啊
REAL,DIMENSION(3,7)::group
group=(/
&0.3,0.6,1.2,
&0.016,0.022,0.038,
&0.016,0.022,0.035,
&0.2,0.2,0.2,
&0.2,0.2,0.4,
&2.0,2.0,4.0,
&9.0,9.0,9.0
&/)
报错.
错误1 error #6366: The shapes of the array expressions do not conform. [GROUP]E:\work\Fortran_prac\PartComposite_140415\Part_Composite.for19

REAL::GROUP(7,3)=(/0.3,0.6,1.2,&&0.016,0.022,0.038,&&0.016,0.022,0.035,&&0.2,0.2,0.2,&&0.2,0.2,0.4,&&2,2,4,&...不行啊,我用的.for格式,不是。f90*格式,那个双&号,可以去掉一个吗?REAL::GROUP(7,3)=(/0.3,0.6,1.2,&0.016,0.022,0.038,&0.016,0.022,0.035,&0.2,0.2,0.2,&0.2,0.2,0.4,&2,2,4,&9,9,9/)