Home
last modified time | relevance | path

Searched refs:SQR (Results 151 – 175 of 1451) sorted by last modified time

12345678910>>...59

/dports/science/afni/afni-AFNI_21.3.16/src/
H A Dafni_pcor.c309 den = VCH(vc,vox,nr) + SQR(VCH(vc,vox,nr-1)) ; in PCOR_get_pcor()
350 case 2: den += SQR(VCH(vc,vox,nr-1)) in PCOR_get_mcor()
353 case 3: den += SQR(VCH(vc,vox,nr-1)) in PCOR_get_mcor()
354 + SQR(VCH(vc,vox,nr-2)) in PCOR_get_mcor()
357 case 4: den += SQR(VCH(vc,vox,nr-1)) in PCOR_get_mcor()
358 + SQR(VCH(vc,vox,nr-2)) in PCOR_get_mcor()
359 + SQR(VCH(vc,vox,nr-3)) in PCOR_get_mcor()
598 thfac = SQR(pcthresh)/(1.0-SQR(pcthresh)) ; in PCOR_get_pcor_and_coef()
606 pcor[vox] = num / sqrt(den+SQR(num)) ; in PCOR_get_pcor_and_coef()
610 thfac = SQR(pcthresh)/(1.0-SQR(pcthresh)) ; in PCOR_get_pcor_and_coef()
[all …]
H A Dafni_pcor.h40 #ifndef SQR
41 # define SQR(x) ((x)*(x)) macro
H A Dbetafit.c530 chq += SQR(hbin[ii]-ccc) / ccc ; in BFIT_compute()
H A Dpcor.c139 for( jj=0 ; jj < nr ; jj++) qinput[jj] += SQR(zz[jj]) ; /* for later */
314 qvox += SQR(vdata[VD]) ;
483 / sqrt( den + SQR(VCH(vc,vox,nr-1)) ) ;
657 thfac = SQR(pcthresh)/(1.0-SQR(pcthresh)) ;
667 if( do_pcth || SQR(num) > thfac*den ){ /* fancy threshold test */
669 pc = pcor[vox] = num / sqrt(den+SQR(num)) ;
/dports/audio/audacity/audacity-Audacity-3.1.3/src/
H A DEnvelopeEditor.cpp126 inline int SQR(int x) { return x * x; } in SQR() function
210 const int deltaXSquared = SQR(x - (event.m_x - r.x)); in HandleMouseButtonDown()
213 const int dSqr = deltaXSquared + SQR(y[j] - (event.m_y - r.y)); in HandleMouseButtonDown()
/dports/audio/zynaddsubfx/zynaddsubfx-3.0.6-rc5/src/UI/
H A DLFOUI.fl121 label SQR
/dports/lang/seed7/seed7/prg/
H A Dbas7.sd746 (* SPACE$, SPC, SQR, STOP, STR$, **STRIG, STRING$, **SUB, SWAP, *)
235 "SGN", "SIN", "SQR", "STRIG", "TAN", "TIMER",
2739 when {"SQR"}:
2746 writeln(log, "SQR(" <& num1 <& ") -> " <& exprResult);
2749 writeln(err, "SQR(" <& num1 <& ") - ILLEGAL FUNCTION CALL");
/dports/graphics/gimp-app/gimp-2.10.30/plug-ins/gfig/
H A Dgfig-grid.c162 gdouble r = sqrt (SQR (px) + SQR (py)); in find_grid_pos_polar()
367 gdouble max_radius = sqrt (SQR (preview_width) + SQR (preview_height)); in draw_grid_polar()
/dports/graphics/gimp-app/gimp-2.10.30/plug-ins/ifs-compose/
H A Difs-compose-utils.c125 naff->a11 = (SQR(xn) + SQR(yo)) / denom; in aff2_compute_stretch()
126 naff->a22 = (SQR(xo) + SQR(yn)) / denom; in aff2_compute_stretch()
409 mag2 = SQR (elem->v.target_color.r); in aff_element_compute_color_trans()
410 mag2 += SQR (elem->v.target_color.g); in aff_element_compute_color_trans()
411 mag2 += SQR (elem->v.target_color.b); in aff_element_compute_color_trans()
621 xtot += SQR (points_x[i] - xc) - SQR (points_y[i] - yc); in aff_element_compute_click_boundary()
845 brush = g_new (guchar, SQR (*brush_size)); in create_brush()
852 gdouble d = sqrt (SQR (i - *brush_offset) + in create_brush()
853 SQR (j - *brush_offset)); in create_brush()
863 d = sqrt (SQR (i - *brush_offset + ii * 0.1 - 0.45) + in create_brush()
[all …]
H A Difs-compose.c1276 num_bands = ceil ((gdouble) (width * height * SQR (ifsvals.subdivide) * 5) in ifs_compose()
1283 mask = g_new (guchar, width * band_height * SQR (ifsvals.subdivide)); in ifs_compose()
1284 data = g_new (guchar, width * band_height * SQR (ifsvals.subdivide) * 3); in ifs_compose()
1285 nhits = g_new (guchar, width * band_height * SQR (ifsvals.subdivide)); in ifs_compose()
1303 memset (mask, 0, width * band_height * SQR (ifsvals.subdivide)); in ifs_compose()
1304 memset (nhits, 0, width * band_height * SQR (ifsvals.subdivide)); in ifs_compose()
1368 mtot /= SQR (ifsvals.subdivide); in ifs_compose()
1708 sqrt((SQR(xn)+SQR(yn))/(SQR(xo)+SQR(yo))), in design_area_motion()
/dports/graphics/gimp-app/gimp-2.10.30/modules/
H A Dcolor-selector-water.c422 gdouble much = sqrt (SQR (x - water->last_x) + SQR (y - water->last_y)); in draw_brush()
/dports/graphics/gimp-app/gimp-2.10.30/plug-ins/common/
H A Ddespeckle.c54 #define MAX_LIST_ELEMS SQR(2 * MAX_RADIUS + 1)
H A Dgrid.c275 sum = SQR (diff); in best_cmap_match()
277 sum += SQR (diff); in best_cmap_match()
279 sum += SQR (diff); in best_cmap_match()
H A Dfile-xmc.c1481 guint32 pixelbuf[SQR (MAX_SAVE_DIMENSION)]; in save_image()
1688 g_assert (save_rgn.width * save_rgn.height < SQR (MAX_SAVE_DIMENSION)); in save_image()
/dports/graphics/gimp-app/gimp-2.10.30/libgimpmath/
H A Dgimpmath.h101 #define SQR(x) ((x) * (x)) macro
/dports/graphics/gimp-app/gimp-2.10.30/tools/
H A Dkernelgen.c36 #define SQR(x) ((x) * (x)) macro
65 w = (SQR (dist_x) + SQR (dist_y)) < THRESHOLD ? 1.0 : 0.0; in create_kernel()
/dports/graphics/gimp-app/gimp-2.10.30/plug-ins/file-fli/
H A Dfli-gimp.c702 sum = SQR (diff); in save_image()
704 sum += SQR (diff); in save_image()
706 sum += SQR (diff); in save_image()
/dports/graphics/gimp-app/gimp-2.10.30/app/tools/
H A Dgimpdrawtool.c673 return SQR (tx2 - tx1) + SQR (ty2 - ty1); in gimp_draw_tool_calc_distance_square()
1273 return ((SQR (handle_tx - tx) + SQR (handle_ty - ty)) < SQR (width)); in gimp_draw_tool_on_handle()
H A Dgimpiscissorstool.c350 1.0 / (1 + sqrt (SQR (i - radius) + SQR (j - radius))); in gimp_iscissors_tool_class_init()
1433 x, y) < SQR (GIMP_TOOL_HANDLE_SIZE_CIRCLE / 2)) in mouse_over_segment()
/dports/graphics/gimp-app/gimp-2.10.30/app/widgets/
H A Dgimpblobeditor.c274 rsquare = SQR (x) + SQR (y); in gimp_blob_editor_motion_notify()
/dports/graphics/gimp-app/gimp-2.10.30/app/operations/
H A Dgimpoperationgradient.c573 r = sqrt (SQR (x) + SQR (y)); in gradient_calc_conical_sym_factor()
686 r = sqrt (SQR (x) + SQR (y)); in gradient_calc_radial_factor()
793 r = sqrt (SQR (x) + SQR (y)) / dist; in gradient_calc_spiral_factor()
1104 rbd.dist = sqrt (SQR (ex - sx) + SQR (ey - sy)); in gimp_operation_gradient_process()
1117 rbd.dist = sqrt (SQR (ex - sx) + SQR (ey - sy)); in gimp_operation_gradient_process()
1130 rbd.dist = sqrt (SQR (ex - sx) + SQR (ey - sy)); in gimp_operation_gradient_process()
H A Dgimpoperationgrow.c209 (gdouble) xradius * sqrt (SQR (xradius) - SQR (tmp))); in compute_border()
/dports/graphics/gimp-app/gimp-2.10.30/app/propgui/
H A Dgimppropgui-supernova.c56 radius = sqrt (SQR (x2 - x1) + SQR (y2 - y1)); in line_callback()
/dports/graphics/gimp-app/gimp-2.10.30/app/display/
H A Dgimptoolline.c1212 length_sqr = SQR (private->x2 - private->x1) + in gimp_tool_line_project_point()
1213 SQR (private->y2 - private->y1); in gimp_tool_line_project_point()
H A Dgimptoolpolygon.c54 #define POINT_GRAB_THRESHOLD_SQ SQR (GIMP_CANVAS_HANDLE_SIZE_CIRCLE / 2)
55 #define POINT_SHOW_THRESHOLD_SQ SQR (GIMP_CANVAS_HANDLE_SIZE_CIRCLE * 7)

12345678910>>...59