Home
last modified time | relevance | path

Searched refs:surf_data (Results 1 – 17 of 17) sorted by relevance

/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/surfpack/src/surfaces/
H A DSurfpackModel.cpp94 return rSquared(surf_data); in goodnessOfFit()
96 return nFoldCrossValidation(surf_data,surf_data.size()); in goodnessOfFit()
100 vector<double> observed(surf_data.size()); in goodnessOfFit()
101 vector<double> predicted(surf_data.size()); in goodnessOfFit()
102 observed = surf_data.getResponses(); in goodnessOfFit()
103 for (unsigned i = 0; i < surf_data.size(); i++) { in goodnessOfFit()
104 predicted[i]=(*this)(surf_data(i)); in goodnessOfFit()
164 for (unsigned i = 0; i < surf_data.size(); i++) { in rSquared()
165 double observedF = surf_data.getResponse(i); in rSquared()
167 double estimatedF = (*this)(surf_data(i)); in rSquared()
[all …]
/dports/science/py-nilearn/nilearn-0.8.1/nilearn/surface/
H A Dsurface.py692 def load_surf_data(surf_data): argument
710 if isinstance(surf_data, str):
717 surf_data = file_list[f]
718 if (surf_data.endswith('nii') or surf_data.endswith('nii.gz') or
722 surf_data.endswith('area')
723 or surf_data.endswith('curv')
724 or surf_data.endswith('sulc')
728 elif surf_data.endswith('annot'):
732 elif surf_data.endswith('gii'):
762 elif isinstance(surf_data, np.ndarray):
[all …]
/dports/graphics/py-geomdl/geomdl-5.2.10/geomdl/
H A Dconstruct.py236 surf_data = psurf.data
237 rational = surf_data['rational']
238 degree_u = surf_data['degree'][0]
239 degree_v = surf_data['degree'][1]
240 kv_u = surf_data['knotvector'][0]
241 kv_v = surf_data['knotvector'][1]
242 size_u = surf_data['size'][0]
243 size_v = surf_data['size'][1]
244 cpts = surf_data['control_points']
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/src/
H A DSharedSurfpackApproxData.cpp91 SurfData& surf_data) in add_sd_to_surfdata() argument
112 surf_data.addPoint(SurfPoint(x, f)); in add_sd_to_surfdata()
118 surf_data.addPoint(SurfPoint(x, f, gradient)); in add_sd_to_surfdata()
127 surf_data.addPoint(SurfPoint(x, f, gradient, hessian)); in add_sd_to_surfdata()
H A DSurfpackApproximation.cpp842 SurfData* surf_data = new SurfData(); in surrogates_to_surf_data() local
869 *surf_data); in surrogates_to_surf_data()
872 add_sd_to_surfdata(sdv_array[i], sdr_array[i], fail_code, *surf_data); in surrogates_to_surf_data()
881 *surf_data); in surrogates_to_surf_data()
884 return surf_data; in surrogates_to_surf_data()
893 short fail_code, SurfData& surf_data) in add_constraints_to_surfdata() argument
949 surf_data.setConstraintPoint(SurfPoint(x, f)); in add_constraints_to_surfdata()
953 surf_data.setConstraintPoint(SurfPoint(x, f, gradient)); in add_constraints_to_surfdata()
957 surf_data.setConstraintPoint(SurfPoint(x, f, gradient, hessian)); in add_constraints_to_surfdata()
H A DSurfpackApproximation.hpp152 short fail_code, SurfData& surf_data);
H A DSharedSurfpackApproxData.hpp83 SurfData& surf_data);
/dports/audio/deadbeef-musical-spectrum-plugin/ddb_musical_spectrum-353870a/
H A Dspectrum.c181 if (s->surf_data) { in w_spectrum_destroy()
182 free (s->surf_data); in w_spectrum_destroy()
183 s->surf_data = NULL; in w_spectrum_destroy()
535 …if (!w->surf || !w->surf_data || cairo_image_surface_get_width (w->surf) != width || cairo_image_s… in spectrum_draw_custom()
541 if (w->surf_data) { in spectrum_draw_custom()
542 free (w->surf_data); in spectrum_draw_custom()
543 w->surf_data = NULL; in spectrum_draw_custom()
547 w->surf_data = malloc (stride * height); in spectrum_draw_custom()
560 memcpy (w->surf_data, data, stride * height); in spectrum_draw_custom()
565 memcpy (data, w->surf_data, stride * height); in spectrum_draw_custom()
H A Dspectrum.h51 unsigned char *surf_data; member
/dports/audio/avldrums-lv2/avldrums.lv2-0.4.2/robtk/
H A Dui_gl.c115 if (!surf_data) { return; } in opengl_draw()
127 GL_BGRA, GL_UNSIGNED_BYTE, surf_data); in opengl_draw()
241 unsigned char* surf_data; member
873 free (self->surf_data); in reallocate_canvas()
1131 self->surf_data_be[off + 0] = self->surf_data[off + 3]; in onDisplay()
1132 self->surf_data_be[off + 1] = self->surf_data[off + 2]; in onDisplay()
1133 self->surf_data_be[off + 2] = self->surf_data[off + 1]; in onDisplay()
1134 self->surf_data_be[off + 3] = self->surf_data[off + 0]; in onDisplay()
1139 opengl_draw(self->width, self->height, self->surf_data, self->texture_id); in onDisplay()
1318 free (self->surf_data); in pugl_cleanup()
[all …]
/dports/audio/x42-plugins-lv2/x42-plugins-20211016/robtk/
H A Dui_gl.c115 if (!surf_data) { return; } in opengl_draw()
127 GL_BGRA, GL_UNSIGNED_BYTE, surf_data); in opengl_draw()
241 unsigned char* surf_data; member
873 free (self->surf_data); in reallocate_canvas()
1140 self->surf_data_be[off + 0] = self->surf_data[off + 3]; in onDisplay()
1141 self->surf_data_be[off + 1] = self->surf_data[off + 2]; in onDisplay()
1142 self->surf_data_be[off + 2] = self->surf_data[off + 1]; in onDisplay()
1143 self->surf_data_be[off + 3] = self->surf_data[off + 0]; in onDisplay()
1148 opengl_draw(self->width, self->height, self->surf_data, self->texture_id); in onDisplay()
1331 free (self->surf_data); in pugl_cleanup()
[all …]
/dports/devel/py-game/pygame-2.1.0/test/
H A Dthreads_test.py143 surf_data = [Surface((x, x), 0, 32) for x in range(12, 64, 12)]
144 best_num_workers = threads.benchmark_workers(smooth_scale_bench, surf_data)
/dports/science/frontistr/FrontISTR-c66bdc397de319ca59a0565b3f3b1a3b33f0c50c/hecmw1/src/visualizer/
H A Dhecmw_vis_color_composite_vr.c252 fp[i][j] = vd->surface[index].surf_data[m * 12 + i * 3 + j]; in find_surface_point()
335 color = vd->surface[index].surf_data[m * 12 + 9 + j]; in find_surface_point()
341 color = vd->surface[index].surf_data[m * 12 + 9] * dist / dis[0] + in find_surface_point()
342 vd->surface[index].surf_data[m * 12 + 10] * dist / dis[1] + in find_surface_point()
343 vd->surface[index].surf_data[m * 12 + 11] * dist / dis[2]; in find_surface_point()
H A Dhecmw_vis_ray_trace.h135 double *surf_data; member
/dports/multimedia/obs-studio/obs-studio-27.1.3/plugins/win-capture/graphics-hook/
H A Dvulkan-capture.c459 struct vk_surf_data *surf_data = vk_alloc( in add_surf_data() local
462 if (surf_data) { in add_surf_data()
463 surf_data->hwnd = hwnd; in add_surf_data()
465 add_obj_data(&idata->surfaces, (uint64_t)surf, surf_data); in add_surf_data()
471 struct vk_surf_data *surf_data = (struct vk_surf_data *)get_obj_data( in find_surf_hwnd() local
473 return surf_data->hwnd; in find_surf_hwnd()
479 struct vk_surf_data *surf_data = (struct vk_surf_data *)remove_obj_data( in remove_free_surf_data() local
481 vk_free(ac, surf_data); in remove_free_surf_data()
/dports/games/retroarch/RetroArch-1.9.7/gfx/common/
H A Dd3d9_common.h585 void **surf_data, in d3d9_device_create_offscreen_plain_surface() argument
592 (LPDIRECT3DSURFACE9*)surf_data, in d3d9_device_create_offscreen_plain_surface()
/dports/games/renpy/renpy-7.4.11-sdk/module/
H A Dffmedia.c919 …uint8_t *surf_data[] = { &surf_pixels[FRAME_PADDING * rv->pitch + FRAME_PADDING * sample->format->… in decode_video_frame() local
931 surf_data, in decode_video_frame()