/dports/math/freefem++/FreeFem-sources-4.6/plugin/seq/ |
H A D | splitedges.cpp | 49 if (dK[k] & (1 << e)) { in Split_Edges() 63 if (dK[k] & (1 << ek)) { in Split_Edges() 96 if (dK[k] & (1 << e)) { in Split_Edges() 154 if (dK[k] & (1 << e)) { in Split_Edges() 191 if (dK[k] & (1 << ek)) { in Split_Edges() 248 KN< long > dK(Th.nt); in operator ( )() local 249 dK = 0L; in operator ( )() 263 dK[k] += (1 << e); in operator ( )() 275 bool bee = dK[kk] & (1 << ee); in operator ( )() 279 dK[k] = dK[k] | (1 << e); in operator ( )() [all …]
|
/dports/science/lammps/lammps-stable_29Sep2021/src/DIFFRACTION/ |
H A D | compute_saed.cpp | 223 K[0] = i * dK[0]; in ComputeSAED() 224 K[1] = j * dK[1]; in ComputeSAED() 225 K[2] = k * dK[2]; in ComputeSAED() 235 K[0] = i * dK[0]; in ComputeSAED() 236 K[1] = j * dK[1]; in ComputeSAED() 237 K[2] = k * dK[2]; in ComputeSAED() 257 id,natoms,n,dK[0],dK[1],dK[2]); in ComputeSAED() 300 K[0] = i * dK[0]; in init() 434 K[0] = i * dK[0]; in compute_vector() 435 K[1] = j * dK[1]; in compute_vector() [all …]
|
H A D | fix_saed_vtk.cpp | 174 dK[i] = prd_inv[i]*c[i]; in FixSAEDVTK() 189 dK[i] = prd_inv[i]*c[i]; in FixSAEDVTK() 196 K[0] = i * dK[0]; in FixSAEDVTK() 197 K[1] = j * dK[1]; in FixSAEDVTK() 198 K[2] = k * dK[2]; in FixSAEDVTK() 403 fprintf(fp,"ASPECT_RATIO %g %g %g\n", dK[0], dK[1], dK[2]); in invoke_vector() 404 fprintf(fp,"ORIGIN %g %g %g\n", Knmin[0] * dK[0], Knmin[1] * dK[1], Knmin[2] * dK[2]); in invoke_vector() 425 K[0] = i * dK[0]; in invoke_vector() 426 K[1] = j * dK[1]; in invoke_vector() 427 K[2] = k * dK[2]; in invoke_vector() [all …]
|
H A D | compute_xrd.cpp | 219 K[0] = i * dK[0]; in ComputeXRD() 220 K[1] = j * dK[1]; in ComputeXRD() 221 K[2] = k * dK[2]; in ComputeXRD() 240 id,natoms,nRows,dK[0],dK[1],dK[2]); in ComputeXRD() 275 K[0] = i * dK[0]; in init() 276 K[1] = j * dK[1]; in init() 277 K[2] = k * dK[2]; in init() 381 K[0] = i * dK[0]; in compute_array() 382 K[1] = j * dK[1]; in compute_array() 383 K[2] = k * dK[2]; in compute_array() [all …]
|
/dports/science/libecpint/libecpint-1.0.7/src/lib/ |
H A D | bessel.cpp | 51 …dK=std::vector<std::vector<std::vector<double>>>(N+1,std::vector<std::vector<double>>(lMax + TAYLO… in init() 115 dK[ix][0][l] = K[ix][l]; in tabulate() 119 dK[ix][n][0] = dK[ix][n-1][1] - dK[ix][n-1][0]; in tabulate() 121 …dK[ix][n][l] = C[l]*dK[ix][n-1][l-1] + (C[l] + 1.0/(2.0*l + 1.0))*dK[ix][n-1][l+1] - dK[ix][n-1][l… in tabulate() 196 values[l] += dzn[n] * dK[ix][n][l]; in calculate() 226 value += dzn * dK[ix][n][L]; in calculate()
|
/dports/astro/py-astropy/astropy-5.0/astropy/timeseries/periodograms/lombscargle/ |
H A D | _statistics.py | 49 def pdf_single(z, N, normalization, dH=1, dK=3): argument 82 if dK - dH != 2: 84 Nk = N - dK 98 def fap_single(z, N, normalization, dH=1, dK=3): argument 132 if dK - dH != 2: 134 Nk = N - dK 183 if dK - dH != 2: 185 Nk = N - dK 201 def cdf_single(z, N, normalization, dH=1, dK=3): argument 233 return 1 - fap_single(z, N, normalization=normalization, dH=dH, dK=dK) [all …]
|
/dports/math/fflas-ffpack/fflas-ffpack-2.4.3/fflas-ffpack/ffpack/ |
H A D | ffpack_frobenius.inl | 95 dK[i]=0; 155 dK[k] = dold = d; 202 if (dK[i] >= 1){ 214 offset -= dK [i]; 215 Ncurr -= dK [i]; 284 dA[i] = dK[i]; 328 dK[i] = dA[i] = degree; 332 dK[Mk-1] = dA[Ma-1] = rdeg; 474 dA[i] = dK[i]; 480 if (dK[i] >= 1){ [all …]
|
/dports/devel/py-qutip/qutip-4.6.2/qutip/ |
H A D | superop_reps.py | 306 def _svd_u_to_kraus(U, S, d, dK, indims, outdims): argument 318 Ks = list(map(Qobj, array(U * S).reshape((d, d, dK), order='F').transpose((2, 0, 1)))) 345 dK = nonzero_idxs.sum() 356 kU = _svd_u_to_kraus(U, S, dL, dK, out_right, out_left) 357 kV = _svd_u_to_kraus(V, S, dL, dK, in_right, in_left) 367 dK = len(kU) 375 A = Qobj(zeros((dK * dL, dL)), dims=[out_left + [dK], out_right + [1]]) 376 B = Qobj(zeros((dK * dR, dR)), dims=[in_left + [dK], in_right + [1]]) 379 A += tensor(KL, basis(dK, idx_kraus)) 380 B += tensor(KR, basis(dK, idx_kraus))
|
/dports/lang/spidermonkey60/firefox-60.9.0/modules/pdfium/pdfium/fpdfsdk/pdfwindow/ |
H A D | cpwl_color.cpp | 20 FX_FLOAT dK) { in ConvertCMYK2GRAY() argument 21 if (!InRange(dC) || !InRange(dM) || !InRange(dY) || !InRange(dK)) in ConvertCMYK2GRAY() 25 1.0f - std::min(1.0f, 0.3f * dC + 0.59f * dM + 0.11f * dY + dK)); in ConvertCMYK2GRAY() 46 CPWL_Color ConvertCMYK2RGB(FX_FLOAT dC, FX_FLOAT dM, FX_FLOAT dY, FX_FLOAT dK) { in ConvertCMYK2RGB() argument 47 if (!InRange(dC) || !InRange(dM) || !InRange(dY) || !InRange(dK)) in ConvertCMYK2RGB() 49 return CPWL_Color(COLORTYPE_RGB, 1.0f - std::min(1.0f, dC + dK), in ConvertCMYK2RGB() 50 1.0f - std::min(1.0f, dM + dK), in ConvertCMYK2RGB() 51 1.0f - std::min(1.0f, dY + dK)); in ConvertCMYK2RGB()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/core/fxge/ |
H A D | cfx_color.cpp | 26 CFX_Color ConvertCMYK2GRAY(float dC, float dM, float dY, float dK) { in ConvertCMYK2GRAY() argument 27 if (!InRange(dC) || !InRange(dM) || !InRange(dY) || !InRange(dK)) in ConvertCMYK2GRAY() 31 1.0f - std::min(1.0f, 0.3f * dC + 0.59f * dM + 0.11f * dY + dK)); in ConvertCMYK2GRAY() 52 CFX_Color ConvertCMYK2RGB(float dC, float dM, float dY, float dK) { in ConvertCMYK2RGB() argument 53 if (!InRange(dC) || !InRange(dM) || !InRange(dY) || !InRange(dK)) in ConvertCMYK2RGB() 55 return CFX_Color(CFX_Color::kRGB, 1.0f - std::min(1.0f, dC + dK), in ConvertCMYK2RGB() 56 1.0f - std::min(1.0f, dM + dK), in ConvertCMYK2RGB() 57 1.0f - std::min(1.0f, dY + dK)); in ConvertCMYK2RGB()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pdfium/core/fxge/ |
H A D | cfx_color.cpp | 26 CFX_Color ConvertCMYK2GRAY(float dC, float dM, float dY, float dK) { in ConvertCMYK2GRAY() argument 27 if (!InRange(dC) || !InRange(dM) || !InRange(dY) || !InRange(dK)) in ConvertCMYK2GRAY() 31 1.0f - std::min(1.0f, 0.3f * dC + 0.59f * dM + 0.11f * dY + dK)); in ConvertCMYK2GRAY() 52 CFX_Color ConvertCMYK2RGB(float dC, float dM, float dY, float dK) { in ConvertCMYK2RGB() argument 53 if (!InRange(dC) || !InRange(dM) || !InRange(dY) || !InRange(dK)) in ConvertCMYK2RGB() 55 return CFX_Color(CFX_Color::kRGB, 1.0f - std::min(1.0f, dC + dK), in ConvertCMYK2RGB() 56 1.0f - std::min(1.0f, dM + dK), in ConvertCMYK2RGB() 57 1.0f - std::min(1.0f, dY + dK)); in ConvertCMYK2RGB()
|
/dports/security/dropbear/dropbear-2020.81/libtomcrypt/src/ciphers/ |
H A D | noekeon.c | 93 LOAD32H(skey->noekeon.dK[0],&key[0]); in noekeon_setup() 94 LOAD32H(skey->noekeon.dK[1],&key[4]); in noekeon_setup() 95 LOAD32H(skey->noekeon.dK[2],&key[8]); in noekeon_setup() 96 LOAD32H(skey->noekeon.dK[3],&key[12]); in noekeon_setup() 98 kTHETA(skey->noekeon.dK[0], skey->noekeon.dK[1], skey->noekeon.dK[2], skey->noekeon.dK[3]); in noekeon_setup() 182 THETA(skey->noekeon.dK, a,b,c,d); \ in _noekeon_ecb_decrypt() 194 THETA(skey->noekeon.dK, a,b,c,d); in _noekeon_ecb_decrypt()
|
/dports/security/libtomcrypt/libtomcrypt-1.18.2/src/ciphers/ |
H A D | noekeon.c | 93 LOAD32H(skey->noekeon.dK[0],&key[0]); in noekeon_setup() 94 LOAD32H(skey->noekeon.dK[1],&key[4]); in noekeon_setup() 95 LOAD32H(skey->noekeon.dK[2],&key[8]); in noekeon_setup() 96 LOAD32H(skey->noekeon.dK[3],&key[12]); in noekeon_setup() 98 kTHETA(skey->noekeon.dK[0], skey->noekeon.dK[1], skey->noekeon.dK[2], skey->noekeon.dK[3]); in noekeon_setup() 182 THETA(skey->noekeon.dK, a,b,c,d); \ in _noekeon_ecb_decrypt() 194 THETA(skey->noekeon.dK, a,b,c,d); in _noekeon_ecb_decrypt()
|
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/ext/crypto/libtomcrypt/src/ciphers/ |
H A D | noekeon.c | 95 LOAD32H(skey->noekeon.dK[0],&key[0]); in noekeon_setup() 96 LOAD32H(skey->noekeon.dK[1],&key[4]); in noekeon_setup() 97 LOAD32H(skey->noekeon.dK[2],&key[8]); in noekeon_setup() 98 LOAD32H(skey->noekeon.dK[3],&key[12]); in noekeon_setup() 100 kTHETA(skey->noekeon.dK[0], skey->noekeon.dK[1], skey->noekeon.dK[2], skey->noekeon.dK[3]); in noekeon_setup() 184 THETA(skey->noekeon.dK, a,b,c,d); \ in _noekeon_ecb_decrypt() 196 THETA(skey->noekeon.dK, a,b,c,d); in _noekeon_ecb_decrypt()
|
/dports/security/p5-CryptX/CryptX-0.075/src/ltc/ciphers/ |
H A D | noekeon.c | 87 LOAD32H(skey->noekeon.dK[0],&key[0]); in noekeon_setup() 88 LOAD32H(skey->noekeon.dK[1],&key[4]); in noekeon_setup() 89 LOAD32H(skey->noekeon.dK[2],&key[8]); in noekeon_setup() 90 LOAD32H(skey->noekeon.dK[3],&key[12]); in noekeon_setup() 92 kTHETA(skey->noekeon.dK[0], skey->noekeon.dK[1], skey->noekeon.dK[2], skey->noekeon.dK[3]); in noekeon_setup() 176 THETA(skey->noekeon.dK, a,b,c,d); \ in s_noekeon_ecb_decrypt() 188 THETA(skey->noekeon.dK, a,b,c,d); in s_noekeon_ecb_decrypt()
|
/dports/science/libecpint/libecpint-1.0.7/doc/sphinx/source/api/ |
H A D | program_listing_file__Users_robertshaw_devfiles_libecpint_src_lib_bessel.cpp.rst | 61 dK = new double**[N+1]; 64 dK[i] = new double*[TAYLOR_CUT + 1]; 66 dK[i][j] = new double[lMax + TAYLOR_CUT + 1]; 76 free(dK); 135 // Copy K values into dK 137 dK[ix][0][l] = K[ix][l]; 141 dK[ix][n][0] = dK[ix][n-1][1] - dK[ix][n-1][0]; 143 …dK[ix][n][l] = C[l]*dK[ix][n-1][l-1] + (C[l] + 1.0/(2.0*l + 1.0))*dK[ix][n-1][l+1] - dK[ix][n-1][l… 218 values[l] += dzn[n] * dK[ix][n][l]; 248 value += dzn * dK[ix][n][L];
|
H A D | program_listing_file__Users_robertshaw_devfiles_libecpint_new_src_lib_bessel.cpp.rst | 61 dK = new double**[N+1]; 64 dK[i] = new double*[TAYLOR_CUT + 1]; 66 dK[i][j] = new double[lMax + TAYLOR_CUT]; 76 free(dK); 135 // Copy K values into dK 137 dK[ix][0][l] = K[ix][l]; 141 dK[ix][n][0] = dK[ix][n-1][1] - dK[ix][n-1][0]; 143 …dK[ix][n][l] = C[l]*dK[ix][n-1][l-1] + (C[l] + 1.0/(2.0*l + 1.0))*dK[ix][n-1][l+1] - dK[ix][n-1][l… 218 values[l] += dzn[n] * dK[ix][n][l]; 248 value += dzn * dK[ix][n][L];
|
/dports/security/softhsm2/softhsm-2.6.1/src/lib/crypto/ |
H A D | EDPrivateKey.cpp | 93 ByteString dK = ByteString::chainDeserialise(serialised); in deserialise() local 96 (dK.size() == 0)) in deserialise() 102 setK(dK); in deserialise()
|
/dports/science/mbdyn/mbdyn-1.7.3/modules/module-mds/ |
H A D | module-mds.cc | 43 doublereal dM, dD, dK; member in ModuleMDS 112 dK = HP.GetReal(); in ModuleMDS() 181 WM.PutCoef(1, 2, dCoef*dK); in AssJac() 189 WM(1, 2) = dCoef*dK; in AssJac() 223 WorkVec.PutCoef(1, F.dGet() - dM*dVP - dD*dV - dK*dX); in AssRes() 227 WorkVec(1) = F.dGet() - dM*dVP - dD*dV - dK*dX; in AssRes()
|
/dports/audio/faust/faust-2.37.3/tools/physicalModeling/mesh2faust/vega/libraries/stvk/ |
H A D | StVKHessianTensor.h | 55 virtual void ComputeStiffnessMatrixCorrection(double * u, double * du, SparseMatrix * dK); 74 …void AddQuadraticTermsContribution(double * u, double * du, SparseMatrix * dK, int elementLow=-1, … 75 …void AddCubicTermsContribution(double * u, double * du, SparseMatrix * dK, int elementLow=-1, int …
|
/dports/audio/faust/faust-2.37.3/tools/physicalModeling/mesh2faust/vega/libraries/include/ |
H A D | StVKHessianTensor.h | 55 virtual void ComputeStiffnessMatrixCorrection(double * u, double * du, SparseMatrix * dK); 74 …void AddQuadraticTermsContribution(double * u, double * du, SparseMatrix * dK, int elementLow=-1, … 75 …void AddCubicTermsContribution(double * u, double * du, SparseMatrix * dK, int elementLow=-1, int …
|
/dports/science/mbdyn/mbdyn-1.7.3/modules/module-hunt-crossley/ |
H A D | module-hunt-crossley.cc | 56 doublereal dSign, doublereal dAlpha, doublereal dK, doublereal dExp) in HuntCrossleyCL() argument 58 m_dSign(dSign), m_dAlpha(dAlpha), m_dK(dK), m_dExp(dExp), in HuntCrossleyCL() 208 doublereal dK = HP.GetReal(); in Read() local 209 if (dK <= 0.) { in Read() 230 HuntCrossleyCL(pTplDC, dSign, dAlpha, dK, dExp)); in Read()
|
/dports/science/mbdyn/mbdyn-1.7.3/modules/module-cont-contact/ |
H A D | module-cont-contact.cc | 80 doublereal dK, doublereal dExp, doublereal dInitialEpsPrimeTol) in ContContactCL() argument 83 m_dRest(dRest), m_type(type), m_dK(dK), m_dExp(dExp), in ContContactCL() 319 doublereal dK = HP.GetReal(); in Read() local 320 if (dK <= 0.) { in Read() 348 ContContactCL(pTplDC, dSign, type, dRest, dK, dExp, dInitialEpsPrimeTol)); in Read() 390 doublereal dK, doublereal dExp, doublereal dInitialEpsPrimeTol) in ContContact3DCL() argument 393 m_dRest(dRest), m_type(type), m_dK(dK), m_dExp(dExp), in ContContact3DCL() 628 doublereal dK = HP.GetReal(); in Read() local 629 if (dK <= 0.) { in Read() 657 ContContact3DCL(pTplDC, dSign, type, dRest, dK, dExp, dInitialEpsPrimeTol)); in Read()
|
/dports/math/freefem++/FreeFem-sources-4.6/examples/hpddm/ |
H A D | advection-TS-2d-PETSc.edp | 27 Mat dK(K, intersection, D); 28 Mat dM(dK, M); 34 MatMult(dK, in, temp); 42 MatMult(dK, in, temp);
|
/dports/math/freefem++/FreeFem-sources-4.6/unit/parallel/ |
H A D | PETSc-code.edp | 30 Mat dK(K, intersection, D); 31 Mat dM(dK, M); 45 MatMult(dK, in, temp); 59 MatMult(dK, in, temp);
|