Home
last modified time | relevance | path

Searched refs:slope (Results 1 – 25 of 3993) sorted by relevance

12345678910>>...160

/dports/databases/postgis25/postgis-2.5.5/raster/test/regress/
H A Drt_elevation_functions_expected281 0|slope|3|3|0.000000
283 0|slope|5|3|0.000000
285 0|slope|7|3|0.000000
292 0|slope|5|4|0.000000
299 0|slope|3|5|0.000000
300 0|slope|4|5|0.000000
301 0|slope|5|5|0.000000
302 0|slope|6|5|0.000000
303 0|slope|7|5|0.000000
310 0|slope|5|6|0.000000
[all …]
/dports/databases/postgis30/postgis-3.0.4/raster/test/regress/
H A Drt_elevation_functions_expected281 0|slope|3|3|0.000000
283 0|slope|5|3|0.000000
285 0|slope|7|3|0.000000
292 0|slope|5|4|0.000000
299 0|slope|3|5|0.000000
300 0|slope|4|5|0.000000
301 0|slope|5|5|0.000000
302 0|slope|6|5|0.000000
303 0|slope|7|5|0.000000
310 0|slope|5|6|0.000000
[all …]
/dports/databases/postgis32/postgis-3.2.0/raster/test/regress/
H A Drt_elevation_functions_expected281 0|slope|3|3|0.000000
283 0|slope|5|3|0.000000
285 0|slope|7|3|0.000000
292 0|slope|5|4|0.000000
299 0|slope|3|5|0.000000
300 0|slope|4|5|0.000000
301 0|slope|5|5|0.000000
302 0|slope|6|5|0.000000
303 0|slope|7|5|0.000000
310 0|slope|5|6|0.000000
[all …]
/dports/databases/postgis31/postgis-3.1.4/raster/test/regress/
H A Drt_elevation_functions_expected281 0|slope|3|3|0.000000
283 0|slope|5|3|0.000000
285 0|slope|7|3|0.000000
292 0|slope|5|4|0.000000
299 0|slope|3|5|0.000000
300 0|slope|4|5|0.000000
301 0|slope|5|5|0.000000
302 0|slope|6|5|0.000000
303 0|slope|7|5|0.000000
310 0|slope|5|6|0.000000
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/platform/fonts/
H A Dfont_selection_algorithm.cc55 auto slope = capabilities.slope; in StyleDistance() local
57 if (slope.Includes(request_.slope)) in StyleDistance()
61 if (slope.minimum > request_.slope) in StyleDistance()
62 return {slope.minimum - request_.slope, slope.minimum}; in StyleDistance()
71 return {request_.slope - slope.maximum, slope.maximum}; in StyleDistance()
72 if (slope.minimum > request_.slope) in StyleDistance()
82 return {slope.minimum - request_.slope, slope.minimum}; in StyleDistance()
83 if (slope.maximum < request_.slope) in StyleDistance()
91 if (slope.maximum < request_.slope) in StyleDistance()
92 return {request_.slope - slope.maximum, slope.maximum}; in StyleDistance()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/platform/fonts/
H A Dfont_selection_algorithm.cc55 auto slope = capabilities.slope; in StyleDistance() local
57 if (slope.Includes(request_.slope)) in StyleDistance()
61 if (slope.minimum > request_.slope) in StyleDistance()
62 return {slope.minimum - request_.slope, slope.minimum}; in StyleDistance()
71 return {request_.slope - slope.maximum, slope.maximum}; in StyleDistance()
72 if (slope.minimum > request_.slope) in StyleDistance()
82 return {slope.minimum - request_.slope, slope.minimum}; in StyleDistance()
83 if (slope.maximum < request_.slope) in StyleDistance()
91 if (slope.maximum < request_.slope) in StyleDistance()
92 return {request_.slope - slope.maximum, slope.maximum}; in StyleDistance()
[all …]
/dports/audio/supercollider/SuperCollider-3.11.0-Source/external_libraries/nova-simd/benchmarks/
H A Dsimd_slope_benchmarks.cpp19 in2 += slope; in bench_1()
27 out[i] = in1[i] + in2; in2 += slope; in bench_2()
28 out[i+1] = in1[i+1] + in2; in2 += slope; in bench_2()
37 __m128 arg2 = _mm_set_ps(in2, in2+slope, in2+slope+slope, in2+slope+slope+slope); in bench_3()
38 const __m128 vslope = _mm_set_ps1(slope+slope+slope+slope); in bench_3()
54 __m128 arg2 = _mm_set_ps(in2, in2+slope, in2+ 2*slope, in2+3*slope); in bench_3a()
75 in2 += slope; in bench_4()
83 out[i] = in1[i] * in2; in2 += slope; in bench_5()
93 __m128 arg2 = _mm_set_ps(in2, in2+slope, in2+slope+slope, in2+slope+slope+slope); in bench_6()
94 const __m128 vslope = _mm_set_ps1(slope+slope+slope+slope); in bench_6()
[all …]
/dports/audio/sc3-plugins/sc3-plugins-Version-3.9.0/external_libraries/nova-simd/benchmarks/
H A Dsimd_slope_benchmarks.cpp19 in2 += slope; in bench_1()
27 out[i] = in1[i] + in2; in2 += slope; in bench_2()
28 out[i+1] = in1[i+1] + in2; in2 += slope; in bench_2()
37 __m128 arg2 = _mm_set_ps(in2, in2+slope, in2+slope+slope, in2+slope+slope+slope); in bench_3()
38 const __m128 vslope = _mm_set_ps1(slope+slope+slope+slope); in bench_3()
54 __m128 arg2 = _mm_set_ps(in2, in2+slope, in2+ 2*slope, in2+3*slope); in bench_3a()
75 in2 += slope; in bench_4()
83 out[i] = in1[i] * in2; in2 += slope; in bench_5()
93 __m128 arg2 = _mm_set_ps(in2, in2+slope, in2+slope+slope, in2+slope+slope+slope); in bench_6()
94 const __m128 vslope = _mm_set_ps1(slope+slope+slope+slope); in bench_6()
[all …]
/dports/games/simutrans/simutrans-121.0/descriptor/
H A Dground_desc.cc488 for( int slope = 1, slopeimgnr=1; slope < totalslopes; slope++ ) { in init_ground_textures() local
489 all_rotations_beach[slope] = NULL; in init_ground_textures()
490 all_rotations_slope[slope] = NULL; in init_ground_textures()
491 doubleslope_to_imgnr[slope] = 255; in init_ground_textures()
493 …if( slope != 80 && (slope_t::is_all_up(slope) || (!double_grounds && slope_t::max_diff(slop… in init_ground_textures()
503 switch( slope ) { in init_ground_textures()
587 switch( slope ) { in init_ground_textures()
918 for( int slope = 1; slope < totalslopes; slope++ ) { in init_ground_textures() local
919 delete all_rotations_slope[slope]; in init_ground_textures()
920 delete all_rotations_beach[slope]; in init_ground_textures()
[all …]
H A Dground_desc.h79 static image_id get_water_tile(slope_t::type slope, int stage);
80 static image_id get_climate_tile(climate cl, slope_t::type slope);
81 static image_id get_snow_tile(slope_t::type slope);
83 static image_id get_alpha_tile(slope_t::type slope);
97 uint8 slope = double_grounds ? slope_in : slopetable[slope_in]; in get_marker_image() local
98 uint8 index = background ? (double_grounds ? (slope % 3) + 3 * ((uint8)(slope / 9)) + 27 in get_marker_image()
99 : ((slope & 1) + ((slope >> 1) & 6) + 8)) in get_marker_image()
100 : (double_grounds ? slope % 27 in get_marker_image()
101 : (slope & 7 )); in get_marker_image()
107 uint8 slope = double_grounds ? slope_in : slopetable[slope_in]; in get_border_image() local
[all …]
/dports/graphics/sane-backends/sane-backends-1.0.32/testsuite/backend/genesys/
H A Dtests_motor.cpp37 MotorSlope slope; in test_create_slope_table_small_full_step() local
39 slope.max_speed_w = 2632; in test_create_slope_table_small_full_step()
40 slope.acceleration = 1.2e-8; in test_create_slope_table_small_full_step()
67 MotorSlope slope; in test_create_slope_table_small_full_step_target_speed_too_high() local
69 slope.max_speed_w = 2632; in test_create_slope_table_small_full_step_target_speed_too_high()
87 MotorSlope slope; in test_create_slope_table_small_half_step() local
89 slope.max_speed_w = 2632; in test_create_slope_table_small_half_step()
140 MotorSlope slope; in test_create_slope_table_large_full_step() local
142 slope.max_speed_w = 1500; in test_create_slope_table_large_full_step()
198 MotorSlope slope; in test_create_slope_table_large_half_step() local
[all …]
/dports/graphics/swftools/swftools-0.9.2/src/
H A Dswfc-interpolation.c29 return delta * ((1 - slope) * pow(fraction, degree) + slope * fraction) + start; in poly()
39 return poly(fraction, start, delta, slope, 2); in quadIn()
44 return quadIn(1 - fraction, start + delta, -delta, slope); in quadOut()
50 return quadIn(2 * fraction, start, delta / 2, slope); in quadInOut()
56 return poly(fraction, start, delta, slope, 3); in cubicIn()
61 return cubicIn(1 - fraction, start + delta, -delta, slope); in cubicOut()
67 return cubicIn(2 * fraction, start, delta / 2, slope); in cubicInOut()
73 return poly(fraction, start, delta, slope, 4); in quartIn()
84 return quartIn(2 * fraction, start, delta / 2, slope); in quartInOut()
90 return poly(fraction, start, delta, slope, 5); in quintIn()
[all …]
/dports/devel/gdcm/gdcm-3.0.10/Testing/Source/MediaStorageAndFileFormat/Cxx/
H A DTestRescaler2.cxx33 const double slope, in TestRescaler2Func() argument
57 r.SetSlope( slope ); in TestRescaler2Func()
104 if( intercept == 0 && slope == 1 ) in TestRescaler2Func()
112 ir.SetSlope( slope ); in TestRescaler2Func()
138 double slope = 3.774114; in TestRescaler2() local
157 double slope = 1; in TestRescaler2() local
173 double slope = 1; in TestRescaler2() local
180 if( !TestRescaler2Func<short,short>(intercept, slope,16,12,1,true) ) return 1; in TestRescaler2()
182 if( !TestRescaler2Func<char,char>(intercept,slope,8,8,1,true) ) return 1; in TestRescaler2()
184 if( !TestRescaler2Func<char,char>(intercept,slope,8,7,1,true) ) return 1; in TestRescaler2()
[all …]
/dports/audio/praat/praat-6.2.03/dwtest/
H A Dtest_Formant_slopes.praat30 .slope# = List formant slope: .iformant, tmin, tmax, "Exponential plus constant"
34 .slope = (.ftarget - .flocus) / (tmax - tmin)
37 assert .slope# [2] > 0.99
48 .slope# = List formant slope: .iformant, tmin, tmax, "Parabolic"
52 .slope = (.ftarget - .flocus) / (tmax - tmin)
55 assert .slope# [2] > 0.99
65 .slope# = List formant slope: .iformant, tmin, tmax, "Sigmoid plus constant"
69 .slope = (.ftarget - .flocus) / (tmax - tmin)
72 assert .slope# [2] > 0.99
78 …appendInfo: tab$ + .text$, " slope=(", fixed$(.truth#[1],1), ", ", fixed$(.slope#[1],1), ") "," r…
[all …]
/dports/science/py-chainer/chainer-7.8.0/chainer/functions/activation/
H A Dleaky_relu.py23 def __init__(self, slope=0.2): argument
24 self.slope = slope
38 y[x <= 0] *= self.slope
39 if self.slope >= 0:
49 if self.slope >= 0:
57 y = _get_kern()(x, x, self.slope)
58 if self.slope >= 0:
65 if self.slope >= 0:
74 def __init__(self, cond, slope): argument
76 self.slope = slope
[all …]
/dports/science/udunits/udunits-2.2.28/lib/
H A DtestUnits-1.c174 double slope, intercept; in test_utClear() local
194 double slope, intercept; in test_utCopy() local
212 double slope, intercept; in test_utMultiply() local
234 double slope, intercept; in test_utDivide() local
256 double slope, intercept; in test_utInvert() local
275 double slope, intercept; in test_utRaise() local
294 double slope, intercept; in test_utShift() local
313 double slope, intercept; in test_utScale() local
333 double slope, intercept; in test_utPrint() local
382 double slope, intercept; in test_utAdd() local
[all …]
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/world/
H A DMapHelpers.cpp143 surfaceElement->SetSlope(slope); in map_smooth()
147 uint8_t slope = surfaceElement->GetSlope(); in map_smooth() local
168 slope |= TILE_ELEMENT_SLOPE_NE_SIDE_UP; in map_smooth()
172 slope |= TILE_ELEMENT_SLOPE_SW_SIDE_UP; in map_smooth()
185 slope = TILE_ELEMENT_SLOPE_FLAT; in map_smooth()
188 surfaceElement->SetSlope(slope); in map_smooth()
265 uint8_t slope = TILE_ELEMENT_SLOPE_FLAT; in tile_smooth() local
277 slope |= TILE_ELEMENT_SLOPE_DOUBLE_HEIGHT; in tile_smooth()
282 if (currentSlope == slope) in tile_smooth()
300 surfaceElement->SetSlope(slope); in tile_smooth()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chromecast/base/statistics/
H A Dweighted_moving_linear_regression_unittest.cc22 double slope = 12345.0; in TEST() local
24 EXPECT_EQ(12345.0, slope); in TEST()
40 double slope = 12345.0; in TEST() local
42 EXPECT_EQ(12345.0, slope); in TEST()
57 double slope = 12345.0; in TEST() local
59 EXPECT_EQ(12345.0, slope); in TEST()
74 double slope; in TEST() local
76 EXPECT_DOUBLE_EQ(1.0, slope); in TEST()
95 double slope; in TEST() local
120 double slope; in TEST() local
[all …]
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/src/
H A Dp_slopes.c32 slope->normal.x = FixedMul(FINESINE(slope->zangle>>ANGLETOFINESHIFT), slope->d.x); in P_CalculateSlopeNormal()
33 slope->normal.y = FixedMul(FINESINE(slope->zangle>>ANGLETOFINESHIFT), slope->d.y); in P_CalculateSlopeNormal()
51 slope->zangle = slope->xydirection = 0; in ReconfigureViaVertexes()
52 slope->zdelta = slope->d.x = slope->d.y = 0; in ReconfigureViaVertexes()
53 slope->normal.x = slope->normal.y = 0; in ReconfigureViaVertexes()
81 slope->d.x = -FixedDiv(slope->normal.x, m); in ReconfigureViaVertexes()
82 slope->d.y = -FixedDiv(slope->normal.y, m); in ReconfigureViaVertexes()
88 slope->xydirection = R_PointToAngle2(0, 0, slope->d.x, slope->d.y)+ANGLE_180; in ReconfigureViaVertexes()
96 pslope_t* slope = th->slope; in T_DynamicSlopeLine() local
136 pslope_t* slope = th->slope; in T_DynamicSlopeVert() local
[all …]
/dports/math/p5-Math-Interpolate/Math-Interpolate-1.06/lib/Math/
H A DInterpolate.pm77 if ( (($slope >= 0) && ($slope >= $deriv[$j])) ||
78 (($slope <= 0) && ($slope <= $deriv[$j])) ) {
79 $deriv[0] = 2*$slope - $deriv[1];
82 $deriv[0] = $slope + (abs($slope) * ($slope - $deriv[1])) /
83 (abs($slope) + abs($slope - $deriv[1]) );
90 if ( (($slope >= 0) && ($slope >= $deriv[$i])) ||
91 (($slope <= 0) && ($slope <= $deriv[$i])) ) {
92 $deriv[$j] = 2*$slope - $deriv[$i];
95 $deriv[$j] = $slope + (abs($slope) * ($slope - $deriv[$i])) /
96 (abs($slope) + abs($slope - $deriv[$i]) );
[all …]
/dports/games/flightgear-data/fgdata/Shaders/
H A Dtransition-gbuffer.frag40 float slope;
74 //Select texture based on slope
75 slope = normalize(normal).z;
87 if (slope >= L1) {
90 if (slope >= L2 && slope < L1){
93 if (slope < L2){
98 if (slope >= L1) {
101 if (slope < L1) {
113 if (slope >= L2 && slope < L1 + 0.1){
116 if (slope <= L2){
[all …]
H A Dtransition.frag89 //Select texture based on slope
90 float slope = normalize(normal).z;
102 if (slope >= L1) {
105 if (slope >= L2 && slope < L1){
108 if (slope < L2){
113 if (slope >= L1) {
116 if (slope < L1) {
125 if (slope >= L1 + 0.1) {
128 if (slope >= L2 && slope < L1 + 0.1){
131 if (slope <= L2){
[all …]
/dports/devel/gdcm/gdcm-3.0.10/Source/MediaStorageAndFileFormat/
H A DgdcmRescaler.cxx34 out[i] = (TOut)(slope * in[i] + intercept); in RescaleFunction()
67 assert( slope == (int)slope ); in InverseRescaleFunction()
126 assert( slope == (int)slope && intercept == (int)intercept); in ComputeBestFit()
215 const double slope = Slope; in ComputeInterceptSlopePixelType() local
225 double slope = Slope; in RescaleFunctionIntoBestFit() local
271 const double slope = Slope; in InverseRescaleFunctionIntoBestFit() local
425 double dmin = (_min - intercept ) / slope; in ComputeInverseBestFitFromMinMax()
427 if( slope < 0 ) in ComputeInverseBestFitFromMinMax()
429 dmin = (_max - intercept ) / slope; in ComputeInverseBestFitFromMinMax()
430 dmax = (_min - intercept ) / slope; in ComputeInverseBestFitFromMinMax()
[all …]
/dports/audio/libaudiofile/audiofile-0.3.6/libaudiofile/
H A Dpcm.cpp68 double slope, double intercept, double minClip, double maxClip) in afInitPCMMapping() argument
77 track->f.pcm.slope = slope; in afInitPCMMapping()
84 double slope, double intercept, double minClip, double maxClip) in afSetVirtualPCMMapping() argument
93 track->v.pcm.slope = slope; in afSetVirtualPCMMapping()
104 double slope, double intercept, double minClip, double maxClip) in afSetTrackPCMMapping() argument
124 track->f.pcm.slope = slope; in afSetTrackPCMMapping()
135 double *slope, double *intercept, double *minClip, double *maxClip) in afGetPCMMapping() argument
144 if (slope) in afGetPCMMapping()
145 *slope = track->f.pcm.slope; in afGetPCMMapping()
164 if (slope) in afGetVirtualPCMMapping()
[all …]
/dports/science/InsightToolkit/ITK-5.0.1/Modules/ThirdParty/GDCM/src/gdcm/Source/MediaStorageAndFileFormat/
H A DgdcmRescaler.cxx34 out[i] = (TOut)(slope * in[i] + intercept); in RescaleFunction()
67 assert( slope == (int)slope ); in InverseRescaleFunction()
94 double intercept, double slope, size_t size) in InverseRescaleFunction()
112 double intercept, double slope, size_t size) in InverseRescaleFunction()
130 assert( slope == (int)slope && intercept == (int)intercept); in ComputeBestFit()
200 const double slope = Slope; in ComputeInterceptSlopePixelType() local
210 double slope = Slope; in RescaleFunctionIntoBestFit() local
255 const double slope = Slope; in InverseRescaleFunctionIntoBestFit() local
399 double dmin = (_min - intercept ) / slope; in ComputeInverseBestFitFromMinMax()
400 double dmax = (_max - intercept ) / slope; in ComputeInverseBestFitFromMinMax()
[all …]

12345678910>>...160