Lines Matching refs:givens
23 JacobiRotation<Scalar> givens;
40 /* determine a givens rotation which eliminates the */
42 givens.makeGivens(-v[n-1], v[j]);
45 /* necessary to recover the givens rotation. */
46 v[n-1] = givens.s() * v[j] + givens.c() * v[n-1];
47 v_givens[j] = givens;
51 temp = givens.c() * s(j,i) - givens.s() * w[i];
52 w[i] = givens.s() * s(j,i) + givens.c() * w[i];
66 /* determine a givens rotation which eliminates the */
68 givens.makeGivens(-s(j,j), w[j]);
72 temp = givens.c() * s(j,i) + givens.s() * w[i];
73 w[i] = -givens.s() * s(j,i) + givens.c() * w[i];
78 /* givens rotation. */
79 w_givens[j] = givens;