回 帖 发 新 帖 刷新版面

主题:请教fortran如何实现查表

请教高手如何实现一个用fortran来进行正态分布查表的功能??

数据比较多,如果用switch是不是太麻烦了?

回复列表 (共1个回复)

沙发


原来IMSL中有标准正态分布函数


ANORDF/DNORDF (Single/Double precision)
Evaluate the standard normal (Gaussian) distribution function.
Usage
ANORDF(X)
Arguments
X — Argument for which the normal distribution function is to be evaluated.
(Input)
ANORDF — Function value, the probability that a normal random variable takes
a value less than or equal to X. (Output)

ANORIN/DNORIN (Single/Double precision)
Evaluate the inverse of the standard normal (Gaussian) distribution function.
Usage
ANORIN(P)
Arguments
P — Probability for which the inverse of the normal distribution function is to be
evaluated. (Input)
P must be in the open interval (0.0, 1.0).
ANORIN — Function value. (Output)
The probability that a standard normal random variable takes a value less than or
equal to ANORIN is P. 

我来回复

您尚未登录,请登录后再回复。点此登录或注册