- #1
Nugso
Gold Member
- 170
- 10
Hi.
Write an external function that takes two matrices, multiplies them and returns the resulting matrix.
Matrices can be of any dimension.
Print the resulting matrix
The above is what I have to do.
http://paste.servut.us/pgmm
This is what I've done so far. But it seems like there're a few errors in it.
C:\Users\Samsung\Desktop\Forti\Text1.f90
C:\Users\Samsung\Desktop\Forti\Text1.f90(59): warning FOR4265: symbol B referenced but not set
C:\Users\Samsung\Desktop\Forti\Text1.f90(59): warning FOR4265: symbol A referenced but not set
C:\Users\Samsung\Desktop\Forti\Text1.f90(16): error FOR2942: symbol X is not permitted in a specification expression
C:\Users\Samsung\Desktop\Forti\Text1.f90(16): error FOR2942: symbol Z is not permitted in a specification expression
C:\Users\Samsung\Desktop\Forti\Text1.f90(16): error FOR2942: symbol X is not permitted in a specification expression
Errors in declarations, no further processing for ODEV
Error executing fl32.exe.
Text1.exe - 3 error(s), 2 warning(s)
The homework says it can be any dimesion, so I have to let the user enter the dimensions and I tried doing them with x,y,z,t. Then in order to multiply I did multiply all rows and columns with i,j,k. What am I doing wrong? Could anybody help please?
Write an external function that takes two matrices, multiplies them and returns the resulting matrix.
Matrices can be of any dimension.
Print the resulting matrix
The above is what I have to do.
http://paste.servut.us/pgmm
This is what I've done so far. But it seems like there're a few errors in it.
C:\Users\Samsung\Desktop\Forti\Text1.f90
C:\Users\Samsung\Desktop\Forti\Text1.f90(59): warning FOR4265: symbol B referenced but not set
C:\Users\Samsung\Desktop\Forti\Text1.f90(59): warning FOR4265: symbol A referenced but not set
C:\Users\Samsung\Desktop\Forti\Text1.f90(16): error FOR2942: symbol X is not permitted in a specification expression
C:\Users\Samsung\Desktop\Forti\Text1.f90(16): error FOR2942: symbol Z is not permitted in a specification expression
C:\Users\Samsung\Desktop\Forti\Text1.f90(16): error FOR2942: symbol X is not permitted in a specification expression
Errors in declarations, no further processing for ODEV
Error executing fl32.exe.
Text1.exe - 3 error(s), 2 warning(s)
The homework says it can be any dimesion, so I have to let the user enter the dimensions and I tried doing them with x,y,z,t. Then in order to multiply I did multiply all rows and columns with i,j,k. What am I doing wrong? Could anybody help please?