科学网

 找回密码
  注册
FORTRAN学习笔记(5): FORTRAN数组类型和存储结构
彭彬 2014-3-16 16:01
FORTRAN中的数组声明可以有如下几种类型:Explicit-shape Array, Assumed-shape Array, Assumed-size Array, and Deferred-size Array Explicit-shape array: An explicit-shape array is declared with explicit values for the bounds in each dimension of the array(显式指定数组各维的 ...
个人分类: Fortran|8272 次阅读|没有评论
Fortran学习笔记(4): 伪随机数生成方法
彭彬 2013-10-7 18:42
rand, ran, irand, srand 这四个函数是GNU Fortran 95为了与GNU Fortran 77相兼容而内嵌的与伪随机数生成相关的函数,都是function。 rand(x): 按照均匀分布,生成0到1之间的伪随机数或伪随机数组。参数x为real或者real型的数组;即x~U(0, 1) ran(x): 是rand的别名函数 irand(): 按照均匀分布,生成0到系 ...
个人分类: Fortran|15362 次阅读|没有评论
Fortran学习笔记(3): 一些非常有用的Fortran函数库
彭彬 2013-9-29 12:07
参考: 1 Netlib Repository at UTK and ORNL Netlib is a repository of software for scientific computing maintained by ATT , Bell Laboratories , the University of Tennessee and Oak Ridge National Laboratory . Netlib comprises a large number of separ ...
个人分类: Fortran|3443 次阅读|没有评论

本页有 2 篇博文因作者的隐私设置或未通过审核而隐藏

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-25 04:13

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部