Changeset 7228 in ntrip for trunk/BNC/src/bncutils.cpp


Ignore:
Timestamp:
Aug 18, 2015, 10:41:32 AM (9 years ago)
Author:
stuerze
Message:

some renaming regarding PPP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncutils.cpp

    r7183 r7228  
    444444  int    r   = (int) floor((n - m) / 2);
    445445  for (int k = 0; k <= r; k++) {
    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));
     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));
    449449  }
    450450  double fac = pow(2.0,(double) -n) * pow((1 - t*t), (double)m/2);
Note: See TracChangeset for help on using the changeset viewer.