Lines Matching refs:vrand
69 vrand = MatrixType::Random(rows, cols), in stable_norm() local
77 VERIFY_IS_APPROX(vrand.stableNorm(), vrand.norm()); in stable_norm()
78 VERIFY_IS_APPROX(vrand.blueNorm(), vrand.norm()); in stable_norm()
79 VERIFY_IS_APPROX(vrand.hypotNorm(), vrand.norm()); in stable_norm()
102 VERIFY_IS_APPROX(vrand.colwise().stableNorm(), vrand.colwise().norm()); in stable_norm()
103 VERIFY_IS_APPROX(vrand.colwise().blueNorm(), vrand.colwise().norm()); in stable_norm()
104 VERIFY_IS_APPROX(vrand.colwise().hypotNorm(), vrand.colwise().norm()); in stable_norm()
105 VERIFY_IS_APPROX(vrand.rowwise().stableNorm(), vrand.rowwise().norm()); in stable_norm()
106 VERIFY_IS_APPROX(vrand.rowwise().blueNorm(), vrand.rowwise().norm()); in stable_norm()
107 VERIFY_IS_APPROX(vrand.rowwise().hypotNorm(), vrand.rowwise().norm()); in stable_norm()
116 v = vrand; in stable_norm()
127 v = vrand; in stable_norm()
141 v = vrand; in stable_norm()
157 v = vrand; in stable_norm()
169 VERIFY_IS_APPROX(vrand.stableNormalized(), vrand.normalized()); in stable_norm()
170 MatrixType vcopy(vrand); in stable_norm()
172 VERIFY_IS_APPROX(vcopy, vrand.normalized()); in stable_norm()
173 VERIFY_IS_APPROX((vrand.stableNormalized()).norm(), RealScalar(1)); in stable_norm()