Home
last modified time | relevance | path

Searched refs:scale_matrix (Results 1 – 25 of 159) sorted by relevance

1234567

/dports/math/py-sympy/sympy-1.9/sympy/stats/
H A Dmatrix_distributions.py246 k = self.scale_matrix.shape[0]
251 return self.scale_matrix.shape
254 alpha , beta , scale_matrix = self.alpha, self.beta, self.scale_matrix
255 p = scale_matrix.shape[0]
310 if isinstance(scale_matrix, list):
311 scale_matrix = ImmutableMatrix(scale_matrix)
322 def check(n, scale_matrix): argument
340 n, scale_matrix = self.n, self.scale_matrix
341 p = scale_matrix.shape[0]
353 def Wishart(symbol, n, scale_matrix): argument
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/modules/skottie/src/
H A DSkottieTool.cpp72 static std::unique_ptr<Sink> Make(const SkMatrix& scale_matrix) { in Make() argument
83 PNGSink(sk_sp<SkSurface> surface, const SkMatrix& scale_matrix) in PNGSink() argument
85 fSurface->getCanvas()->concat(scale_matrix); in PNGSink()
117 return std::unique_ptr<Sink>(new SKPSink(scale_matrix)); in Make()
121 explicit SKPSink(const SkMatrix& scale_matrix) in SKPSink() argument
122 : fScaleMatrix(scale_matrix) {} in SKPSink()
157 NullSink(sk_sp<SkSurface> surface, const SkMatrix& scale_matrix) in NullSink() argument
159 fSurface->getCanvas()->concat(scale_matrix); in NullSink()
178 explicit MP4Sink(const SkMatrix& scale_matrix) in MP4Sink()
180 fSurface->getCanvas()->concat(scale_matrix); in MP4Sink()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/modules/skottie/src/
H A DSkottieTool.cpp76 static std::unique_ptr<Sink> Make(const SkMatrix& scale_matrix) { in Make() argument
87 PNGSink(sk_sp<SkSurface> surface, const SkMatrix& scale_matrix) in PNGSink() argument
89 fSurface->getCanvas()->concat(scale_matrix); in PNGSink()
121 return std::unique_ptr<Sink>(new SKPSink(scale_matrix)); in Make()
125 explicit SKPSink(const SkMatrix& scale_matrix) in SKPSink() argument
126 : fScaleMatrix(scale_matrix) {} in SKPSink()
161 NullSink(sk_sp<SkSurface> surface, const SkMatrix& scale_matrix) in NullSink() argument
163 fSurface->getCanvas()->concat(scale_matrix); in NullSink()
182 explicit MP4Sink(const SkMatrix& scale_matrix) in MP4Sink()
184 fSurface->getCanvas()->concat(scale_matrix); in MP4Sink()
[all …]
/dports/graphics/gegl/gegl-0.4.34/operations/common/
H A Dlittle-planet.c329 GeglBufferMatrix2 scale_matrix;
351 scale = &scale_matrix;
408 if (scale_matrix.coeff[0][0] > 0.5f)
409 scale_matrix.coeff[0][0] = (scale_matrix.coeff[0][0]-1.0) * transform.in_width;
410 else if (scale_matrix.coeff[0][0] < -0.5f)
411 scale_matrix.coeff[0][0] = (scale_matrix.coeff[0][0]+1.0) * transform.in_width;
415 if (scale_matrix.coeff[0][1] > 0.5f)
416 scale_matrix.coeff[0][1] = (scale_matrix.coeff[0][1]-1.0) * transform.in_width;
417 else if (scale_matrix.coeff[0][1] < -0.5f)
418 scale_matrix.coeff[0][1] = (scale_matrix.coeff[0][1]+1.0) * transform.in_width;
[all …]
H A Dpanorama-projection.c336 GeglBufferMatrix2 scale_matrix;
361 scale = &scale_matrix;
419 if (scale_matrix.coeff[0][0] > 0.5f)
420 scale_matrix.coeff[0][0] = (scale_matrix.coeff[0][0]-1.0) * transform.in_width;
421 else if (scale_matrix.coeff[0][0] < -0.5f)
422 scale_matrix.coeff[0][0] = (scale_matrix.coeff[0][0]+1.0) * transform.in_width;
426 if (scale_matrix.coeff[0][1] > 0.5f)
427 scale_matrix.coeff[0][1] = (scale_matrix.coeff[0][1]-1.0) * transform.in_width;
428 else if (scale_matrix.coeff[0][1] < -0.5f)
429 scale_matrix.coeff[0][1] = (scale_matrix.coeff[0][1]+1.0) * transform.in_width;
[all …]
/dports/science/py-abipy/abipy-0.9.0/abipy/core/
H A Dstructure.py1634 return scale_matrix
1691 cp = np.dot(np.cross(lnew, scale_matrix[:, 0]), scale_matrix[:, 1])
1707 return scale_matrix.T
1718 scale_matrix = np.array(scale_matrix, np.int16)
1720 scale_matrix = np.array(scale_matrix * np.eye(3), np.int16)
1766 if scale_matrix is None:
1828 if scale_matrix is None:
1834 scale_matrix = np.array(scale_matrix, np.int16)
1836 scale_matrix = np.array(scale_matrix * np.eye(3), np.int16)
1905 scale_matrix = np.array(scale_matrix, np.int16)
[all …]
/dports/games/d2x/d2x-0.2.5/3d/
H A Dmatrix.c40 void scale_matrix(void);
54 scale_matrix(); in g3_set_view_angles()
69 scale_matrix(); in g3_set_view_matrix()
73 void scale_matrix(void) in scale_matrix() function
/dports/science/py-abipy/abipy-0.9.0/abipy/core/tests/
H A Dtest_structure.py338 scale_matrix = structure.get_smallest_supercell(qpoint, max_supercell=mx_sc)
339 scale_matrix = 2 * np.eye(3)
342 natoms = int(np.round(2*np.linalg.det(scale_matrix)))
345 … do_real=True, frac_coords=False, max_supercell=mx_sc, scale_matrix=scale_matrix)
349 … do_real=True, frac_coords=False, max_supercell=mx_sc, scale_matrix=scale_matrix)
352 … do_real=True, frac_coords=False, max_supercell=mx_sc, scale_matrix=None)
355 max_supercell=mx_sc, scale_matrix=scale_matrix)
366 max_supercell=mx_sc, scale_matrix=scale_matrix)
/dports/science/py-abipy/abipy-0.9.0/abipy/dfpt/
H A Dfrozen_phonons.py32 qpt_frac_coords, scale_matrix, energies=None): argument
56 self.scale_matrix = scale_matrix
100 …def from_phbands(cls, phbands, qpt_frac_coords, imode, etas, scale_matrix=None, max_supercell=None… argument
123 normalized_fp = phbands.get_frozen_phonons(qind, imode, 1, scale_matrix, max_supercell)
127 …structures.append(phbands.get_frozen_phonons(qind, imode, n, normalized_fp.scale_matrix).structure)
130 phbands.qpoints[qind].frac_coords, normalized_fp.scale_matrix)
/dports/games/dxx-rebirth/dxx-rebirth_20211220-src/common/3d/
H A Dmatrix.cpp19 static void scale_matrix(fix);
26 scale_matrix(zoom); in g3_set_view_matrix()
30 static void scale_matrix(const fix View_zoom) in scale_matrix() function
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/bvxm/
H A Dbvxm_util.cxx205 vnl_matrix_fixed<double,3,3> scale_matrix; in downsample_persp_camera() local
206 scale_matrix.fill(0.0); in downsample_persp_camera()
209 scale_matrix.put(0,0,1*factor); in downsample_persp_camera()
210 scale_matrix.put(1,1,1*factor); in downsample_persp_camera()
211 scale_matrix.put(2,2,1.0); in downsample_persp_camera()
213 vnl_matrix_fixed<double,3,4> new_camera_matrix = scale_matrix*camera_matrix; in downsample_persp_camera()
/dports/misc/darknet/darknet-darknet_yolo_v4_pre/src/
H A Dcifar.c78 scale_matrix(soft, weight); in train_cifar_distill()
79 scale_matrix(train.y, 1. - weight); in train_cifar_distill()
205 scale_matrix(pred, .5); in test_cifar_csv()
206 scale_matrix(pred2, .5); in test_cifar_csv()
232 scale_matrix(pred, .5); in test_cifar_csvtrain()
233 scale_matrix(pred2, .5); in test_cifar_csvtrain()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/weston/src/clients/
H A Dimage.c264 cairo_matrix_t scale_matrix; in zoom() local
273 cairo_matrix_init_identity(&scale_matrix); in zoom()
274 cairo_matrix_translate(&scale_matrix, x, y); in zoom()
275 cairo_matrix_scale(&scale_matrix, scale, scale); in zoom()
276 cairo_matrix_translate(&scale_matrix, -x, -y); in zoom()
278 cairo_matrix_multiply(&image->matrix, &image->matrix, &scale_matrix); in zoom()
/dports/graphics/weston/weston-1.9.0/clients/
H A Dimage.c263 cairo_matrix_t scale_matrix; in zoom() local
272 cairo_matrix_init_identity(&scale_matrix); in zoom()
273 cairo_matrix_translate(&scale_matrix, x, y); in zoom()
274 cairo_matrix_scale(&scale_matrix, scale, scale); in zoom()
275 cairo_matrix_translate(&scale_matrix, -x, -y); in zoom()
277 cairo_matrix_multiply(&image->matrix, &image->matrix, &scale_matrix); in zoom()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/weston/src/clients/
H A Dimage.c264 cairo_matrix_t scale_matrix; in zoom() local
273 cairo_matrix_init_identity(&scale_matrix); in zoom()
274 cairo_matrix_translate(&scale_matrix, x, y); in zoom()
275 cairo_matrix_scale(&scale_matrix, scale, scale); in zoom()
276 cairo_matrix_translate(&scale_matrix, -x, -y); in zoom()
278 cairo_matrix_multiply(&image->matrix, &image->matrix, &scale_matrix); in zoom()
/dports/graphics/blender/blender-2.91.0/source/blender/editors/space_view3d/
H A Dview3d_gizmo_camera.c175 float scale_matrix; in WIDGETGROUP_camera_refresh() local
198 scale_matrix = ca->ortho_scale * 0.5f; in WIDGETGROUP_camera_refresh()
208 scale_matrix = (ca->drawsize * 0.5f) / ob_scale_uniform_inv; in WIDGETGROUP_camera_refresh()
210 mul_v3_fl(widget->matrix_basis[0], scale_matrix); in WIDGETGROUP_camera_refresh()
211 mul_v3_fl(widget->matrix_basis[1], scale_matrix); in WIDGETGROUP_camera_refresh()
238 (scale_matrix * range / in WIDGETGROUP_camera_refresh()
/dports/science/afni/afni-AFNI_21.3.16/src/pkundu/meica.libs/mdp/test/
H A Dtest_pp_local.py51 scale_matrix = mdp.numx.diag(scales)
53 scale_matrix)
H A Dtest_schedule.py64 scale_matrix = mdp.numx.diag(scales)
66 scale_matrix)
H A Dtest_process_schedule.py67 scale_matrix = mdp.numx.diag(scales)
69 scale_matrix)
/dports/science/py-mdp/MDP-3.5/mdp/test/
H A Dtest_pp_local.py52 scale_matrix = mdp.numx.diag(scales)
54 scale_matrix)
H A Dtest_schedule.py64 scale_matrix = mdp.numx.diag(scales)
66 scale_matrix)
H A Dtest_process_schedule.py67 scale_matrix = mdp.numx.diag(scales)
69 scale_matrix)
/dports/games/vkquake/vkQuake-1.12.2/Quake/
H A Dr_alias.c425 float scale_matrix[16]; in R_DrawAliasModel() local
426 …ScaleMatrix (scale_matrix, paliashdr->scale[0] * 255.0f, paliashdr->scale[1] * fovscale * 255.0f, … in R_DrawAliasModel()
427 MatrixMultiply(model_matrix, scale_matrix); in R_DrawAliasModel()
543 float scale_matrix[16]; in R_DrawAliasModel_ShowTris() local
544 …ScaleMatrix (scale_matrix, paliashdr->scale[0] * 255.0f, paliashdr->scale[1] * fovscale * 255.0f, … in R_DrawAliasModel_ShowTris()
545 MatrixMultiply(model_matrix, scale_matrix); in R_DrawAliasModel_ShowTris()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/render/
H A D3dsetup.cpp125 void scale_matrix(void);
157 scale_matrix(); in g3_set_view_matrix()
172 void scale_matrix(void) in scale_matrix() function
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/render/
H A D3dsetup.cpp135 void scale_matrix(void);
167 scale_matrix(); in g3_set_view_matrix()
196 void scale_matrix(void) in scale_matrix() function

1234567