Can I have a look at the source code of the Erf and Erfc
조회 수: 2 (최근 30일)
이전 댓글 표시
According to the doc, I see matlab implement method in "Rational Chebyshev Approximations for Error Function --W.J.Cody" article for error function. But open erf doesn't give me any luck. Is this source code can not be seen by public?
I found it is just a rewritting of a piece of fortran code in Matlab for erf and erfc. If there's no way to view how matlab calculate erf, is it possible to tell me where is the original fortran code so that I can have a look at it?
댓글 수: 0
채택된 답변
Walter Roberson
2020년 6월 28일
In older documentation, I see
The MATLAB code is a translation of a FORTRAN program by W. J. Cody, Argonne National Laboratory, NETLIB/SPECFUN, March 19, 1990. The main computation evaluates near-minimax rational approximations from "Rational Chebyshev Approximations for the Error Function" by W. J. Cody, Math. Comp., 1969, pgs. 631-638.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Fortran with MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!