| # | Line 125 | Line 125 | inline RealType RosenB(int n, RealType alpha) | |
|---|---|---|
| 125 | { | |
| 126 | RealType TheSum, Term; | |
| 127 | RealType RosenB_, PSinhRosenA, PCoshRosenA, PHyperRosenA; | |
| 128 | < | bool IsPositive; |
| 128 | > | |
| 129 | if (alpha != 0.) | |
| 130 | { | |
| 131 | Term = 1.; | |
| 132 | < | TheSum = 1.; |
| 133 | < | IsPositive = true; |
| 132 | > | bool IsPositive = true; |
| 133 | ||
| 134 | // These two expressions are (up to constant factors) equivalent | |
| 135 | // to computing the hyperbolic sine and cosine of a respectively | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |