这个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

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/08 20:46:05

这个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
这个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

这个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
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/)

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 fortran语言二维数组定义时,第一个数字是行还是列啊~例如name[2,88],数字2代表的是行还是列~ C语言中数组长度不能用变量定义吗?我现在必须定义一个可变的二维数组u[m][n]前面会算出m、n的值,然后定义这个数组不能用变量定义的话, 二维数组怎么定义 定义一个整数的二维数组,并将各数组元素都赋初值1 一维数组没定义的数是随机数,那二维数组呢? java 编写乘法口诀?如题,要求是用数组的数组,(先定义一个二维数组的行,每一行在定义为一维数组), 程序定义了 4× 4 的二维数组,请编写程序,给二维数组赋值,并使数组下半三角元素中的值乘以n . int a[][3]={2*3}啥意思对2*3不理解啊..不是说C语言与FORTRAN语言不同,不能给数组整体赋值嘛?以下能正确定义二维数组的是A)int a[][3];B)int a[][3]={2*3};C)int a[][3]={};D)int a[2][3]={{1},{2},{3,4}};这是原题 假定一个二维数组的定义为“int a[3][6];则该数组所含元素的个数为 假定二维数组的定义为“int a[8][3];”,则该数组所含元素的个数为_____ ACCESS 定义了二维数组A(2 to 5,5)则该数组的元素个数为多少个 定义一个4*4的二维数组a,请编写程序使数组四周元素为2,其余是1 二维数组常量表达式的值只能是正整数吗?a[0][0]表示只有一个元素的二维数组, java中关于定义一个二维数组的问题在定义一个二维数组时 不对数组进行赋初值时 数组名最后面的两个中括号需要填入行个数和列个数吗第一种情况:int a []=new int a [][];第二种情况int a [];a= n 若有定义int(*p)[3]; 则定义了一个名为p的指针变量 它可以指向每行有三个整数元素的二维数组请问如何理解这句话和此定义 为什么是二维数组? 假定一维数组的定义为“int a[8][3];”,则该数组所含元素的个数为假定二维数组的定义为“int a[8][3];”,则该数组所含元素的个数为_____