Project

General

Profile

Actions

Feature #10225

open

[PATCH] *math.c: New method Math.normcdf

Added by gogotanaka (Kazuki Tanaka) over 10 years ago. Updated almost 7 years ago.

Status:
Open
Assignee:
-
Target version:
-
[ruby-core:64951]

Description

I know it looks kind of arbitrary or unnecessary feature ,but I believe that

to provide such a feature as official is helpful to make people we couldn't reach so far have interest in Ruby.

(Actually only this feature is not enough to do that..)

By the way I still wonder whether naming method make sense.

Debating between ...

Math::pnorm   -> R language use this
Math::phi     -> Euler's totient function is more popular as phi,
Math::ncdf
Math::guesscdf
Math::cdf_of_norm,
Math::cdf_of_guess

Finally I come to the conclusion Math::normcdf is most proper length, meaning and has no other worries.


Files

_ math.c New method Math.normcdf.PATCH (1.04 KB) _ math.c New method Math.normcdf.PATCH gogotanaka (Kazuki Tanaka), 09/11/2014 06:21 AM
_ test_math.rb Add tests for Math.normcdf.PATCH (609 Bytes) _ test_math.rb Add tests for Math.normcdf.PATCH gogotanaka (Kazuki Tanaka), 09/11/2014 06:23 AM
_ NEWS About Math.normcdf.PATCH (488 Bytes) _ NEWS About Math.normcdf.PATCH gogotanaka (Kazuki Tanaka), 09/11/2014 06:23 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0