Branch Coverage

lib/PDL/MatrixOps/svd.c
Criterion Covered Total %
branch 30 32 93.7


line true false branch
108 23 0 if (slimit < 6.0)
116 119 23 for (i=0; i
117 1003 119 for (j=0; j
125 151 6 while (RotCount != 0 && SweepCount <= slimit)
134 17 while (RotCount != 0 && SweepCount <= slimit)
129 639 134 for (j=0; j
131 3019 639 for (k=j+1; k
153 76807 3019 for (i=0; i
160 2643 376 if (q >= r) /* check if columns are ordered */
162 2643 0 if (q<=e2*Z[0] || fabs(p)<=tol*q) RotCount--;
315 2328 if (q<=e2*Z[0] || fabs(p)<=tol*q) RotCount--;
182 88464 2328 for (i=0; i
200 170 206 if (p<0) s0 = -s0; /*s0 and c0 are sin(phi) and cos(phi) as above for q<0 */
202 14215 376 for (i=0; i
214 114 22 while (EstColRank>=3 && Z[(EstColRank-1)]<=Z[0]*tol+tol*tol)
2 112 while (EstColRank>=3 && Z[(EstColRank-1)]<=Z[0]*tol+tol*tol)