/dports/science/vipster/vipster-1.19.1b-14-g7168a1b/gui/common/ |
H A D | seldata.cpp | 176 Mat tmp_mat; in update() local 178 tmp_mat = curSel->getCellVec(); in update() 184 tmp_mat *= Vipster::invbohr; in update() 193 cell_mat = {{static_cast<float>(tmp_mat[0][0]), in update() 194 static_cast<float>(tmp_mat[1][0]), in update() 195 static_cast<float>(tmp_mat[2][0]), in update() 196 static_cast<float>(tmp_mat[0][1]), in update() 197 static_cast<float>(tmp_mat[1][1]), in update() 198 static_cast<float>(tmp_mat[2][1]), in update() 199 static_cast<float>(tmp_mat[0][2]), in update() [all …]
|
H A D | stepdata.cpp | 438 Mat tmp_mat; in update() local 440 tmp_mat = curStep->getCellVec(); in update() 446 tmp_mat *= Vipster::invbohr; in update() 455 cell_mat = {{static_cast<float>(tmp_mat[0][0]), in update() 456 static_cast<float>(tmp_mat[1][0]), in update() 457 static_cast<float>(tmp_mat[2][0]), in update() 458 static_cast<float>(tmp_mat[0][1]), in update() 459 static_cast<float>(tmp_mat[1][1]), in update() 460 static_cast<float>(tmp_mat[2][1]), in update() 461 static_cast<float>(tmp_mat[0][2]), in update() [all …]
|
/dports/games/xinvaders3d/xinvaders3d/ |
H A D | camera.c | 97 MATRIX4 tmp_mat; in Camera_transform() local 100 Matrix_id ( tmp_mat ); in Camera_transform() 117 Matrix_set_xrow ( tmp_mat, x ); in Camera_transform() 118 Matrix_set_yrow ( tmp_mat, y ); in Camera_transform() 119 Matrix_set_zrow ( tmp_mat, z ); in Camera_transform() 130 Matrix_vec_mult ( tmp_mat, tmp, pos ); in Camera_transform() 131 Matrix_set_trans ( tmp_mat, pos ); in Camera_transform() 137 Matrix_mult ( r_2_l, tmp_mat, r ); in Camera_transform()
|
H A D | effects.c | 206 MATRIX4 tmp_mat, tmp_mat2, erot_mat; in Explosions_draw() local 209 Matrix_x_rot ( tmp_mat, erot ); in Explosions_draw() 211 Matrix_mult ( tmp_mat, tmp_mat2, erot_mat ); in Explosions_draw() 239 Matrix_copy ( r, tmp_mat ); in Explosions_draw() 359 MATRIX4 tmp_mat; in Jumpgate_animate() local 387 Matrix_copy ( r, tmp_mat ); in Jumpgate_animate() 388 Matrix_set_trans ( tmp_mat, tmp[0] ); in Jumpgate_animate() 391 Matrix_vec_multn ( tmp_mat, in Jumpgate_animate() 463 MATRIX4 tmp_mat; in One_up_draw() local 484 Matrix_copy ( r, tmp_mat ); in One_up_draw() [all …]
|
H A D | player.c | 204 MATRIX4 tmp_mat, rot_mat; in Player_draw() local 233 Matrix_copy ( r, tmp_mat ); in Player_draw() 234 Matrix_set_trans ( tmp_mat, tmp[0] ); in Player_draw() 238 Matrix_vec_multn ( tmp_mat, rot_vert, tmp, 16 ); in Player_draw() 281 Matrix_copy ( r, tmp_mat ); in Player_draw() 282 Matrix_set_trans ( tmp_mat, tmp[1] ); in Player_draw() 285 Matrix_vec_multn ( tmp_mat, rot_vert, tmp, 4 ); in Player_draw() 308 MATRIX4 tmp_mat; in Player_missile_draw() local 317 Matrix_copy ( r, tmp_mat ); in Player_missile_draw() 318 Matrix_set_trans ( tmp_mat, tmp[0] ); in Player_missile_draw() [all …]
|
H A D | aliens.c | 591 MATRIX4 tmp_mat; in Aliens_draw() local 609 Matrix_copy ( r, tmp_mat ); in Aliens_draw() 610 Matrix_set_trans ( tmp_mat, tmp[0] ); in Aliens_draw() 657 MATRIX4 tmp_mat; in Alien_missile_draw() local 662 Matrix_copy ( r, tmp_mat ); in Alien_missile_draw() 663 Matrix_set_trans ( tmp_mat, tmp[0] ); in Alien_missile_draw() 665 Matrix_vec_multn ( tmp_mat, abomb_vert, tmp, 3 ); in Alien_missile_draw() 698 MATRIX4 tmp_mat; in Ufo_draw() local 715 Matrix_copy ( r, tmp_mat ); in Ufo_draw() 716 Matrix_set_trans ( tmp_mat, tmp[0] ); in Ufo_draw() [all …]
|
/dports/science/opensim-core/opensim-core-4.1/OpenSim/Utilities/simmToOpenSim/ |
H A D | invert.c | 175 double *tmp_mat[4]; in invert_4x4matrix() local 178 tmp_mat[0] = &(matrix[0][0]); in invert_4x4matrix() 179 tmp_mat[1] = &(matrix[1][0]); in invert_4x4matrix() 180 tmp_mat[2] = &(matrix[2][0]); in invert_4x4matrix() 181 tmp_mat[3] = &(matrix[3][0]); in invert_4x4matrix() 188 invert_matrix(tmp_mat, tmp_inverse, 4); in invert_4x4matrix() 200 double *tmp_mat[3]; in invert_3x3matrix() local 203 tmp_mat[0] = &(matrix[0][0]); in invert_3x3matrix() 204 tmp_mat[1] = &(matrix[1][0]); in invert_3x3matrix() 205 tmp_mat[2] = &(matrix[2][0]); in invert_3x3matrix() [all …]
|
/dports/math/reduce/Reduce-svn5758-src/packages/linalg/ |
H A D | tadjoint.red | 45 begin scalar tmp_mat,out_mat; 46 tmp_mat:= cdr in_mat; 59 begin scalar tmp_mat,out_mat; 60 tmp_mat:= cdr in_mat; 93 (begin scalar mat_dim,tmp_mat,l,base; 103 else tmp_mat:=in_mat; 104 tmp_mat:=adjoint!*lu(tmp_mat); 106 tmp_mat:=sub_matrix(tmp_mat,l,l); 107 return tmp_mat; 182 begin scalar tmp_mat,tmp_row,k; [all …]
|
/dports/math/hpipm/hpipm-0.1.1/interfaces/matlab_octave/ |
H A D | ocp_qp_dim_create.c | 51 mxArray *tmp_mat; in mexFunction() local 74 tmp_mat = mxCreateNumericMatrix(1, 1, mxINT64_CLASS, mxREAL); in mexFunction() 75 l_ptr = mxGetData(tmp_mat); in mexFunction() 77 plhs[0] = tmp_mat; in mexFunction()
|
H A D | ocp_qp_sol_create.c | 52 mxArray *tmp_mat; in mexFunction() local 77 tmp_mat = mxCreateNumericMatrix(1, 1, mxINT64_CLASS, mxREAL); in mexFunction() 78 l_ptr = mxGetData(tmp_mat); in mexFunction() 80 plhs[0] = tmp_mat; in mexFunction()
|
H A D | ocp_qp_create.c | 52 mxArray *tmp_mat; in mexFunction() local 77 tmp_mat = mxCreateNumericMatrix(1, 1, mxINT64_CLASS, mxREAL); in mexFunction() 78 l_ptr = mxGetData(tmp_mat); in mexFunction() 80 plhs[0] = tmp_mat; in mexFunction()
|
H A D | ocp_qp_solver_create.c | 52 mxArray *tmp_mat; in mexFunction() local 81 tmp_mat = mxCreateNumericMatrix(1, 1, mxINT64_CLASS, mxREAL); in mexFunction() 82 l_ptr = mxGetData(tmp_mat); in mexFunction() 84 plhs[0] = tmp_mat; in mexFunction()
|
H A D | ocp_qp_dim_load.c | 59 mxArray *tmp_mat; in mexFunction() local 80 tmp_mat = mxCreateNumericMatrix(1, 1, mxINT64_CLASS, mxREAL); in mexFunction() 81 l_ptr = mxGetData(tmp_mat); in mexFunction() 83 plhs[0] = tmp_mat; in mexFunction()
|
H A D | ocp_qp_solver_arg_create.c | 53 mxArray *tmp_mat; in mexFunction() local 106 tmp_mat = mxCreateNumericMatrix(1, 1, mxINT64_CLASS, mxREAL); in mexFunction() 107 l_ptr = mxGetData(tmp_mat); in mexFunction() 109 plhs[0] = tmp_mat; in mexFunction()
|
H A D | ocp_qp_load.c | 60 mxArray *tmp_mat; in mexFunction() local 87 tmp_mat = mxCreateNumericMatrix(1, 1, mxINT64_CLASS, mxREAL); in mexFunction() 88 l_ptr = mxGetData(tmp_mat); in mexFunction() 90 plhs[0] = tmp_mat; in mexFunction()
|
H A D | ocp_qp_solver_arg_load.c | 60 mxArray *tmp_mat; in mexFunction() local 100 tmp_mat = mxCreateNumericMatrix(1, 1, mxINT64_CLASS, mxREAL); in mexFunction() 101 l_ptr = mxGetData(tmp_mat); in mexFunction() 103 plhs[0] = tmp_mat; in mexFunction()
|
/dports/science/quantum-espresso/q-e-qe-6.7.0/GWW/gww/ |
H A D | do_self_lanczos_time.f90 | 624 allocate(tmp_mat(numl,numt)) 671 deallocate(tmp_mat) 802 deallocate(tmp_mat) 804 allocate(tmp_mat(numl,numl)) 821 deallocate(tmp_mat) 909 REAL(kind=DP), ALLOCATABLE :: tmp_mat(:,:) local 924 allocate(tmp_mat(lc%numt,lc%num_steps)) 930 tmp_mat(:,:)=0.d0 935 call mp_bcast(tmp_mat(:,:), iproc, world_comm) 936 omat(:,:)=dcmplx(tmp_mat(:,:),0.d0) [all …]
|
/dports/science/quantum-espresso/q-e-qe-6.7.0/GWW/simple_bse/ |
H A D | derived_object.f90 | 102 COMPLEX(kind=DP), ALLOCATABLE :: tmp_mat(:,:,:),tmp_mat2(:,:),tmp_mat3(:,:) local 118 allocate(tmp_mat(pp%nprod_e,pp%ntot_e,pp%numc)) 125 &pp%nprod_e*pp%ntot_e,tmp_mat3,pp%ntot_e,(0.d0,0.d0),tmp_mat,pp%nprod_e*pp%ntot_e) 131 deallocate(tmp_mat,tmp_mat2,tmp_mat3) 192 COMPLEX(kind=DP), ALLOCATABLE :: tmp_mat(:,:,:),tmp_mat2(:,:),tmp_mat3(:,:,:) local 222 allocate(tmp_mat(pm%nprod_e,pm%ntot_e,pm%numv)) 266 &pm%nprod_e*pm%ntot_e,emat,pm%ntot_e,(0.d0,0.d0),tmp_mat,pm%nprod_e*pm%ntot_e) 282 deallocate(tmp_mat) 289 allocate(tmp_mat(pm%nprod_e,pm%ntot_e,pm%numc)) 306 &pm%nprod_e*pm%ntot_e,emat,pm%ntot_e,(0.d0,0.d0),tmp_mat,pm%nprod_e*pm%ntot_e) [all …]
|
/dports/science/berkeleygw/BGW-2.0.0/MeanField/spglib-1.0.9/ |
H A D | refinement.c | 492 int tmp_mat[3][3]; in set_translation_with_origin_shift() local 496 mat_copy_matrix_i3( tmp_mat, conv_sym->rot[i] ); in set_translation_with_origin_shift() 497 tmp_mat[0][0]--; in set_translation_with_origin_shift() 498 tmp_mat[1][1]--; in set_translation_with_origin_shift() 499 tmp_mat[2][2]--; in set_translation_with_origin_shift() 512 double inv_mat[3][3], tmp_mat[3][3]; in get_primitive_db_symmetry() local 533 mat_multiply_matrix_d3( tmp_mat, tmp_mat, inv_mat ); in get_primitive_db_symmetry() 620 double inv_mat[3][3], tmp_mat[3][3]; in reduce_symmetry_in_frame() local 623 mat_cast_matrix_3i_to_3d( tmp_mat, t_mat ); in reduce_symmetry_in_frame() 624 mat_inverse_matrix_d3( inv_mat, tmp_mat, symprec ); in reduce_symmetry_in_frame() [all …]
|
/dports/graphics/vapoursynth-fmtconv/fmtconv-r28/src/fmtcavs/ |
H A D | Matrix_avs.cpp | 118 std::string tmp_mat; in Matrix() local 119 tmp_mat = args [Param_MAT ].AsString (tmp_mat.c_str ()); in Matrix() 120 tmp_mat = args [Param_MATS].AsString (tmp_mat.c_str ()); in Matrix() 121 tmp_mat = args [Param_MATD].AsString (tmp_mat.c_str ()); in Matrix() 122 fstb::conv_to_lower_case (tmp_mat); in Matrix() 124 const auto tmp_csp = find_cs_from_mat_str (env, tmp_mat, false); in Matrix()
|
/dports/science/py-spglib/spglib-1.16.2/src/ |
H A D | refinement.c | 1064 int tmp_mat[3][3]; in set_translation_with_origin_shift() local 1069 tmp_mat[0][0]--; in set_translation_with_origin_shift() 1070 tmp_mat[1][1]--; in set_translation_with_origin_shift() 1071 tmp_mat[2][2]--; in set_translation_with_origin_shift() 1083 double inv_mat[3][3], tmp_mat[3][3]; in get_primitive_db_symmetry() local 1115 mat_multiply_matrix_d3(tmp_mat, tmp_mat, inv_mat); in get_primitive_db_symmetry() 1209 double inv_tmat[3][3], tmp_mat[3][3]; in recover_symmetry_in_original_cell() local 1218 mat_cast_matrix_3i_to_3d(tmp_mat, t_mat); in recover_symmetry_in_original_cell() 1451 double tmp_mat[3][3], std_lattice[3][3]; in find_similar_bravais_lattice() local 1492 mat_copy_matrix_d3(rot_lat, tmp_mat); in find_similar_bravais_lattice() [all …]
|
/dports/science/spglib/spglib-1.16.2/src/ |
H A D | refinement.c | 1064 int tmp_mat[3][3]; in set_translation_with_origin_shift() local 1069 tmp_mat[0][0]--; in set_translation_with_origin_shift() 1070 tmp_mat[1][1]--; in set_translation_with_origin_shift() 1071 tmp_mat[2][2]--; in set_translation_with_origin_shift() 1083 double inv_mat[3][3], tmp_mat[3][3]; in get_primitive_db_symmetry() local 1115 mat_multiply_matrix_d3(tmp_mat, tmp_mat, inv_mat); in get_primitive_db_symmetry() 1209 double inv_tmat[3][3], tmp_mat[3][3]; in recover_symmetry_in_original_cell() local 1218 mat_cast_matrix_3i_to_3d(tmp_mat, t_mat); in recover_symmetry_in_original_cell() 1451 double tmp_mat[3][3], std_lattice[3][3]; in find_similar_bravais_lattice() local 1492 mat_copy_matrix_d3(rot_lat, tmp_mat); in find_similar_bravais_lattice() [all …]
|
/dports/science/cp2k/cp2k-2e995eec7fd208c8a72d9544807bd8b8ba8cd1cc/src/ |
H A D | et_coupling.F | 75 REAL(KIND=dp), DIMENSION(2, 2) :: S_mat, tmp_mat, U, W_mat local 232 tmp_mat = MATMUL(U, TRANSPOSE(S_mat)) 233 U = MATMUL(S_mat, tmp_mat) 234 tmp_mat = MATMUL(W_mat, U) 235 W_mat = MATMUL(U, tmp_mat) 237 tmp_mat = MATMUL(U, W_mat) 247 S_mat = MATMUL(W_mat, (tmp_mat)) 248 W_mat = MATMUL(TRANSPOSE(tmp_mat), S_mat)
|
/dports/science/cp2k-data/cp2k-7.1.0/src/ |
H A D | et_coupling.F | 75 REAL(KIND=dp), DIMENSION(2, 2) :: S_mat, tmp_mat, U, W_mat local 232 tmp_mat = MATMUL(U, TRANSPOSE(S_mat)) 233 U = MATMUL(S_mat, tmp_mat) 234 tmp_mat = MATMUL(W_mat, U) 235 W_mat = MATMUL(U, tmp_mat) 237 tmp_mat = MATMUL(U, W_mat) 247 S_mat = MATMUL(W_mat, (tmp_mat)) 248 W_mat = MATMUL(TRANSPOSE(tmp_mat), S_mat)
|
/dports/databases/grass7/grass-7.8.6/imagery/i.smap/ |
H A D | model.c | 19 double **tmp_mat; in extract_init() local 26 tmp_mat = G_alloc_matrix(nbands, nbands); in extract_init() 47 tmp_mat[b1][b2] = SubS->R[b1][b2]; in extract_init() 52 G_math_eigen(tmp_mat, lambda, nbands); in extract_init() 70 G_free_matrix(tmp_mat); in extract_init()
|