Home
last modified time | relevance | path

Searched refs:scale_sq (Results 1 – 4 of 4) sorted by relevance

/dports/science/dakota/dakota-6.13.0-release-public.src-UI/src/
H A DNonDStochCollocation.cpp668 Real delta, ref, sum_sq = 0., scale_sq = 0., z_bar, beta_bar; in compute_level_mappings_metric() local
700 scale_sq += ref * ref;// ref,delta are valid --> update scale in compute_level_mappings_metric()
706 { ref = level_maps_ref[cntr]; scale_sq += ref * ref; } in compute_level_mappings_metric()
711 { ref = level_maps_ref[cntr]; scale_sq += ref * ref; } in compute_level_mappings_metric()
725 if (relativeMetric) scale_sq += ref * ref; in compute_level_mappings_metric()
730 { ref = level_maps_ref[cntr]; scale_sq += ref * ref; } in compute_level_mappings_metric()
759 Real scale = std::max(Pecos::SMALL_NUMBER, std::sqrt(scale_sq)); in compute_level_mappings_metric()
1023 Real delta, ref, sum_sq = 0., scale_sq = 0., z_bar, beta_bar; in analytic_delta_level_mappings() local
H A DNonDExpansion.cpp2323 Real sum_sq = 0., scale_sq = 0.; in compute_level_mappings_metric() local
2329 if (relativeMetric) scale_sq += ref * ref; in compute_level_mappings_metric()
2339 Real scale = std::max(Pecos::SMALL_NUMBER, std::sqrt(scale_sq)); in compute_level_mappings_metric()
/dports/devel/allegro5/allegro5-5.2.7.0/addons/primitives/
H A Dhigh_primitives.c65 float scale_sq = DET2D(t); in get_scale() local
70 scale_sq *= DET2D(p) * al_get_bitmap_width(b) * al_get_bitmap_height(b) / 4.0f; in get_scale()
73 return sqrtf(scale_sq); in get_scale()
/dports/science/py-pymol/pymol-open-source-2.4.0/layer1/
H A DCGO.cpp8115 float scale[3], scale_sq[3]; in CGOSimpleEllipsoid() local
8126 scale_sq[0] = scale[0] * scale[0]; in CGOSimpleEllipsoid()
8127 scale_sq[1] = scale[1] * scale[1]; in CGOSimpleEllipsoid()
8128 scale_sq[2] = scale[2] * scale[2]; in CGOSimpleEllipsoid()
8170 ss0 = dd0 / scale_sq[0]; in CGOSimpleEllipsoid()
8175 ss1 = dd1 / scale_sq[1]; in CGOSimpleEllipsoid()
8181 ss2 = dd2 / scale_sq[2]; in CGOSimpleEllipsoid()