/dports/science/afni/afni-AFNI_21.3.16/src/ |
H A D | afni_pcor.c | 309 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 D | afni_pcor.h | 40 #ifndef SQR 41 # define SQR(x) ((x)*(x)) macro
|
H A D | betafit.c | 530 chq += SQR(hbin[ii]-ccc) / ccc ; in BFIT_compute()
|
H A D | pcor.c | 139 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 D | EnvelopeEditor.cpp | 126 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 D | LFOUI.fl | 121 label SQR
|
/dports/lang/seed7/seed7/prg/ |
H A D | bas7.sd7 | 46 (* 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 D | gfig-grid.c | 162 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 D | ifs-compose-utils.c | 125 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 D | ifs-compose.c | 1276 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 D | color-selector-water.c | 422 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 D | despeckle.c | 54 #define MAX_LIST_ELEMS SQR(2 * MAX_RADIUS + 1)
|
H A D | grid.c | 275 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 D | file-xmc.c | 1481 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 D | gimpmath.h | 101 #define SQR(x) ((x) * (x)) macro
|
/dports/graphics/gimp-app/gimp-2.10.30/tools/ |
H A D | kernelgen.c | 36 #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 D | fli-gimp.c | 702 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 D | gimpdrawtool.c | 673 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 D | gimpiscissorstool.c | 350 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 D | gimpblobeditor.c | 274 rsquare = SQR (x) + SQR (y); in gimp_blob_editor_motion_notify()
|
/dports/graphics/gimp-app/gimp-2.10.30/app/operations/ |
H A D | gimpoperationgradient.c | 573 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 D | gimpoperationgrow.c | 209 (gdouble) xradius * sqrt (SQR (xradius) - SQR (tmp))); in compute_border()
|
/dports/graphics/gimp-app/gimp-2.10.30/app/propgui/ |
H A D | gimppropgui-supernova.c | 56 radius = sqrt (SQR (x2 - x1) + SQR (y2 - y1)); in line_callback()
|
/dports/graphics/gimp-app/gimp-2.10.30/app/display/ |
H A D | gimptoolline.c | 1212 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 D | gimptoolpolygon.c | 54 #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)
|