/dports/science/jstrack/jstrack/extlib/tcllib1.19/math/ |
H A D | mvlinreg.tcl | 118 set ysum 0 159 set ysum [expr {$ysum + $wt * $yval}] 174 set ymean [expr {double($ysum)/$wtsum}]
|
/dports/devel/tcllib/tcllib-1.20/modules/math/ |
H A D | mvlinreg.tcl | 118 set ysum 0 159 set ysum [expr {$ysum + $wt * $yval}] 174 set ymean [expr {double($ysum)/$wtsum}]
|
/dports/devel/tcllibc/tcllib-1.20/modules/math/ |
H A D | mvlinreg.tcl | 118 set ysum 0 159 set ysum [expr {$ysum + $wt * $yval}] 174 set ymean [expr {double($ysum)/$wtsum}]
|
/dports/science/afni/afni-AFNI_21.3.16/src/ |
H A D | 3dANOVA2.c | 1225 volume_zero (ysum, nxyz); in calculate_sum() 1242 ysum[ixyz] += y[ixyz]; in calculate_sum() 1397 if ((ss0 == NULL) || (ysum == NULL)) in calculate_ss0() 1405 ss0[ixyz] = ysum[ixyz] * ysum[ixyz] / nval; in calculate_ss0() 1416 free (ysum); ysum = NULL; in calculate_ss0() 1466 ssi[ixyz] += ysum[ixyz] * ysum[ixyz] / nval; in calculate_ssi() 1477 free (ysum); ysum = NULL; in calculate_ssi() 1527 ssj[ixyz] += ysum[ixyz] * ysum[ixyz] / nval; in calculate_ssj() 1538 free (ysum); ysum = NULL; in calculate_ssj() 1591 ssij[ixyz] += ysum[ixyz] * ysum[ixyz] / nval; in calculate_ssij() [all …]
|
H A D | 3dANOVA3.c | 2278 ss0[ixyz] = ysum[ixyz] * ysum[ixyz] / nval; in calculate_ss0() 2289 free (ysum); ysum = NULL; in calculate_ss0() 2341 ssi[ixyz] += ysum[ixyz] * ysum[ixyz] / nval; in calculate_ssi() 2352 free (ysum); ysum = NULL; in calculate_ssi() 2404 ssj[ixyz] += ysum[ixyz] * ysum[ixyz] / nval; in calculate_ssj() 2415 free (ysum); ysum = NULL; in calculate_ssj() 2478 free (ysum); ysum = NULL; in calculate_ssk() 2545 free (ysum); ysum = NULL; in calculate_ssij() 2612 free (ysum); ysum = NULL; in calculate_ssik() 2679 free (ysum); ysum = NULL; in calculate_ssjk() [all …]
|
H A D | 3dANOVA.c | 978 ysum = (float *) malloc(sizeof(float)*nxyz); in calculate_ysum() 979 if ((y == NULL) || (ysum == NULL)) in calculate_ysum() 984 volume_zero (ysum, nxyz); in calculate_ysum() 990 ysum[ixyz] += y[ixyz]; in calculate_ysum() 994 printf ("y.. = %f \n", ysum[nvoxel-1]); in calculate_ysum() 995 volume_write ("ysum",ysum, nxyz); in calculate_ysum() 998 free (ysum); ysum = NULL; in calculate_ysum() 1081 if ((ysum == NULL) || (ssto == NULL)) in calculate_ssto() 1086 volume_read ("ysum", ysum, nxyz); in calculate_ssto() 1089 yval = ysum[ixyz]; in calculate_ssto() [all …]
|
/dports/math/vtk8/VTK-8.2.0/Filters/Geometry/Testing/Cxx/ |
H A D | TestStructuredGridGhostDataGenerator.cxx | 134 double ysum = 0.0; in CheckCellFieldsForGrid() local 141 ysum += xyz[1]; in CheckCellFieldsForGrid() 147 centroid[1] = ysum / static_cast<double>( nodeIds->GetNumberOfIds() ); in CheckCellFieldsForGrid() 266 double ysum = 0.0; in AddCellCenteredXYZField() local 273 ysum += xyz[1]; in AddCellCenteredXYZField() 278 centroid[1] = ysum / c->GetNumberOfPoints(); in AddCellCenteredXYZField()
|
/dports/math/vtk8/VTK-8.2.0/Filters/ParallelGeometry/Testing/Cxx/ |
H A D | TestPUniformGridGhostDataGenerator.cxx | 130 double ysum = 0.0; in AddCellCenteredXYZField() local 137 ysum += xyz[1]; in AddCellCenteredXYZField() 142 centroid[1] = ysum / c->GetNumberOfPoints(); in AddCellCenteredXYZField() 207 double ysum = 0.0; in CheckCellFieldsForGrid() local 214 ysum += xyz[1]; in CheckCellFieldsForGrid() 219 centroid[1] = ysum / c->GetNumberOfPoints(); in CheckCellFieldsForGrid()
|
H A D | TestPStructuredGridGhostDataGenerator.cxx | 157 double ysum = 0.0; in AddCellCenteredXYZField() local 164 ysum += xyz[1]; in AddCellCenteredXYZField() 169 centroid[1] = ysum / c->GetNumberOfPoints(); in AddCellCenteredXYZField() 235 double ysum = 0.0; in CheckCellFieldsForGrid() local 242 ysum += xyz[1]; in CheckCellFieldsForGrid() 248 centroid[1] = ysum / static_cast<double>( nodeIds->GetNumberOfIds() ); in CheckCellFieldsForGrid()
|
/dports/math/vtk9/VTK-9.1.0/Filters/ParallelDIY2/Testing/Cxx/ |
H A D | TestStructuredGridGhostDataGenerator.cxx | 128 double ysum = 0.0; in CheckCellFieldsForGrid() local 135 ysum += xyz[1]; in CheckCellFieldsForGrid() 141 centroid[1] = ysum / static_cast<double>(nodeIds->GetNumberOfIds()); in CheckCellFieldsForGrid() 255 double ysum = 0.0; in AddCellCenteredXYZField() local 262 ysum += xyz[1]; in AddCellCenteredXYZField() 267 centroid[1] = ysum / c->GetNumberOfPoints(); in AddCellCenteredXYZField()
|
H A D | TestPUniformGridGhostDataGenerator.cxx | 129 double ysum = 0.0; in AddCellCenteredXYZField() local 136 ysum += xyz[1]; in AddCellCenteredXYZField() 141 centroid[1] = ysum / c->GetNumberOfPoints(); in AddCellCenteredXYZField() 202 double ysum = 0.0; in CheckCellFieldsForGrid() local 209 ysum += xyz[1]; in CheckCellFieldsForGrid() 214 centroid[1] = ysum / c->GetNumberOfPoints(); in CheckCellFieldsForGrid()
|
H A D | TestPStructuredGridGhostDataGenerator.cxx | 155 double ysum = 0.0; in AddCellCenteredXYZField() local 162 ysum += xyz[1]; in AddCellCenteredXYZField() 167 centroid[1] = ysum / c->GetNumberOfPoints(); in AddCellCenteredXYZField() 229 double ysum = 0.0; in CheckCellFieldsForGrid() local 236 ysum += xyz[1]; in CheckCellFieldsForGrid() 242 centroid[1] = ysum / static_cast<double>(nodeIds->GetNumberOfIds()); in CheckCellFieldsForGrid()
|
/dports/math/vtk6/VTK-6.2.0/Filters/Geometry/Testing/Cxx/ |
H A D | TestStructuredGridGhostDataGenerator.cxx | 134 double ysum = 0.0; in CheckCellFieldsForGrid() local 141 ysum += xyz[1]; in CheckCellFieldsForGrid() 147 centroid[1] = ysum / static_cast<double>( nodeIds->GetNumberOfIds() ); in CheckCellFieldsForGrid() 266 double ysum = 0.0; in AddCellCenteredXYZField() local 273 ysum += xyz[1]; in AddCellCenteredXYZField() 278 centroid[1] = ysum / c->GetNumberOfPoints(); in AddCellCenteredXYZField()
|
/dports/math/vtk6/VTK-6.2.0/Filters/ParallelGeometry/Testing/Cxx/ |
H A D | TestPUniformGridGhostDataGenerator.cxx | 139 double ysum = 0.0; in AddCellCenteredXYZField() local 146 ysum += xyz[1]; in AddCellCenteredXYZField() 151 centroid[1] = ysum / c->GetNumberOfPoints(); in AddCellCenteredXYZField() 216 double ysum = 0.0; in CheckCellFieldsForGrid() local 223 ysum += xyz[1]; in CheckCellFieldsForGrid() 228 centroid[1] = ysum / c->GetNumberOfPoints(); in CheckCellFieldsForGrid()
|
H A D | TestPStructuredGridGhostDataGenerator.cxx | 157 double ysum = 0.0; in AddCellCenteredXYZField() local 164 ysum += xyz[1]; in AddCellCenteredXYZField() 169 centroid[1] = ysum / c->GetNumberOfPoints(); in AddCellCenteredXYZField() 235 double ysum = 0.0; in CheckCellFieldsForGrid() local 242 ysum += xyz[1]; in CheckCellFieldsForGrid() 248 centroid[1] = ysum / static_cast<double>( nodeIds->GetNumberOfIds() ); in CheckCellFieldsForGrid()
|
/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/Core/ |
H A D | BisqwitNtscFilter.cpp | 274 int ysum = brightness, isum = 0, qsum = 0; in NtscDecodeLine() local 280 ysum += Read(s) - Read(s - _yWidth); in NtscDecodeLine() 285 int r = std::min(255, std::max(0, (ysum*_y + isum*_ir + qsum*_qr) / 65536)); in NtscDecodeLine() 286 int g = std::min(255, std::max(0, (ysum*_y + isum*_ig + qsum*_qg) / 65536)); in NtscDecodeLine() 287 int b = std::min(255, std::max(0, (ysum*_y + isum*_ib + qsum*_qb) / 65536)); in NtscDecodeLine()
|
/dports/games/libretro-mame2000/mame2000-libretro-e364a15/src/vidhrdw/ |
H A D | leland.c | 635 int ysum = ycoarse + y; in leland_vh_screenrefresh() local 640 ((ysum << 8) & 0x01f00) | in leland_vh_screenrefresh() 642 ((ysum << 9) & 0x1c000); in leland_vh_screenrefresh() 644 ((ysum << 2) & 0x300) | in leland_vh_screenrefresh() 723 int ysum = ycoarse + y; in ataxx_vh_screenrefresh() local 727 int offs = ((ysum & 0x40) << 9) + ((ysum & 0x3f) << 8) + (xsum & 0xff); in ataxx_vh_screenrefresh()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/input/touchscreen/ |
H A D | ti_am335x_tsc.c | 221 unsigned int i, xsum = 0, ysum = 0; in titsc_read_coordinates() local 248 ysum += yvals[i]; in titsc_read_coordinates() 251 ysum /= creads; in titsc_read_coordinates() 259 ysum += yvals[i]; in titsc_read_coordinates() 262 ysum /= creads - 2; in titsc_read_coordinates() 265 *y = ysum; in titsc_read_coordinates()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/input/touchscreen/ |
H A D | ti_am335x_tsc.c | 221 unsigned int i, xsum = 0, ysum = 0; in titsc_read_coordinates() local 248 ysum += yvals[i]; in titsc_read_coordinates() 251 ysum /= creads; in titsc_read_coordinates() 259 ysum += yvals[i]; in titsc_read_coordinates() 262 ysum /= creads - 2; in titsc_read_coordinates() 265 *y = ysum; in titsc_read_coordinates()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/input/touchscreen/ |
H A D | ti_am335x_tsc.c | 221 unsigned int i, xsum = 0, ysum = 0; in titsc_read_coordinates() local 248 ysum += yvals[i]; in titsc_read_coordinates() 251 ysum /= creads; in titsc_read_coordinates() 259 ysum += yvals[i]; in titsc_read_coordinates() 262 ysum /= creads - 2; in titsc_read_coordinates() 265 *y = ysum; in titsc_read_coordinates()
|
/dports/multimedia/avidemux-qt5/avidemux_2.7.6/avidemux_plugins/ADM_videoFilters/MSmooth/ |
H A D | ADM_vidMsmooth.cpp | 709 int x, y, ysum; in SmoothingPassYV12() local 730 ysum = srcp[x]; in SmoothingPassYV12() 733 ysum += srcpp[x]; in SmoothingPassYV12() 738 ysum += srcpn[x]; in SmoothingPassYV12() 741 workp[x] = ysum / count; in SmoothingPassYV12() 770 ysum = workp[x]; in SmoothingPassYV12() 773 ysum += workp[x-1]; in SmoothingPassYV12() 778 ysum += workp[x+1]; in SmoothingPassYV12() 781 finalp[x] = ysum / count; in SmoothingPassYV12()
|
/dports/multimedia/avidemux-plugins/avidemux_2.7.6/avidemux_plugins/ADM_videoFilters/MSmooth/ |
H A D | ADM_vidMsmooth.cpp | 709 int x, y, ysum; in SmoothingPassYV12() local 730 ysum = srcp[x]; in SmoothingPassYV12() 733 ysum += srcpp[x]; in SmoothingPassYV12() 738 ysum += srcpn[x]; in SmoothingPassYV12() 741 workp[x] = ysum / count; in SmoothingPassYV12() 770 ysum = workp[x]; in SmoothingPassYV12() 773 ysum += workp[x-1]; in SmoothingPassYV12() 778 ysum += workp[x+1]; in SmoothingPassYV12() 781 finalp[x] = ysum / count; in SmoothingPassYV12()
|
/dports/multimedia/avidemux-cli/avidemux_2.7.6/avidemux_plugins/ADM_videoFilters/MSmooth/ |
H A D | ADM_vidMsmooth.cpp | 709 int x, y, ysum; in SmoothingPassYV12() local 730 ysum = srcp[x]; in SmoothingPassYV12() 733 ysum += srcpp[x]; in SmoothingPassYV12() 738 ysum += srcpn[x]; in SmoothingPassYV12() 741 workp[x] = ysum / count; in SmoothingPassYV12() 770 ysum = workp[x]; in SmoothingPassYV12() 773 ysum += workp[x-1]; in SmoothingPassYV12() 778 ysum += workp[x+1]; in SmoothingPassYV12() 781 finalp[x] = ysum / count; in SmoothingPassYV12()
|
/dports/multimedia/avidemux/avidemux_2.7.6/avidemux_plugins/ADM_videoFilters/MSmooth/ |
H A D | ADM_vidMsmooth.cpp | 709 int x, y, ysum; in SmoothingPassYV12() local 730 ysum = srcp[x]; in SmoothingPassYV12() 733 ysum += srcpp[x]; in SmoothingPassYV12() 738 ysum += srcpn[x]; in SmoothingPassYV12() 741 workp[x] = ysum / count; in SmoothingPassYV12() 770 ysum = workp[x]; in SmoothingPassYV12() 773 ysum += workp[x-1]; in SmoothingPassYV12() 778 ysum += workp[x+1]; in SmoothingPassYV12() 781 finalp[x] = ysum / count; in SmoothingPassYV12()
|
/dports/math/librsb/librsb-1.2.0.10/ |
H A D | rsb_test_accuracy.c | 190 rsb_aligned_t ysum[RSB_CONST_ENOUGH_ALIGNED_FOR_ANY_TYPE]; in rsb__do_spmv_accuracy_test() local 209 errval = rsb__util_vector_sum(ysum,Y,coop->typecode,vd); in rsb__do_spmv_accuracy_test() 211 rsb__vector_to_abs(ysum,coop->typecode,1); in rsb__do_spmv_accuracy_test() 213 if(!RSB_SOME_ERROR(rsb__do_are_same(ysum,zsum,1,coop->typecode,1,1))) in rsb__do_spmv_accuracy_test()
|