- Timestamp:
- Aug 18, 2015, 10:41:32 AM (9 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncutils.cpp
r7183 r7228 444 444 int r = (int) floor((n - m) / 2); 445 445 for (int k = 0; k <= r; k++) { 446 447 448 446 sum += (pow(-1.0, (double)k) * factorial(2*n - 2*k) 447 / (factorial(k) * factorial(n-k) * factorial(n-m-2*k)) 448 * pow(t, (double)n-m-2*k)); 449 449 } 450 450 double fac = pow(2.0,(double) -n) * pow((1 - t*t), (double)m/2); -
trunk/BNC/src/src.pro
r6365 r7228 2 2 TARGET = ../bnc 3 3 4 CONFIG -= debug5 CONFIG += release4 CONFIG += debug 5 CONFIG -= release 6 6 7 7 include(src.pri)
Note:
See TracChangeset
for help on using the changeset viewer.