Searched defs:gradient (Results 1 - 25 of 25) sorted by relevance

/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/
H A DDifferentiableMultivariateRealFunction.java33 * needed, it may be more efficient to use the {@link #gradient()} method which will
43 * Returns the gradient function.
47 * @return the gradient function
49 MultivariateVectorialFunction gradient(); method in interface:DifferentiableMultivariateRealFunction
/external/ImageMagick/Magick++/demo/
H A Ddemo.cpp229 cout << " gradient ..." << endl;
230 Image gradient; local
231 gradient.size( "130x194" );
232 gradient.read( "gradient:#20a0ff-#ffff00" );
233 gradient.label( "Gradient" );
234 images.push_back( gradient );
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/fitting/
H A DParametricGaussianFunction.java94 * Computes the gradient vector for a four variable version of the function
97 * computing the gradient vector for the function <tt>f(x)</tt> (which would
99 * it's a one-dimensional function), computes the gradient vector for the
103 * The components of the computed gradient vector are the partial
114 * <tt>d</tt> for computation of gradient vector of <tt>f(a, b, c,
117 * @return gradient vector of <tt>f(a, b, c, d)</tt>
124 public double[] gradient(double x, double[] parameters) throws ZeroException { method in class:ParametricGaussianFunction
142 * the <code>value</code> and <code>gradient</code> methods.
H A DParametricRealFunction.java41 * Compute the gradient of the function with respect to its parameters.
47 double[] gradient(double x, double[] parameters) method in interface:ParametricRealFunction
H A DHarmonicFitter.java121 public double[] gradient(double x, double[] parameters) { method in class:HarmonicFitter.ParametricHarmonicFunction
H A DPolynomialFitter.java87 public double[] gradient(double x, double[] parameters) { method in class:PolynomialFitter.ParametricPolynomial
88 final double[] gradient = new double[parameters.length];
91 gradient[i] = xn;
94 return gradient;
/external/skia/src/core/
H A DSkColorSpaceXformer.cpp82 SkShader::GradientInfo gradient; local
83 sk_bzero(&gradient, sizeof(gradient));
84 if (auto type = shader->asAGradient(&gradient)) {
85 SkSTArray<8, SkColor> colors(gradient.fColorCount);
86 SkSTArray<8, SkScalar> pos(gradient.fColorCount);
88 gradient.fColors = colors.begin();
89 gradient.fColorOffsets = pos.begin();
90 shader->asAGradient(&gradient);
92 SkSTArray<8, SkColor> xformed(gradient
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/general/
H A DAbstractScalarDifferentiableOptimizer.java72 /** Number of gradient evaluations. */
78 /** Objective function gradient. */
79 private MultivariateVectorialFunction gradient; field in class:AbstractScalarDifferentiableOptimizer
148 * Compute the gradient vector.
149 * @param evaluationPoint point at which the gradient must be evaluated
150 * @return gradient at the specified point
151 * @exception FunctionEvaluationException if the function gradient
156 return gradient.value(evaluationPoint);
189 gradient = f.gradient();
[all...]
/external/swiftshader/src/Renderer/
H A DColor.hpp52 static Color<T> gradient(const Color<T> &c1, const Color<T> &c2, float d);
448 inline Color<T> Color<T>::gradient(const Color<T> &c1, const Color<T> &c2, float d) function in class:sw::Color
H A DSetupProcessor.hpp73 Gradient gradient[MAX_FRAGMENT_INPUTS][4]; member in union:sw::SetupProcessor::States::__anon18273
/external/ImageMagick/MagickCore/
H A Dpaint.c400 % o type: the gradient type: linear or radial.
402 % o spread: the gradient spread meathod: pad, reflect, or repeat.
422 *gradient;
428 Set gradient start-stop end points.
437 gradient=(&draw_info->gradient);
438 gradient->type=type;
439 gradient->bounding_box.width=image->columns;
440 gradient->bounding_box.height=image->rows;
441 artifact=GetImageArtifact(image,"gradient
419 *gradient; local
[all...]
H A Ddraw.h190 gradient; member in struct:_ElementReference
226 gradient; member in struct:_DrawInfo
H A Ddraw.c329 clone_info->gradient=draw_info->gradient;
330 if (draw_info->gradient.stops != (StopInfo *) NULL)
335 number_stops=clone_info->gradient.number_stops;
336 clone_info->gradient.stops=(StopInfo *) AcquireQuantumMemory((size_t)
337 number_stops,sizeof(*clone_info->gradient.stops));
338 if (clone_info->gradient.stops == (StopInfo *) NULL)
341 (void) CopyMagickMemory(clone_info->gradient.stops,
342 draw_info->gradient.stops,(size_t) number_stops*
343 sizeof(*clone_info->gradient
3303 GetStopColorOffset(const GradientInfo *gradient, const ssize_t x,const ssize_t y) argument
3381 *gradient; local
[all...]
/external/opencv/cv/src/
H A Dcvsnakes.cpp66 // if _CV_SNAKE_GRAD - magnitude of gradient is energy
100 float *gradient = NULL; local
149 gradient = (float *) cvAlloc( roi.height * roi.width * sizeof( float ));
151 if( !gradient )
156 cvFree( &gradient );
159 /* clear map - no gradient computed */
315 gradient[(y*WTILE_SIZE + l) * roi.width + x*WTILE_SIZE + m] =
325 gradient[(pt[i].y + j) * roi.width + pt[i].x + k];
401 cvFree( &gradient );
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dpaint.c70 } gradient; member in struct:vg_paint
167 memcpy(map, p->gradient.color_data, sizeof(VGint)*1024);
207 paint->gradient.spread = VG_COLOR_RAMP_SPREAD_PAD;
208 memcpy(paint->gradient.linear.coords, def_ling,
210 memcpy(paint->gradient.radial.vals, def_radg,
213 paint->gradient.sampler.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
214 paint->gradient.sampler.wrap_t = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
215 paint->gradient.sampler.min_img_filter = PIPE_TEX_MIPFILTER_NEAREST;
216 paint->gradient.sampler.mag_img_filter = PIPE_TEX_MIPFILTER_NEAREST;
217 paint->gradient
[all...]
/external/skia/tests/
H A DImageFilterTest.cpp559 SkBitmap gradient = make_gradient_circle(width, height); local
561 gradient));
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.ui.forms_3.5.2.r36_v20100702.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.jface.text_3.6.1.r361_v20100825-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/robolectric/v1/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...
/external/robolectric/v3/runtime/
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...

Completed in 953 milliseconds