Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SUBROUTINE Lectura_Matrices
- USE DATOS
- IMPLICIT NONE
- INTEGER I,J
- OPEN(1,FILE="Matrices_Jacobi.txt")
- READ(1,*)
- DO I=1,N_Filas
- READ(1,*)(A(I,J),J=1,N_Columnas)
- END DO
- READ(1,*)
- DO I=1,N_Filas
- READ(1,*)B(I)
- END DO
- READ(1,*)
- DO I=1,N_Filas
- READ(1,*)X(i)
- END DO
- END SUBROUTINE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement