Home
last modified time | relevance | path

Searched refs:normA1 (Results 1 – 3 of 3) sorted by relevance

/dports/math/ambit/ambit-0.5.1/test/
H A Dtest_cyclops.cc209 double normA1 = D1.norm(1); in try_1_norm() local
219 double delta = fabs(normA1 - normA2); in try_1_norm()
223 return delta / fabs(normA1 + normA2); in try_1_norm()
235 double normA1 = D2.norm(2); in try_2_norm() local
246 double delta = fabs(normA1 - normA2); in try_2_norm()
250 return delta / fabs(normA1 + normA2); in try_2_norm()
262 double normA1 = D2.norm(0); in try_inf_norm() local
272 double delta = fabs(normA1 - normA2); in try_inf_norm()
276 return delta / fabs(normA1 + normA2); in try_inf_norm()
H A Dtest_core.cc201 double normA1 = A2.norm(1); in try_1_norm() local
211 double delta = fabs(normA1 - normA2); in try_1_norm()
215 return delta / fabs(normA1 + normA2); in try_1_norm()
225 double normA1 = A2.norm(2); in try_2_norm() local
236 double delta = fabs(normA1 - normA2); in try_2_norm()
240 return delta / fabs(normA1 + normA2); in try_2_norm()
250 double normA1 = A2.norm(0); in try_inf_norm() local
260 double delta = fabs(normA1 - normA2); in try_inf_norm()
264 return delta / fabs(normA1 + normA2); in try_inf_norm()
/dports/science/siconos/siconos-4.4.0/numerics/src/tools/
H A Dop3x3.h871 double normA1 = sqrt((*A1x) * (*A1x) + (*A1y) * (*A1y) + (*A1z) * (*A1z)); in orthoBaseFromVector() local
872 (*A1x) /= normA1; in orthoBaseFromVector()
873 (*A1y) /= normA1; in orthoBaseFromVector()
874 (*A1z) /= normA1; in orthoBaseFromVector()