请教!如何使用Fortran powerstation 中的IMSL?
我用的是Fortran powerstation4.X,里边包含有IMSL库,可是不知道为什么总是出现 error FOR1531: cannot find module IMSL这样的错误信息,请教高手拔刀相助。下边附的是出现错误的一个例子
program main
use IMSL
real :: A(3,3) = (/ 1,2,3,&
1,5,6,&
2,8,9 /)
real :: B(3) = (/ 4, 15, 18 /), C(3)
! 求解 x+y+2z=4
! 2x+5y+8z=15
! 3x+6y+9z=18
C = A .ix. B ! invert(A) * B
write(*,*) C
stop
end program
program main
use IMSL
real :: A(3,3) = (/ 1,2,3,&
1,5,6,&
2,8,9 /)
real :: B(3) = (/ 4, 15, 18 /), C(3)
! 求解 x+y+2z=4
! 2x+5y+8z=15
! 3x+6y+9z=18
C = A .ix. B ! invert(A) * B
write(*,*) C
stop
end program