search for: x_start

Displaying 3 results from an estimated 3 matches for "x_start".

Did you mean: _start
2011 Nov 28
0
function manipulation for integration
...(2D) numerical integration functions, which is not where the problem is. The function definition is as follows: adaptIntegrate(f, lowerLimit, upperLimit, ...) The problem is that I want to integrate a 3D function which has been parametrised such that it is a 2D function: eg. I want to integrate f(x_start+gradient_x*t1, y_start+gradient_y*t2) for t1 in [0,1] and t2 in [0,1]. To explain the example in another way I only have access to f, x_start, y_start and the gradients. Note that I want to be able to change x_start, y_start such that I can do different integrals. Any thoughts? Thanks, Sachin...
2007 Apr 16
0
4 commits - libswfdec/swfdec_shape.c libswfdec/swfdec_stroke.c test/dump.c
...07,8 @@ swfdec_shape_accumulate_one_polygon (Swf break; } if (i == paths_len) { - SWFDEC_ERROR ("could not find a closed path for style %u", style); + SWFDEC_ERROR ("could not find a closed path for style %u, starting at %d %d", style, + paths[start].x_start, paths[start].y_start); goto fail; } } @@ -794,6 +795,14 @@ swfdec_shape_initialize_from_sub_paths ( { guint i; +#if 0 + g_print ("\n\n"); + for (i = 0; i < path_array->len; i++) { + SubPath *path = &g_array_index (path_array, SubPath, i); + g_print...
2007 Oct 11
0
12 commits - configure.ac doc/Makefile.am libswfdec/swfdec_as_frame.c libswfdec/swfdec_audio.c libswfdec/swfdec_audio_event.c libswfdec/swfdec_audio_event.h libswfdec/swfdec_shape_parser.c libswfdec/swfdec_sound.c test/sound
...ath *start, *last, *cur; - SwfdecSubPath *start2, *last2, *cur2; + SwfdecSubPath *start, *last; + SwfdecSubPath *start2 = NULL, *last2 = NULL; last = start = &paths[GPOINTER_TO_UINT (style->subpaths->data)]; swfdec_path_move_to (&style->draw->path, start->x_start, start->y_start); @@ -235,10 +235,10 @@ swfdec_style_finish (SwfdecStyle *style, while (!swfdec_sub_path_match (last, start) || (paths2 != NULL && !swfdec_sub_path_match (last2, start2))) { for (walk = style->subpaths; walk; walk = walk->next) { - cur = &paths[GPO...