/dports/graphics/wings/wings-8d019ebe48/plugins_src/autouv/ |
H A D | auv_util.erl | 16 -export([maxmin/1]). 33 maxmin([{Id, {X,Y,_}}|Rest]) -> function 35 maxmin([{Id, {X,Y}}|Rest]) -> function 38 maxmin([],Xmin,Xmax,Ymin,Ymax) -> function 40 maxmin([{Id, {X,Y,_}}|Rest], function 54 maxmin(Rest,XMin, XMax, YMin, {Id,Y}); 56 maxmin(Rest,XMin, XMax, {Id,Y}, YMax); 58 maxmin(Rest,XMin, XMax, YMin, YMax) 60 maxmin([{Id, {X,Y}}|Rest], function 74 maxmin(Rest,XMin, XMax, YMin, {Id,Y}); [all …]
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/scicos_blocks/src/c/ |
H A D | minmax.c | 33 double maxmin = 0.; in minmax() local 42 maxmin = block->inptr[0][0]; in minmax() 47 if (block->inptr[0][i] < maxmin) in minmax() 49 maxmin = block->inptr[0][i]; in minmax() 54 if (block->inptr[0][i] > maxmin) in minmax() 56 maxmin = block->inptr[0][i]; in minmax() 65 block->outptr[0][0] = maxmin; in minmax() 111 maxmin = block->inptr[0][0]; in minmax() 117 if (block->inptr[0][i] < maxmin) in minmax() 119 maxmin = block->inptr[0][i]; in minmax() [all …]
|
/dports/math/p5-Math-Polygon/Math-Polygon-1.10/lib/Math/Polygon/ |
H A D | Convex.pm | 62 my $maxmin = my $maxmax = @P-1; 64 $maxmin-- while $maxmin >= 1 && $P[$maxmin-1][0]==$xmax; 67 for(my $i = $minmax+1; $i <= $maxmin; $i++) 70 next if $i < $maxmin 71 && is_left($P[$minmin], $P[$maxmin], $P[$i]) >= 0; 80 if $maxmax != $maxmin; 84 for(my $i = $maxmin-1; $i >= $minmax; --$i)
|
/dports/audio/snack/snack2.2.10/tests/ |
H A D | maxmin.test | 11 test maxmin-1.1 {max/min commands} { 18 test maxmin-1.2 {max/min commands with a specified range} { 25 test maxmin-1.3 {max command, with missing argument for -end option} { 32 test maxmin-1.4 {min command, with missing argument for -end option} { 39 test maxmin-2.1 {max command, 2 channels} { 52 test maxmin-2.2 {min command, 2 channels} { 65 test maxmin-2.3 {max command, 3 channels} { 80 test maxmin-2.4 {min command, 3 channels} { 95 test maxmin-3.1 {max/min commands, empty sound} {
|
/dports/science/pagmo2/pagmo2-2.18.0/src/algorithms/ |
H A D | nspso.cpp | 270 vector_double maxmin(swarm_size, 0); in evolve() local 271 compute_maxmin(maxmin, fit); in evolve() 275 [&maxmin](decltype(maxmin.size()) idx1, decltype(maxmin.size()) idx2) { in evolve() 276 return detail::less_than_f(maxmin[idx1], maxmin[idx2]); in evolve() 383 vector_double maxmin(2 * swarm_size, 0); in evolve() local 384 compute_maxmin(maxmin, next_pop_fit); in evolve() 388 [&maxmin](decltype(maxmin.size()) idx1, decltype(maxmin.size()) idx2) { in evolve() 389 return detail::less_than_f(maxmin[idx1], maxmin[idx2]); in evolve() 473 maxmin[i] = minfit(i, (i + 1) % fit.size(), fit); in compute_maxmin() 481 if (tmp > maxmin[i]) { in compute_maxmin() [all …]
|
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/stdfx/ |
H A D | igs_maxmin_multithread.h | 11 namespace maxmin { 65 igs::maxmin::slrender::resize( in setup() 118 igs::maxmin::slrender::clear(this->pixe_tracks_, this->alpha_ref_, in clear() 155 igs::maxmin::getput::copy(this->inn_, this->height_, this->width_, in rendering_sl_ch_() 160 igs::maxmin::getput::get_first( in rendering_sl_ch_() 166 igs::maxmin::slrender::shift(this->pixe_tracks_); in rendering_sl_ch_() 167 igs::maxmin::getput::get_next( in rendering_sl_ch_() 173 igs::maxmin::slrender::render( in rendering_sl_ch_() 191 namespace maxmin { 229 igs::maxmin::alloc_and_shape_lens_matrix( in multithread() [all …]
|
H A D | igs_maxmin.cpp | 8 void igs::maxmin::convert( in convert() 54 igs::maxmin::multithread<unsigned char, unsigned char> mthread( in convert() 68 igs::maxmin::multithread<unsigned short, unsigned char> mthread( in convert() 82 igs::maxmin::multithread<unsigned short, unsigned short> mthread( in convert() 96 igs::maxmin::multithread<unsigned char, unsigned short> mthread( in convert()
|
H A D | igs_maxmin_slrender.cpp | 7 void igs::maxmin::slrender::resize(const int odd_diameter, const int width, in resize() 21 void igs::maxmin::slrender::clear(std::vector<std::vector<double>> &tracks, in clear() 28 void igs::maxmin::slrender::shift(std::vector<std::vector<double>> &tracks) { in shift() 105 void igs::maxmin::slrender::render( in render() 138 igs::maxmin::reshape_lens_matrix( in render() 139 radius2, igs::maxmin::outer_radius_from_radius( in render() 141 igs::maxmin::diameter_from_outer_radius(radius + in render()
|
H A D | igs_color_rgb_hsv.cpp | 22 const double maxmin = maxi - mini; in rgb_to_hsv() local 26 hue = (gre - blu) / maxmin; in rgb_to_hsv() 31 hue = 2.0 + (blu - red) / maxmin; in rgb_to_hsv() 36 hue = 4.0 + (red - gre) / maxmin; in rgb_to_hsv()
|
H A D | igs_maxmin_lens_matrix.cpp | 162 const int igs::maxmin::diameter_from_outer_radius(const double outer_radius) { in diameter_from_outer_radius() 178 const double igs::maxmin::outer_radius_from_radius( in outer_radius_from_radius() 197 const int igs::maxmin::alloc_and_shape_lens_matrix( in alloc_and_shape_lens_matrix() 214 igs::maxmin::diameter_from_outer_radius(outer_radius); in alloc_and_shape_lens_matrix() 220 igs::maxmin::reshape_lens_matrix( in alloc_and_shape_lens_matrix() 222 igs::maxmin::outer_radius_from_radius(radius, outer_radius - radius), in alloc_and_shape_lens_matrix() 227 const void igs::maxmin::reshape_lens_matrix( in reshape_lens_matrix()
|
/dports/math/reduce/Reduce-svn5758-src/packages/alg/ |
H A D | maxmin.red | 1 module maxmin; % Support for generalized MAX and MIN. 55 symbolic procedure s_simpmaxmin(maxmin, relation, u,rec); 59 for each val in flattenmaxmin(maxmin, revlis u) do 73 return !*kk2f(maxmin . !*trim arglist) ./ 1; 76 not eqcar(prepsq(mval :=s_simpmaxmin(maxmin,relation, 77 maxmin_difflist(arglist,car arglist),t)),maxmin) 79 else return !*kk2f(maxmin . !*trim arglist) ./ 1; 90 symbolic procedure flattenmaxmin(maxmin, u); 95 else if car el eq 'list then flattenmaxmin(maxmin, cdr el) 96 else if car el eq maxmin then cdr el
|
/dports/graphics/blender/blender-2.91.0/source/blender/blenlib/intern/ |
H A D | convexhull_2d.c | 70 int maxmin, maxmax; in BLI_convexhull_2d_sorted() local 102 maxmin = i + 1; in BLI_convexhull_2d_sorted() 107 while (++i <= maxmin) { in BLI_convexhull_2d_sorted() 109 if (is_left(points[minmin], points[maxmin], points[i]) >= 0 && i < maxmin) { in BLI_convexhull_2d_sorted() 125 if (maxmax != maxmin) { /* if distinct xmax points */ in BLI_convexhull_2d_sorted() 130 i = maxmin; in BLI_convexhull_2d_sorted()
|
/dports/science/tinker/tinker/other/ |
H A D | reorder.f | 31 integer maxmin 32 parameter (maxmin=100000) 36 integer imin(maxmin) 39 character*9 emin(maxmin)
|
/dports/graphics/hugin/hugin-2020.0.0/src/celeste/ |
H A D | PGMImage.cpp | 271 float max, min, maxmin; in Write() local 290 maxmin = max - min; in Write() 297 rgb[0] = (unsigned char)(255.0 * ( (pixels[i][j] - min ) / maxmin )); in Write() 310 rgb[1] = (unsigned char)(255.0 * ( (pixels[i][j] - min ) / maxmin )); in Write() 322 rgb[2] = (unsigned char)(255.0 * ( (pixels[i][j] - min ) / maxmin )); in Write() 336 float max, min, maxmin; in WriteScaled() local 359 maxmin = max - min; in WriteScaled() 362 mPixels[i][j] = (unsigned char)(255.0 * ( (output[i][j] - min ) / maxmin )); in WriteScaled()
|
/dports/biology/protomol/protomol/framework/frontend/ |
H A D | OutputCache.cpp | 243 int maxmin = -1; in brentMaxima() local 245 maxmin = 1; in brentMaxima() 258 Real valLangle = maxmin * computePhiDihedralEnergy(myTopology, dihedralset[i], lradangle); in brentMaxima() 260 Real valRangle = maxmin * computePhiDihedralEnergy(myTopology, dihedralset[i], rradangle); in brentMaxima() 262 Real valAngle = maxmin * computePhiDihedralEnergy(myTopology, dihedralset[i], radangle); in brentMaxima() 300 int maxmin = -1; in brent() local 302 maxmin = 1; in brent() 307 fw=fv=fx= maxmin * computePhiDihedralEnergy(myTopology, dihindex, x); in brent() 336 fu = maxmin * computePhiDihedralEnergy(myTopology, dihindex, u); in brent()
|
/dports/japanese/font-mona/monafont-2.90/ttftools/ |
H A D | disp_glyf_bounds | 21 $maxmin = 1; 48 if ($maxmin) { 59 if ($maxmin) {
|
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/dialog/ |
H A D | dialog_recrut.cpp | 308 std::string maxmin = SwitchMaxMinButtons( buttonMax, buttonMin, true ); in RecruitMonster() local 385 maxmin = SwitchMaxMinButtons( buttonMax, buttonMin, true ); in RecruitMonster() 402 maxmin.clear(); in RecruitMonster() 405 maxmin = SwitchMaxMinButtons( buttonMax, buttonMin, true ); in RecruitMonster() 408 maxmin = SwitchMaxMinButtons( buttonMax, buttonMin, false ); in RecruitMonster() 416 maxmin.clear(); in RecruitMonster() 419 maxmin = SwitchMaxMinButtons( buttonMax, buttonMin, true ); in RecruitMonster() 429 maxmin.clear(); in RecruitMonster() 432 maxmin = SwitchMaxMinButtons( buttonMax, buttonMin, true ); in RecruitMonster() 439 maxmin = SwitchMaxMinButtons( buttonMax, buttonMin, true ); in RecruitMonster() [all …]
|
/dports/math/maxima/maxima-5.43.2/tests/ |
H A D | rtest1a.mac | 95 ?putprop ('maxmin, 666, 'blurf), 108 ?get ('maxmin, 'blurf), 115 kill (nset, trylevel, maxmin, nummod), 124 ?get ('maxmin, 'blurf), 139 ['conjugate, nounify ('erf_generalized), 'beta, 'nset, 'trylevel, 'maxmin, 'nummod]));
|
/dports/net/h323plus/h323plus-1_27_2/plugins/audio/LPC_10/src/ |
H A D | voicin.c | 304 real *maxmin; in voicin_() local 485 maxmin = (&st->maxmin); in voicin_() 573 *maxmin = *maxamd / max(*minamd,1.f); in voicin_() 598 value[0] = *maxmin; in voicin_()
|
/dports/net/opal/opal-3.10.10/plugins/audio/LPC_10/src/ |
H A D | voicin.c | 304 real *maxmin; in voicin_() local 485 maxmin = (&st->maxmin); in voicin_() 573 *maxmin = *maxamd / max(*minamd,1.f); in voicin_() 598 value[0] = *maxmin; in voicin_()
|
/dports/audio/sox/sox-14.4.2/lpc10/ |
H A D | voicin.c | 263 real *maxmin; in voicin_() local 405 maxmin = (&st->maxmin); in voicin_() 493 *maxmin = *maxamd / max(*minamd,1.f); in voicin_() 518 value[0] = *maxmin; in voicin_()
|
/dports/science/hdf5/hdf5-1.10.6/tools/testfiles/vds/ |
H A D | vds-first.ddl | 1 HDF5 "vds-percival-unlim-maxmin.h5" { 3 DATASET "VDS-Percival-unlim-maxmin" {
|
/dports/graphics/leptonica/leptonica-1.76.0/prog/ |
H A D | locminmax_reg.c | 37 void DoLocMinmax(L_REGPARAMS *rp, PIX *pixs, l_int32 minmax, l_int32 maxmin); 74 l_int32 maxmin) in DoLocMinmax() argument 83 pixLocalExtrema(pixs, minmax, maxmin, &pix1, &pix2); in DoLocMinmax()
|
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/shapes/shapes_points/ |
H A D | convex_hull.cpp | 455 int i, n, bot, top, minmin, minmax, maxmin, maxmax; in Get_Chain_Hull() local 511 maxmin = i + 1; in Get_Chain_Hull() 518 while( ++i <= maxmin && Process_Get_Okay() ) in Get_Chain_Hull() 521 if( is_Left(P[minmin], P[maxmin], P[i]) >= 0 && i < maxmin ) in Get_Chain_Hull() 538 if( maxmax != maxmin ) // if distinct xmax points in Get_Chain_Hull() 544 i = maxmin; in Get_Chain_Hull()
|
/dports/science/hdf5/hdf5-1.10.6/examples/ |
H A D | Makefile.am | 40 h5_vds-percival-unlim h5_vds-percival-unlim-maxmin 53 h5_vds-percival-unlim.c h5_vds-percival-unlim-maxmin.c 129 h5_vds-percival-unlim-maxmin: $(srcdir)/h5_vds-percival-unlim-maxmin.c
|