As the first advanced language, Fortran still plays an irreplaceable role in scientific computing. Recently, I tried to use Math.net to perform matrix operations in C #. Although operators are overloaded and supported by the corresponding mathematical libraries, I feel that the convenience of matrix operations is lacking compared with Fortran. In addition, compared with C/C ++, Fortran makes scientific computing easier to achieve high efficiency without considering various complex factors.
However, at present, Fortran lacks a convenient IDE. VS2010 does not provide automatic completion, and there are no matching options. The development experience is too far from that of C.
I can only make a simple Vim configuration and write the first Fortran learning program.
Blog Code coloring does not support Fortran. Who can recommend a Windows Live code coloring plug-in that supports Fortran?
! Fortran Vim Exercise 1 data type program test1implicit none! The data type implicit [im 'plisit] must be declared: the integer: int_1 = 5! Integer ['intid interval] integer (kind = 4): int_2! 4-byte integer real: real_1, real_2! 4-byte single precision real (kind = 8): real_3! 8-byte dual-precision logical: logical_1! Boolean logical type character (len = 20): char_1! Length: 20. complex (kind = 8): complex_1! Print *, int_1! Output = Write (*, *) int_1read (*, *) char_1! Read user input end program test1