Lines Matching refs:kOne
316 static const T kOne = T(1.0);
321 T costheta = std::min(std::max((R(0, 0) + R(1, 1) + R(2, 2) - kOne) / kTwo,
323 kOne);
330 kOne);
371 const T inv_one_minus_costheta = kOne / (kOne - costheta);
396 static const T kOne = T(1.0);
410 R(0, 0) = costheta + wx*wx*(kOne - costheta);
411 R(1, 0) = wz*sintheta + wx*wy*(kOne - costheta);
412 R(2, 0) = -wy*sintheta + wx*wz*(kOne - costheta);
413 R(0, 1) = wx*wy*(kOne - costheta) - wz*sintheta;
414 R(1, 1) = costheta + wy*wy*(kOne - costheta);
415 R(2, 1) = wx*sintheta + wy*wz*(kOne - costheta);
416 R(0, 2) = wy*sintheta + wx*wz*(kOne - costheta);
417 R(1, 2) = -wx*sintheta + wy*wz*(kOne - costheta);
418 R(2, 2) = costheta + wz*wz*(kOne - costheta);
421 R(0, 0) = kOne;
425 kOne;
429 R(2, 2) = kOne;