]> Cypherpunks repositories - gostls13.git/commit
math: implement the erfinv function
authorLakshay Garg <lakshay.garg.1996@gmail.com>
Wed, 28 Jun 2017 16:37:55 +0000 (22:07 +0530)
committerRobert Griesemer <gri@golang.org>
Fri, 18 Aug 2017 13:30:46 +0000 (13:30 +0000)
commit77412b9300582a5f1882b66e1b39ac7d96178dbe
tree2765b21281e7343e98cecafe4ca55ff203447fb4
parent497f891fce8c6657ab28dfcd2e7195014f3a967f
math: implement the erfinv function

This commit defines the inverse of error function (erfinv) in the
math package. The function is based on the rational approximation
of percentage points of normal distribution available at
https://www.jstor.org/stable/pdf/2347330.pdf.

Fixes #6359

Change-Id: Icfe4508f623e0574c7fffdbf7aa929540fd4c944
Reviewed-on: https://go-review.googlesource.com/46990
Run-TryBot: Robert Griesemer <gri@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/math/all_test.go
src/math/erfinv.go [new file with mode: 0644]