Home
last modified time | relevance | path

Searched refs:smat2 (Results 1 – 24 of 24) sorted by relevance

/dports/math/sisl/SISL-SISL-4.6.0-44-g9114631/src/
H A Ds6metric.c105 double *smat2 = SISL_NULL; /* Inverse matrix to output matrix. */ local
111 if ((smat2 = newarray(idim*idim,DOUBLE)) == SISL_NULL) goto err101;
141 smat2[ki*idim+kk] = tdot;
146 s6invert(smat2,idim,emat,&kstat);
168 if (smat2 != SISL_NULL) freearray(smat2);
/dports/math/dsdp/DSDP5.8/src/sdp/
H A Dsdpsss.c161 void *smat1,*smat2; in DSDPCreateS1() local
183 info=DSDPDiagDualMatCreateP(n,&sops1,&smat1,&sops2,&smat2); DSDPCHKERR(info); in DSDPCreateS1()
195 info=DSDPLAPACKSUDualMatCreate2P(n,&sops1,&smat1,&sops2,&smat2); DSDPCHKERR(info); in DSDPCreateS1()
198 info=DSDPLAPACKPUDualMatCreate2(n,&sops1,&smat1,&sops2,&smat2); DSDPCHKERR(info); in DSDPCreateS1()
201 info=DSDPDenseDualMatCreate(n,'P',&sops1,&smat1,&sops2,&smat2); DSDPCHKERR(info); in DSDPCreateS1()
205 info=DSDPDualMatSetData(SS,sops2,smat2); DSDPCHKERR(info); in DSDPCreateS1()
249 void *smat1,*smat2; in DSDPCreateS2() local
271 info=DSDPDiagDualMatCreateU(n,&sops1,&smat1,&sops2,&smat2); DSDPCHKERR(info); in DSDPCreateS2()
281 info=DSDPLAPACKSUDualMatCreate2(n,&sops1,&smat1,&sops2,&smat2); DSDPCHKERR(info); in DSDPCreateS2()
284 info=DSDPDenseDualMatCreate(n,'U',&sops1,&smat1,&sops2,&smat2); DSDPCHKERR(info); in DSDPCreateS2()
[all …]
/dports/math/casadi/casadi-3.5.5/external_packages/DSDP/src/sdp/
H A Dsdpsss.c161 void *smat1,*smat2; in DSDPCreateS1() local
183 info=DSDPDiagDualMatCreateP(n,&sops1,&smat1,&sops2,&smat2); DSDPCHKERR(info); in DSDPCreateS1()
195 info=DSDPLAPACKSUDualMatCreate2P(n,&sops1,&smat1,&sops2,&smat2); DSDPCHKERR(info); in DSDPCreateS1()
198 info=DSDPLAPACKPUDualMatCreate2(n,&sops1,&smat1,&sops2,&smat2); DSDPCHKERR(info); in DSDPCreateS1()
201 info=DSDPDenseDualMatCreate(n,'P',&sops1,&smat1,&sops2,&smat2); DSDPCHKERR(info); in DSDPCreateS1()
205 info=DSDPDualMatSetData(SS,sops2,smat2); DSDPCHKERR(info); in DSDPCreateS1()
249 void *smat1,*smat2; in DSDPCreateS2() local
271 info=DSDPDiagDualMatCreateU(n,&sops1,&smat1,&sops2,&smat2); DSDPCHKERR(info); in DSDPCreateS2()
281 info=DSDPLAPACKSUDualMatCreate2(n,&sops1,&smat1,&sops2,&smat2); DSDPCHKERR(info); in DSDPCreateS2()
284 info=DSDPDenseDualMatCreate(n,'U',&sops1,&smat1,&sops2,&smat2); DSDPCHKERR(info); in DSDPCreateS2()
[all …]
/dports/math/dsdp/DSDP5.8/src/vecmat/
H A Dcholmat2.c324 struct DSDPDualMat_Ops **sops2, void**smat2){ in DSDPDenseDualMatCreate() argument
332 info=dcholmatcreate(n,UPLQ,sp,sops1,smat2);DSDPCHKERR(info); in DSDPDenseDualMatCreate()
333 info=dcholmatsinverse(n,(spmat*)(*smat1),(spmat*)(*smat2));DSDPCHKERR(info); in DSDPDenseDualMatCreate()
344 struct DSDPDualMat_Ops **sops2, void**smat2){ in DSDPSparseDualMatCreate() argument
352 info=dcholmatcreate(n,UPLQ,sp,sops2,smat2);DSDPCHKERR(info); in DSDPSparseDualMatCreate()
355 info=dcholmatsinverse(n,(spmat*)(*smat1),(spmat*)(*smat2));DSDPCHKERR(info); in DSDPSparseDualMatCreate()
H A Ddiag.c252 struct DSDPDualMat_Ops **sops2, void**smat2){ in DSDPDiagDualMatCreateP() argument
265 *smat2=(void*)AA; in DSDPDiagDualMatCreateP()
273 struct DSDPDualMat_Ops **sops2, void**smat2){ in DSDPDiagDualMatCreateU() argument
284 *smat2=(void*)AA; in DSDPDiagDualMatCreateU()
H A Ddufull.c764 struct DSDPDualMat_Ops **sops2, void**smat2){ in DSDPLAPACKSUDualMatCreate2() argument
768 info=DSDPLAPACKSUDualMatCreate(n,sops2,smat2);DSDPCHKERR(info); in DSDPLAPACKSUDualMatCreate2()
769 info=switchptr(*smat1,*smat2);DSDPCHKERR(info); in DSDPLAPACKSUDualMatCreate2()
821 struct DSDPDualMat_Ops* *sops2, void**smat2){ in DSDPLAPACKSUDualMatCreate2P() argument
825 info=DSDPLAPACKSUDualMatCreateP(n,sops2,smat2); in DSDPLAPACKSUDualMatCreate2P()
826 info=switchptr(*smat1,*smat2); in DSDPLAPACKSUDualMatCreate2P()
H A Ddlpack.c654 struct DSDPDualMat_Ops **sops2, void**smat2){ in DSDPLAPACKPUDualMatCreate2() argument
658 info=DSDPLAPACKPUDualMatCreate(n,sops2,smat2);DSDPCHKERR(info); in DSDPLAPACKPUDualMatCreate2()
659 info=switchptr(*smat1,*smat2); in DSDPLAPACKPUDualMatCreate2()
/dports/math/casadi/casadi-3.5.5/external_packages/DSDP/src/vecmat/
H A Dcholmat2.c324 struct DSDPDualMat_Ops **sops2, void**smat2){ in DSDPDenseDualMatCreate() argument
332 info=dcholmatcreate(n,UPLQ,sp,sops1,smat2);DSDPCHKERR(info); in DSDPDenseDualMatCreate()
333 info=dcholmatsinverse(n,(spmat*)(*smat1),(spmat*)(*smat2));DSDPCHKERR(info); in DSDPDenseDualMatCreate()
344 struct DSDPDualMat_Ops **sops2, void**smat2){ in DSDPSparseDualMatCreate() argument
352 info=dcholmatcreate(n,UPLQ,sp,sops2,smat2);DSDPCHKERR(info); in DSDPSparseDualMatCreate()
355 info=dcholmatsinverse(n,(spmat*)(*smat1),(spmat*)(*smat2));DSDPCHKERR(info); in DSDPSparseDualMatCreate()
H A Ddiag.c252 struct DSDPDualMat_Ops **sops2, void**smat2){ in DSDPDiagDualMatCreateP() argument
265 *smat2=(void*)AA; in DSDPDiagDualMatCreateP()
273 struct DSDPDualMat_Ops **sops2, void**smat2){ in DSDPDiagDualMatCreateU() argument
284 *smat2=(void*)AA; in DSDPDiagDualMatCreateU()
H A Ddufull.c764 struct DSDPDualMat_Ops **sops2, void**smat2){ in DSDPLAPACKSUDualMatCreate2() argument
768 info=DSDPLAPACKSUDualMatCreate(n,sops2,smat2);DSDPCHKERR(info); in DSDPLAPACKSUDualMatCreate2()
769 info=switchptr(*smat1,*smat2);DSDPCHKERR(info); in DSDPLAPACKSUDualMatCreate2()
821 struct DSDPDualMat_Ops* *sops2, void**smat2){ in DSDPLAPACKSUDualMatCreate2P() argument
825 info=DSDPLAPACKSUDualMatCreateP(n,sops2,smat2); in DSDPLAPACKSUDualMatCreate2P()
826 info=switchptr(*smat1,*smat2); in DSDPLAPACKSUDualMatCreate2P()
H A Ddlpack.c654 struct DSDPDualMat_Ops **sops2, void**smat2){ in DSDPLAPACKPUDualMatCreate2() argument
658 info=DSDPLAPACKPUDualMatCreate(n,sops2,smat2);DSDPCHKERR(info); in DSDPLAPACKPUDualMatCreate2()
659 info=switchptr(*smat1,*smat2); in DSDPLAPACKPUDualMatCreate2()
/dports/science/py-phonopy/phonopy-2.11.0/test/structure/
H A Dtest_cells.py137 smat2 = np.eye(3, dtype='intc') * 2
138 pmat2 = np.dot(np.linalg.inv(smat2), pmat)
143 scell2 = get_supercell(cell, smat2)
/dports/science/phonopy/phonopy-2.11.0/test/structure/
H A Dtest_cells.py137 smat2 = np.eye(3, dtype='intc') * 2
138 pmat2 = np.dot(np.linalg.inv(smat2), pmat)
143 scell2 = get_supercell(cell, smat2)
/dports/print/ghostscript9-base/ghostscript-9.06/base/
H A Dgdevpdfv.c217 gs_matrix smat2 = ctm_only((gs_imager_state *)pinst->saved), smat; in pdf_store_pattern1_params() local
234 smat2.tx += pinst->step_matrix.tx; in pdf_store_pattern1_params()
235 smat2.ty += pinst->step_matrix.ty; in pdf_store_pattern1_params()
247 gs_matrix_multiply(&smat2, &scaled, &smat); in pdf_store_pattern1_params()
249 smat = smat2; in pdf_store_pattern1_params()
253 gs_matrix_multiply(&smat, &pdev->AccumulatedPatternMatrix, &smat2); in pdf_store_pattern1_params()
255 smat = smat2; in pdf_store_pattern1_params()
/dports/print/ghostscript9-x11/ghostscript-9.06/base/
H A Dgdevpdfv.c217 gs_matrix smat2 = ctm_only((gs_imager_state *)pinst->saved), smat; in pdf_store_pattern1_params() local
234 smat2.tx += pinst->step_matrix.tx; in pdf_store_pattern1_params()
235 smat2.ty += pinst->step_matrix.ty; in pdf_store_pattern1_params()
247 gs_matrix_multiply(&smat2, &scaled, &smat); in pdf_store_pattern1_params()
249 smat = smat2; in pdf_store_pattern1_params()
253 gs_matrix_multiply(&smat, &pdev->AccumulatedPatternMatrix, &smat2); in pdf_store_pattern1_params()
255 smat = smat2; in pdf_store_pattern1_params()
/dports/print/ghostscript9-agpl-base/ghostscript-9.52/devices/vector/
H A Dgdevpdfv.c219 gs_matrix smat2 = ctm_only((gs_gstate *)pinst->saved), smat; in pdf_store_pattern1_params() local
236 smat2.tx += pinst->step_matrix.tx; in pdf_store_pattern1_params()
237 smat2.ty += pinst->step_matrix.ty; in pdf_store_pattern1_params()
249 gs_matrix_multiply(&smat2, &scaled, &smat); in pdf_store_pattern1_params()
251 smat = smat2; in pdf_store_pattern1_params()
255 gs_matrix_multiply(&smat, &pdev->AccumulatedPatternMatrix, &smat2); in pdf_store_pattern1_params()
257 smat = smat2; in pdf_store_pattern1_params()
/dports/science/nwchem/nwchem-7b21660b82ebd85ef659f6fba7e1e73433b0bd0a/src/nwpw/gw/Transfer/
H A Dmkpwse.f90300 smat2=0.d0
302 smat2=4.d0*pi
304 if (mode.eq.1) smat2 = smat2*(-omega(ix,iy,iz))
398 … vsfactor(ii,jj,iw)=smat2*(lossfn(iw,nqpt+iiq,jjpw)-conjg(lossfn(iw,nqpt+iiq,jjpw)))*0.5d0
553 xpyr0(iv)=xpyr0(iv)-smat2/qq2
588 ssx=ssx+smat2*bmet(ii,jj)*stens(jj,ii)
H A Dmkploss.f90297 smat2=4.d0*pi*omega_t
300 smat2=0.d0
658 … vsfactor(ii,jj,iw)=smat2*(lossfn(iw,nqpt+iiq,jjpw)-conjg(lossfn(iw,nqpt+iiq,jjpwt)))*0.5d0
H A Dmkse.f90313 smat2=4.d0*pi
316 smat2=0.d0
676 … vsfactor(ii,jj,iw)=smat2*(lossfn(iw,nqpt+iiq,jjpw)-conjg(lossfn(iw,nqpt+iiq,jjpwt)))*0.5d0
833 xpyr0(iv)=xpyr0(iv)-smat2/qq2
872 ssx=ssx+smat2*bmet(ii,jj)*stens(jj,ii)
/dports/science/nwchem-data/nwchem-7.0.2-release/src/nwpw/gw/Transfer/
H A Dmkpwse.f90300 smat2=0.d0
302 smat2=4.d0*pi
304 if (mode.eq.1) smat2 = smat2*(-omega(ix,iy,iz))
398 … vsfactor(ii,jj,iw)=smat2*(lossfn(iw,nqpt+iiq,jjpw)-conjg(lossfn(iw,nqpt+iiq,jjpw)))*0.5d0
553 xpyr0(iv)=xpyr0(iv)-smat2/qq2
588 ssx=ssx+smat2*bmet(ii,jj)*stens(jj,ii)
H A Dmkploss.f90297 smat2=4.d0*pi*omega_t
300 smat2=0.d0
658 … vsfactor(ii,jj,iw)=smat2*(lossfn(iw,nqpt+iiq,jjpw)-conjg(lossfn(iw,nqpt+iiq,jjpwt)))*0.5d0
H A Dmkse.f90313 smat2=4.d0*pi
316 smat2=0.d0
676 … vsfactor(ii,jj,iw)=smat2*(lossfn(iw,nqpt+iiq,jjpw)-conjg(lossfn(iw,nqpt+iiq,jjpwt)))*0.5d0
833 xpyr0(iv)=xpyr0(iv)-smat2/qq2
872 ssx=ssx+smat2*bmet(ii,jj)*stens(jj,ii)
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/devices/vector/
H A Dgdevpdfv.c219 gs_matrix smat2 = ctm_only((gs_gstate *)pinst->saved), smat; in pdf_store_pattern1_params() local
236 smat2.tx += pinst->step_matrix.tx; in pdf_store_pattern1_params()
237 smat2.ty += pinst->step_matrix.ty; in pdf_store_pattern1_params()
249 gs_matrix_multiply(&smat2, &scaled, &smat); in pdf_store_pattern1_params()
251 smat = smat2; in pdf_store_pattern1_params()
255 gs_matrix_multiply(&smat, &pdev->AccumulatedPatternMatrix, &smat2); in pdf_store_pattern1_params()
257 smat = smat2; in pdf_store_pattern1_params()
/dports/games/cdogs-sdl/cdogs-sdl-1.0.1/src/cdogs/mathc/
H A Dmathc.h3805 MATHC_INLINE struct mat2 smat2( in smat2() function