/dports/misc/vxl/vxl-3.3.2/core/vil/ |
H A D | vil_bicub_interp.hxx | 36 double normy = y-p1y; in vil_bicub_interp_unsafe() local 47 double t0 = ((2-normy)*normy-1)*normy; in vil_bicub_interp_unsafe() 48 double t1 = (3*normy-5)*normy*normy+2; in vil_bicub_interp_unsafe() 49 double t2 = ((4-3*normy)*normy+1)*normy; in vil_bicub_interp_unsafe() 50 double t3 = (normy-1)*normy*normy; in vil_bicub_interp_unsafe() 94 if (normy != 0.0) { in vil_bicub_interp_raw() 95 t0 = ((2-normy)*normy-1)*normy; // -1 in vil_bicub_interp_raw() 96 t1 = (3*normy-5)*normy*normy+2; // 0 in vil_bicub_interp_raw() 97 t2 = ((4-3*normy)*normy+1)*normy; // +1 in vil_bicub_interp_raw() 98 t3 = (normy-1)*normy*normy; // +2 in vil_bicub_interp_raw() [all …]
|
H A D | vil_bilin_interp.h | 33 double normy = y-p1y; in vil_bilin_interp_unsafe() local 37 double i1 = pix1[0 ]+(pix1[ ystep]-pix1[0 ])*normy; in vil_bilin_interp_unsafe() 38 double i2 = pix1[xstep]+(pix1[xstep+ystep]-pix1[xstep])*normy; in vil_bilin_interp_unsafe() 67 double normy = y-p1y; in vil_bilin_interp_raw() local 73 if (normx == 0 && normy == 0) return pix1[0]; in vil_bilin_interp_raw() 74 if (normx == 0) return pix1[0]+(pix1[ystep]-pix1[0])*normy; in vil_bilin_interp_raw() 75 if (normy == 0) return pix1[0]+(pix1[xstep]-pix1[0])*normx; in vil_bilin_interp_raw() 77 double i1 = pix1[0 ]+(pix1[ ystep]-pix1[0 ])*normy; in vil_bilin_interp_raw() 78 double i2 = pix1[xstep]+(pix1[xstep+ystep]-pix1[xstep])*normy; in vil_bilin_interp_raw()
|
/dports/math/vtk9/VTK-9.1.0/Common/DataModel/Testing/Cxx/ |
H A D | TestVector.cxx | 100 vtkVector3d normy(1, 2, 3); in TestVector() local 101 vtkVector3d normed = normy.Normalized(); in TestVector() 102 double dotted = normy.Dot(normed); in TestVector() 114 normy.Normalize(); in TestVector() 115 if (!normy.Compare(normed, 0.0001)) in TestVector() 119 if (!vtkMathUtilities::FuzzyCompare(normy.Norm(), 1.0, 0.0001)) in TestVector() 126 cerr << "The dot product of " << normy.Norm() << endl; in TestVector() 131 cerr << "The dot product of " << normy << " and " << normed << " was " << normy.Dot(normed) in TestVector() 136 if (!normy.Cross(normed).Compare(vtkVector3d(0, 0, 0), 0.0001)) in TestVector() 138 cerr << normy << " cross " << normed << " expected to be 0, got " << normy.Cross(normed) in TestVector() [all …]
|
/dports/math/vtk8/VTK-8.2.0/Common/DataModel/Testing/Cxx/ |
H A D | TestVector.cxx | 101 vtkVector3d normy(1, 2, 3); in TestVector() local 102 vtkVector3d normed = normy.Normalized(); in TestVector() 103 double dotted = normy.Dot(normed); in TestVector() 115 normy.Normalize(); in TestVector() 116 if (!normy.Compare(normed, 0.0001)) in TestVector() 120 if (!vtkMathUtilities::FuzzyCompare(normy.Norm(), 1.0, 0.0001)) in TestVector() 123 << normy.Norm() << endl; in TestVector() 129 << normy.Norm() << endl; in TestVector() 135 << normy.Dot(normed) << ", expected 1.0." << endl; in TestVector() 142 << normy.Cross(normed) << endl; in TestVector() [all …]
|
/dports/math/vtk6/VTK-6.2.0/Common/DataModel/Testing/Cxx/ |
H A D | TestVector.cxx | 101 vtkVector3d normy(1, 2, 3); in TestVector() local 102 vtkVector3d normed = normy.Normalized(); in TestVector() 103 double dotted = normy.Dot(normed); in TestVector() 115 normy.Normalize(); in TestVector() 116 if (!normy.Compare(normed, 0.0001)) in TestVector() 120 if (!vtkMathUtilities::FuzzyCompare(normy.Norm(), 1.0, 0.0001)) in TestVector() 123 << normy.Norm() << endl; in TestVector() 129 << normy.Norm() << endl; in TestVector() 135 << normy.Dot(normed) << ", expected 1.0." << endl; in TestVector() 142 << normy.Cross(normed) << endl; in TestVector() [all …]
|
/dports/science/gnudatalanguage/gdl-1.0.1/src/ |
H A D | gdlgstream.hpp | 589 devy=normy*thePage.height; in NormedDeviceToDevice() 604 normy=devy/thePage.height; in DeviceToNormedDevice() 616 worldy=s1*(normy-theBox.ny1)+s2; in NormToWorld() 629 worldy=s1*(normy-theBox.ndy1)+s2; in NormedDeviceToWorld() 642 normy=s1*(worldy-theBox.wy1)+s2; in WorldToNorm() 655 normy=s1*(worldy-theBox.wy1)+s2; in WorldToNormedDevice() 663 PLFLT normx, normy; in DeviceToWorld() local 664 DeviceToNormedDevice(devx, devy, normx, normy); in DeviceToWorld() 665 NormedDeviceToWorld(normx, normy, worldx, worldy); in DeviceToWorld() 671 PLFLT normx, normy; in WorldToDevice() local [all …]
|
/dports/math/chaco/Chaco-2.2/code/eigen/ |
H A D | checkeig.c | 20 double normy; local 26 normy = norm(y, 1, n); 27 resid = norm(err, 1, n) / normy;
|
/dports/misc/vxl/vxl-3.3.2/contrib/mul/vil3d/ |
H A D | vil3d_trilin_interp.h | 27 double normx,normy,normz; in vil3d_trilin_interp_raw() local 31 normy = y-p1y; in vil3d_trilin_interp_raw() 41 double i11 = (double)row11[0]+(double)(row21[0]-row11[0])*normy; in vil3d_trilin_interp_raw() 42 double i21 = (double)row11[xstep]+(double)(row21[xstep]-row11[xstep])*normy; in vil3d_trilin_interp_raw() 46 double i12 = (double)row12[0]+(double)(row22[0]-row12[0])*normy; in vil3d_trilin_interp_raw() 47 double i22 = (double)row12[xstep]+(double)(row22[xstep]-row12[xstep])*normy; in vil3d_trilin_interp_raw()
|
H A D | vil3d_tricub_interp.hxx | 38 double normy = y-p1y; in vil3d_tricub_interp_raw() local 50 get_tricubic_coeff( normy, t0, t1, t2, t3 ); in vil3d_tricub_interp_raw() 105 double normy = y - p1y; in vil3d_tricub_interp_safe_trilinear_extend() local 178 val1 = xi11 + (xi21 - xi11)*normy; in vil3d_tricub_interp_safe_trilinear_extend() 179 val2 = xi12 + (xi22 - xi12)*normy; in vil3d_tricub_interp_safe_trilinear_extend() 236 get_tricubic_coeff( normy, t0, t1, t2, t3 ); in vil3d_tricub_interp_safe_trilinear_extend() 303 val0 = xi10 + (xi20 - xi10)*normy; in vil3d_tricub_interp_safe_trilinear_extend() 304 val1 = xi11 + (xi21 - xi11)*normy; in vil3d_tricub_interp_safe_trilinear_extend() 305 val2 = xi12 + (xi22 - xi12)*normy; in vil3d_tricub_interp_safe_trilinear_extend() 306 val3 = xi13 + (xi23 - xi13)*normy; in vil3d_tricub_interp_safe_trilinear_extend() [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/baml/ |
H A D | baml_warp.cxx | 67 double normy = wy-p1y; in baml_warp_perspective() local 70 ( img1(p1x,p1y+1) - (double)img1(p1x,p1y) )*normy; in baml_warp_perspective() 72 ( img1(p1x+1,p1y+1) - (double)img1(p1x+1,p1y) )*normy; in baml_warp_perspective() 136 double normy = wy-p1y; in baml_warp_perspective() local 139 ( img1(p1x,p1y+1) - (double)img1(p1x,p1y) )*normy; in baml_warp_perspective() 141 ( img1(p1x+1,p1y+1) - (double)img1(p1x+1,p1y) )*normy; in baml_warp_perspective()
|
/dports/math/vtk6/VTK-6.2.0/Common/Math/Testing/Cxx/ |
H A D | TestQuaternion.cxx | 155 vtkQuaterniond normy(1.0, 2.0, 3.0, 4.0); in TestQuaternionNormalization() local 156 vtkQuaterniond normed = normy.Normalized(); in TestQuaternionNormalization() 165 normy.Normalize(); in TestQuaternionNormalization() 166 if (!normy.Compare(normed, 0.0001)) in TestQuaternionNormalization() 169 << normy << std::endl; in TestQuaternionNormalization() 171 if (!vtkMathUtilities::FuzzyCompare(normy.Norm(), 1.0, 0.0001)) in TestQuaternionNormalization() 174 << normy.Norm() << std::endl; in TestQuaternionNormalization()
|
/dports/science/xtb/xtb-6.4.1/src/ |
H A D | pbc.f90 | 37 real(wp) :: normx(3),normy(3),normz(3) local 44 call crossproduct(lat(:,3),lat(:,1),normy) 49 normy=normy/norm2(normy) 54 cos21=sum(normy*lat(:,2))
|
/dports/graphics/lightzone/LightZone-4.1.8-3-g36e87773/lightcrafts/extsrc/com/lightcrafts/mediax/jai/ |
H A D | ColorSpaceJAI.java | 422 XYZ[1] = (yBuf[yIndex] & 0xFF) * normy ; in CIEXYZToRGBByte() 489 XYZ[1] = (yBuf[yIndex] & 0xFFFF) * normy ; in CIEXYZToRGBShort() 556 XYZ[1] = (yBuf[yIndex] & 0xFFFFFFFFl) * normy ; in CIEXYZToRGBInt() 926 double normx = 1.0, normy = normx, normz = normx ; in RGBToCIEXYZByte() local 936 normy = ((1L << destComponentSize[1]) - 1) / maxXYZ; in RGBToCIEXYZByte() 1005 double normx = 1.0, normy = 1.0, normz = 1.0 ; in RGBToCIEXYZShort() local 1014 normy = ((1L << destComponentSize[1]) - 1) / maxXYZ; in RGBToCIEXYZShort() 1046 dstPixels[dIndex++] = XYZ[1] * normy ; in RGBToCIEXYZShort() 1081 double normx = 1.0, normy = 1.0, normz = 1.0 ; in RGBToCIEXYZInt() local 1152 double normx = 1.0, normy = 1.0, normz = 1.0 ; in RGBToCIEXYZFloat() local [all …]
|
/dports/science/lammps/lammps-stable_29Sep2021/examples/PACKAGES/dielectric/ |
H A D | README | 13 id mol type q x y z normx normy normz area_per_patch ed em epsilon curvature 19 * normx, normy and normz are the three components of the normal unit vector 22 and can be anything (e.g. 0,0,1). normx, normy, and normz can be 26 For example, if (normx,normy,normz) points from medium with epsilon_in
|
/dports/math/vtk8/VTK-8.2.0/Common/Math/Testing/Cxx/ |
H A D | TestQuaternion.cxx | 155 vtkQuaterniond normy(1.0, 2.0, 3.0, 4.0); in TestQuaternionNormalization() local 156 vtkQuaterniond normed = normy.Normalized(); in TestQuaternionNormalization() 165 normy.Normalize(); in TestQuaternionNormalization() 166 if (!normy.Compare(normed, 0.0001)) in TestQuaternionNormalization() 169 << normy << std::endl; in TestQuaternionNormalization() 171 if (!vtkMathUtilities::FuzzyCompare(normy.Norm(), 1.0, 0.0001)) in TestQuaternionNormalization() 174 << normy.Norm() << std::endl; in TestQuaternionNormalization()
|
/dports/math/vtk9/VTK-9.1.0/Common/Math/Testing/Cxx/ |
H A D | TestQuaternion.cxx | 149 vtkQuaterniond normy(1.0, 2.0, 3.0, 4.0); in TestQuaternionNormalization() local 150 vtkQuaterniond normed = normy.Normalized(); in TestQuaternionNormalization() 156 normy.Normalize(); in TestQuaternionNormalization() 157 if (!normy.Compare(normed, 0.0001)) in TestQuaternionNormalization() 159 std::cerr << "Error vtkQuaterniond::Normalize() failed: " << normy << std::endl; in TestQuaternionNormalization() 161 if (!vtkMathUtilities::FuzzyCompare(normy.Norm(), 1.0, 0.0001)) in TestQuaternionNormalization() 163 std::cerr << "Normalized length should always be ~= 1.0, value is " << normy.Norm() in TestQuaternionNormalization()
|
/dports/math/libflame/libflame-5.2.0/src/map/lapack2flamec/f2c/c/ |
H A D | dla_gerfsx_extended.c | 425 doublereal normx, normy; in dla_gerfsx_extended_() local 545 normy = 0.; in dla_gerfsx_extended_() 568 normy = max(normy,yk); in dla_gerfsx_extended_() 582 normx = normy; in dla_gerfsx_extended_() 601 if (! (*ignore_cwise__) && ymin * *rcond < incr_thresh__ * normy && y_prec_state__ < 2) in dla_gerfsx_extended_()
|
H A D | dla_porfsx_extended.c | 416 doublereal normx, normy; in dla_porfsx_extended_() local 542 normy = 0.; in dla_porfsx_extended_() 565 normy = max(normy,yk); in dla_porfsx_extended_() 579 normx = normy; in dla_porfsx_extended_() 598 if (ymin * *rcond < incr_thresh__ * normy && y_prec_state__ < 2) in dla_porfsx_extended_()
|
H A D | sla_gerfsx_extended.c | 420 real normx, normy; in sla_gerfsx_extended_() local 542 normy = 0.f; in sla_gerfsx_extended_() 565 normy = max(normy,yk); in sla_gerfsx_extended_() 579 normx = normy; in sla_gerfsx_extended_() 598 if (! (*ignore_cwise__) && ymin * *rcond < incr_thresh__ * normy && y_prec_state__ < 2) in sla_gerfsx_extended_()
|
H A D | sla_porfsx_extended.c | 409 real normx, normy; in sla_porfsx_extended_() local 537 normy = 0.f; in sla_porfsx_extended_() 560 normy = max(normy,yk); in sla_porfsx_extended_() 574 normx = normy; in sla_porfsx_extended_() 593 if (ymin * *rcond < incr_thresh__ * normy && y_prec_state__ < 2) in sla_porfsx_extended_()
|
H A D | dla_gbrfsx_extended.c | 439 doublereal normx, normy; in dla_gbrfsx_extended_() local 560 normy = 0.; in dla_gbrfsx_extended_() 583 normy = max(normy,yk); in dla_gbrfsx_extended_() 597 normx = normy; in dla_gbrfsx_extended_() 616 if (! (*ignore_cwise__) && ymin * *rcond < incr_thresh__ * normy && y_prec_state__ < 2) in dla_gbrfsx_extended_()
|
H A D | cla_porfsx_extended.c | 428 real normx, normy; in cla_porfsx_extended_() local 560 normy = 0.f; in cla_porfsx_extended_() 585 normy = max(normy,yk); in cla_porfsx_extended_() 599 normx = normy; in cla_porfsx_extended_() 618 if (ymin * *rcond < incr_thresh__ * normy && y_prec_state__ < 2) in cla_porfsx_extended_()
|
H A D | dla_syrfsx_extended.c | 427 doublereal normx, normy; in dla_syrfsx_extended_() local 588 normy = 0.; in dla_syrfsx_extended_() 611 normy = max(normy,yk); in dla_syrfsx_extended_() 625 normx = normy; in dla_syrfsx_extended_() 644 if (ymin * *rcond < incr_thresh__ * normy && y_prec_state__ < 2) in dla_syrfsx_extended_()
|
H A D | zla_gerfsx_extended.c | 432 doublereal normx, normy; in zla_gerfsx_extended_() local 560 normy = 0.; in zla_gerfsx_extended_() 585 normy = max(normy,yk); in zla_gerfsx_extended_() 599 normx = normy; in zla_gerfsx_extended_() 618 if (! (*ignore_cwise__) && ymin * *rcond < incr_thresh__ * normy && y_prec_state__ < 2) in zla_gerfsx_extended_()
|
H A D | zla_porfsx_extended.c | 426 doublereal normx, normy; in zla_porfsx_extended_() local 560 normy = 0.; in zla_porfsx_extended_() 585 normy = max(normy,yk); in zla_porfsx_extended_() 599 normx = normy; in zla_porfsx_extended_() 618 if (ymin * *rcond < incr_thresh__ * normy && y_prec_state__ < 2) in zla_porfsx_extended_()
|