Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
548 views
1
subroutine indir(a, b)
2
3
!Introducción de los coeficientes de la matriz y del término independiente
4
!Salida: a (matriz de coeficientes)
5
! b (términos independientes)
6
7
implicit none
8
real(8), intent (out) :: a(:,:)
9
real(8), intent (out) :: b(:)
10
integer :: i, n
11
12
n = size(b)
13
14
15
do i = 1, n
16
read*, a(i,1:n), b(i)
17
end do
18
19
return
20
end subroutine indir
21