git » metnum-tp1.git » commit 836b69d

Clarificar la cuenta del binomial_inc

author Rodrigo Campos
2010-09-06 00:28:56 UTC
committer Alberto Bertogli
2010-09-06 21:26:42 UTC
parent a36297b84d5a9ed6a709af46e9a2976888204fc7

Clarificar la cuenta del binomial_inc

binomial_inc.cpp +1 -1

diff --git a/binomial_inc.cpp b/binomial_inc.cpp
index d205eb2..8d34efc 100644
--- a/binomial_inc.cpp
+++ b/binomial_inc.cpp
@@ -10,7 +10,7 @@ numero b_i(int j)
 {
 	numero ret(prec, 1);
 
-	// [(1 - 2J) / (j+1)] / 2
+	// (1/2 -j) / (j + 1) = [(1 - 2J) / (j+1)] / 2
 	numero num(prec, 2);
 	num = num * j; //2*J
 	num = 1 - num ; //1-2J