/dports/comms/wsjtz/wsjtx/lib/qra/q65/ |
H A D | q65.c | 129 int nK; in q65_encode() local 150 px[nK] = _q65_crc6(px,nK); in q65_encode() 153 _q65_crc12(px+nK,px,nK); in q65_encode() 173 …memcpy(pOutputCodeword+nK,py+nK+1,(nN-nK)*sizeof(int)); // copy the check symbols skipping the CRC… in q65_encode() 178 …memcpy(pOutputCodeword+nK,py+nK+2,(nN-nK)*sizeof(int)); // copy the check symbols skipping the two… in q65_encode() 561 memcpy(ix+(nK+1)*nM,pIntrinsics+nK*nM,(nN-nK)*nM*sizeof(float)); // parity checks in q65_decode() 567 memcpy(ix+(nK+2)*nM,pIntrinsics+nK*nM,(nN-nK)*nM*sizeof(float)); // parity checks in q65_decode() 640 memcpy(pDecodedCodeword+nK,py+nK+1,(nN-nK)*sizeof(int)); // puncture crc-6 symbol in q65_decode() 644 memcpy(pDecodedCodeword+nK,py+nK+2,(nN-nK)*sizeof(int)); // puncture crc-12 symbols in q65_decode() 690 int nK, nN, nM; in q65_decode_fullaplist() local [all …]
|
H A D | q65test.c | 206 int nK, nN, nM, nm, nSamples; in wer_test_thread_awgnrayl() local 228 nK = q65_get_message_length(&codec); in wer_test_thread_awgnrayl() 236 x = (int*)malloc(nK*sizeof(int)); in wer_test_thread_awgnrayl() 237 xdec = (int*)malloc(nK*sizeof(int)); in wer_test_thread_awgnrayl() 261 for (k=0;k<nK;k++) in wer_test_thread_awgnrayl() 394 int nK, nN, nM, nm, nSamples; in wer_test_thread_ff() local 419 nK = q65_get_message_length(&codec); in wer_test_thread_ff() 437 x = (int*)malloc(nK*sizeof(int)); in wer_test_thread_ff() 438 xdec = (int*)malloc(nK*sizeof(int)); in wer_test_thread_ff() 457 for (k=0;k<nK;k++) in wer_test_thread_ff()
|
/dports/math/openturns/openturns-1.18/python/test/ |
H A D | t_DistFunc_gamma.py | 14 nK = 5 variable 18 for i1 in range(nK): 19 k = kMin + (kMax - kMin) * i1 / (nK - 1) 27 nK = 5 variable 31 for i1 in range(nK): 32 k = kMin + (kMax - kMin) * i1 / (nK - 1) 40 nK = 5 variable 42 for i1 in range(nK): 43 k = kMin + (kMax - kMin) * i1 / (nK - 1)
|
/dports/math/openturns/openturns-1.18/lib/test/ |
H A D | t_DistFunc_gamma.cxx | 40 UnsignedInteger nK = 5; in main() local 44 for (UnsignedInteger i1 = 0; i1 < nK; ++i1) in main() 46 Scalar k = kMin + (kMax - kMin) * i1 / (nK - 1); in main() 58 UnsignedInteger nK = 5; in main() local 62 for (UnsignedInteger i1 = 0; i1 < nK; ++i1) in main() 64 Scalar k = kMin + (kMax - kMin) * i1 / (nK - 1); in main() 76 UnsignedInteger nK = 5; in main() local 78 for (UnsignedInteger i1 = 0; i1 < nK; ++i1) in main() 80 Scalar k = kMin + (kMax - kMin) * i1 / (nK - 1); in main()
|
/dports/devel/vexcl/vexcl-1.4.3/vexcl/ |
H A D | scan_by_key.hpp | 145 for(size_t p = 0; p < nK; ++p) in block_scan_by_key() 153 for(size_t p = 0; p < nK; ++p) in block_scan_by_key() 186 for(size_t p = 0; p < nK; ++p) in block_scan_by_key() 197 for(size_t p = 0; p < nK; ++p) in block_scan_by_key() 239 for(size_t p = 0; p < nK; ++p) in block_scan_by_key() 316 for(size_t p = 0; p < nK; ++p) in block_inclusive_scan_by_key() 324 for(size_t p = 0; p < nK; ++p) { in block_inclusive_scan_by_key() 348 for(size_t p = 0; p < nK; ++p) in block_inclusive_scan_by_key() 539 for(size_t p = 0; p < nK; ++p) { in block_add_by_key() 549 for(size_t p = 0; p < nK; ++p) { in block_add_by_key() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/tools/source/generic/ |
H A D | bigint.cxx | 108 sal_uInt16 nK = 0; in Mult() local 116 if ( nK ) in Mult() 129 sal_uInt32 nK = 0; in Div() local 338 nK = 0; in DivLong() 346 if ( nK ) in DivLong() 347 nK = static_cast<sal_uInt16>(0x10000U - nK); in DivLong() 350 rNum -= nK; in DivLong() 356 nK = 0; in DivLong() 404 nK = 0; in ModLong() 413 nK = static_cast<sal_uInt16>(0x10000U - nK); in ModLong() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/tools/source/generic/ |
H A D | bigint.cxx | 107 sal_uInt16 nK = 0; in Mult() local 115 if ( nK ) in Mult() 129 sal_uInt32 nK = 0; in Div() local 341 nK = 0; in DivLong() 349 if ( nK ) in DivLong() 350 nK = static_cast<sal_uInt16>(0x10000U - nK); in DivLong() 353 rNum -= nK; in DivLong() 359 nK = 0; in DivLong() 408 nK = 0; in ModLong() 417 nK = static_cast<sal_uInt16>(0x10000U - nK); in ModLong() [all …]
|
/dports/math/ecos/ecos-2.0.8/src/ |
H A D | preproc.c | 84 idxint nK, nnzK; in createKKT_U() local 98 nK = n + p + m; in createKKT_U() 100 nK += 2*C->nsoc; in createKKT_U() 168 for(ks=nK-3*C->nexc;ks<nK;) in createKKT_U() 176 if (ks!=nK) { in createKKT_U() 435 *K = ecoscreateSparseMatrix(nK, nK, nnzK, Kjc, Kir, Kpr); in createKKT_U() 876 nK = KU->n; in ECOS_setup() 911 mywork->KKT->PKPt = newSparseMatrix(nK, nK, KU->nnz); in ECOS_setup() 945 pinv(nK, P, mywork->KKT->Pinv); in ECOS_setup() 989 lnz = Ljc[nK]; in ECOS_setup() [all …]
|
H A D | kkt.c | 117 idxint nK = KKT->PKPt->n; in kkt_solve() local 120 LDL_lsolve2(nK, Pb, KKT->L->jc, KKT->L->ir, KKT->L->pr, Px ); in kkt_solve() 121 LDL_dsolve(nK, Px, KKT->D); in kkt_solve() 122 LDL_ltsolve(nK, Px, KKT->L->jc, KKT->L->ir, KKT->L->pr); in kkt_solve() 234 for( i=0; i<nK; i++ ){ Px[i] -= dPx[i]; } in kkt_solve() 246 for( i=0; i<nK; i++) { Pe[Pinv[i]] = e[i]; } in kkt_solve() 249 LDL_lsolve2(nK, Pe, KKT->L->jc, KKT->L->ir, KKT->L->pr, dPx); in kkt_solve() 250 LDL_dsolve(nK, dPx, KKT->D); in kkt_solve() 251 LDL_ltsolve(nK, dPx, KKT->L->jc, KKT->L->ir, KKT->L->pr); in kkt_solve() 254 for( i=0; i<nK; i++ ){ Px[i] += dPx[i]; } in kkt_solve()
|
/dports/math/py-ecos/ecos-python-2.0.8/ecos/src/ |
H A D | preproc.c | 84 idxint nK, nnzK; in kkt_factor() 98 nK = n + p + m; in kkt_factor() 100 nK += 2*C->nsoc; in kkt_factor() 168 for(ks=nK-3*C->nexc;ks<nK;) in kkt_factor() 176 if (ks!=nK) { in kkt_factor() 435 *K = ecoscreateSparseMatrix(nK, nK, nnzK, Kjc, Kir, Kpr); in kkt_factor() 876 nK = KU->n; 911 mywork->KKT->PKPt = newSparseMatrix(nK, nK, KU->nnz); 945 pinv(nK, P, mywork->KKT->Pinv); 989 lnz = Ljc[nK]; [all …]
|
H A D | kkt.c | 117 idxint nK = KKT->PKPt->n; in evalBarrierValue() 120 LDL_lsolve2(nK, Pb, KKT->L->jc, KKT->L->ir, KKT->L->pr, Px ); in evalBarrierValue() 121 LDL_dsolve(nK, Px, KKT->D); in evalBarrierValue() 122 LDL_ltsolve(nK, Px, KKT->L->jc, KKT->L->ir, KKT->L->pr); in evalBarrierValue() 234 for( i=0; i<nK; i++ ){ Px[i] -= dPx[i]; } in evalBarrierValue() 246 for( i=0; i<nK; i++) { Pe[Pinv[i]] = e[i]; } in evalBarrierValue() 249 LDL_lsolve2(nK, Pe, KKT->L->jc, KKT->L->ir, KKT->L->pr, dPx); in evalBarrierValue() 250 LDL_dsolve(nK, dPx, KKT->D); in evalBarrierValue() 251 LDL_ltsolve(nK, dPx, KKT->L->jc, KKT->L->ir, KKT->L->pr); in evalBarrierValue() 254 for( i=0; i<nK; i++ ){ Px[i] += dPx[i]; } in evalBarrierValue()
|
/dports/math/apache-commons-math/commons-math3-3.6.1-src/src/main/java/org/apache/commons/math3/analysis/interpolation/ |
H A D | TricubicInterpolator.java | 93 final int nK = k + 1; in interpolate() local 96 final double nZ = zval[nK]; in interpolate() 103 dFdZ[i][j][k] = (fval[i][j][nK] - fval[i][j][pK]) / deltaZ; in interpolate() 109 …d2FdXdZ[i][j][k] = (fval[nI][j][nK] - fval[nI][j][pK] - fval[pI][j][nK] + fval[pI][j][pK]) / delta… in interpolate() 110 …d2FdYdZ[i][j][k] = (fval[i][nJ][nK] - fval[i][nJ][pK] - fval[i][pJ][nK] + fval[i][pJ][pK]) / delta… in interpolate() 114 d3FdXdYdZ[i][j][k] = (fval[nI][nJ][nK] - fval[nI][pJ][nK] - in interpolate() 115 fval[pI][nJ][nK] + fval[pI][pJ][nK] - in interpolate()
|
H A D | TricubicSplineInterpolator.java | 158 final int nK = nextIndex(k, zLen); in interpolate() local 162 d3FdXdYdZ[i][j][k] = (fval[nI][nJ][nK] - fval[nI][pJ][nK] - in interpolate() 163 fval[pI][nJ][nK] + fval[pI][pJ][nK] - in interpolate() 166 ((xval[nI] - xval[pI]) * (yval[nJ] - yval[pJ]) * (zval[nK] - zval[pK])) ; in interpolate()
|
/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/wrappers/pyAgrum/pyLibs/causal/ |
H A D | _causalImpact.py | 134 nK = [] 136 nK = list(knowing) 137 sK = {cm.observationalBN().idFromName(i) for i in nK} 144 cm.causalBN(), set(nY), set(nK)), on, doing, knowing) 146 return ar, adj.reorganize([v for v in nY + nDo + nK if v in adj.var_names]), explain 149 if len(iDo) == 1 and len(nY) == 1 and len(nK) == 0: 159 return ar, adj.reorganize([v for v in nY + nDo + nK if v in adj.var_names]), explain 169 return ar, adj.reorganize([v for v in nY + nDo + nK if v in adj.var_names]), explain 173 if len(nK) == 0: 176 ar = doCalculusWithObservation(cm, on, set(nDo), set(nK)) [all …]
|
/dports/science/py-gpaw/gpaw-21.6.0/gpaw/utilities/ |
H A D | ibz2bz.py | 35 nK = kd.N_c.prod() 55 P_sKnI = np.empty((ns, nK, nbands, I2), calc.wfs.dtype) 56 e_sKn = np.empty((ns, nK, nbands)) 57 f_sKn = np.empty((ns, nK, nbands)) 92 wfs.child('kpts').write(bz2ibz=np.arange(nK), 95 weights=np.ones(nK) / nK)
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/scaddins/source/analysis/ |
H A D | bessel.cxx | 183 sal_Int32 nK = 0; in BesselI() local 186 for( nK = 1; nK <= n; ++nK ) in BesselI() 188 fTerm = fTerm / static_cast< double >( nK ) * fXHalf; in BesselI() 193 nK = 1; in BesselI() 215 fTerm = fTerm * fXHalf / static_cast<double>(nK) * fXHalf / static_cast<double>(nK+n); in BesselI() 217 nK++; in BesselI() 219 while( (fabs( fTerm ) > fabs(fResult) * fEpsilon) && (nK < nMaxIteration) ); in BesselI()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/scaddins/source/analysis/ |
H A D | bessel.cxx | 184 sal_Int32 nK = 0; in BesselI() local 187 for( nK = 1; nK <= n; ++nK ) in BesselI() 189 fTerm = fTerm / static_cast< double >( nK ) * fXHalf; in BesselI() 194 nK = 1; in BesselI() 216 fTerm = fTerm * fXHalf / static_cast<double>(nK) * fXHalf / static_cast<double>(nK+n); in BesselI() 218 nK++; in BesselI() 220 while( (fabs( fTerm ) > fabs(fResult) * fEpsilon) && (nK < nMaxIteration) ); in BesselI()
|
/dports/math/gap/gap-4.11.0/pkg/hap-1.25/lib/SimplicialGroups/ |
H A D | eilenbergMacLane.gi | 173 for i in [nn..nK] do 185 for i in [nn+1..nK] do 197 Faces:=List([1..nK],i->[]); 215 for n in [1..nK] do 222 for n in [nn+1..nK] do 238 for n in [nn+1..nK] do 293 for n in [0..nK-1] do 300 for n in [nn..nK-1] do 316 for n in [nn..nK-1] do 401 for i in [n..nK] do [all …]
|
/dports/math/gap/gap-4.11.0/pkg/loops-3.4.1/gap/ |
H A D | extensions.gi | 26 local nK, nF, ctK, ctF, ct, a, b, x, y, c, z; 31 nK := Size( K ); 37 ct := List([1..nK*nF], i -> 0 * [1..nK*nF] ); 39 for a in [1..nK] do for b in [1..nK] do for x in [1..nF] do for y in [1..nF] do 43 ct[ nK*(x-1) + a ][ nK*(y-1) + b ] := nK*(z-1) + c;
|
/dports/accessibility/speech-dispatcher/speech-dispatcher-0.10.2/src/modules/kali_shim/kali/Kali/ |
H A D | kali.h | 37 extern const AudioTrackKali *GetBufMultiKaliStd(short nK); 38 extern void SetSortieBufMultiKaliStd(short nK, bool sortieBuf); 39 extern void SetSortieSonMultiKaliStd(short nK, bool sortieSon);
|
/dports/accessibility/py-speech-dispatcher/speech-dispatcher-0.10.2/src/modules/kali_shim/kali/Kali/ |
H A D | kali.h | 37 extern const AudioTrackKali *GetBufMultiKaliStd(short nK); 38 extern void SetSortieBufMultiKaliStd(short nK, bool sortieBuf); 39 extern void SetSortieSonMultiKaliStd(short nK, bool sortieSon);
|
/dports/accessibility/speech-dispatcher/speech-dispatcher-0.10.2/src/modules/ |
H A D | kali_Kali_shim.cpp | 30 const AudioTrackKali *GetBufMultiKaliStd(short nK) { in GetBufMultiKaliStd() argument 34 void SetSortieBufMultiKaliStd(short nK, bool sortieBuf) { in SetSortieBufMultiKaliStd() argument 38 void SetSortieSonMultiKaliStd(short nK, bool sortieSon) { in SetSortieSonMultiKaliStd() argument
|
/dports/accessibility/py-speech-dispatcher/speech-dispatcher-0.10.2/src/modules/ |
H A D | kali_Kali_shim.cpp | 30 const AudioTrackKali *GetBufMultiKaliStd(short nK) { in GetBufMultiKaliStd() argument 34 void SetSortieBufMultiKaliStd(short nK, bool sortieBuf) { in SetSortieBufMultiKaliStd() argument 38 void SetSortieSonMultiKaliStd(short nK, bool sortieSon) { in SetSortieSonMultiKaliStd() argument
|
/dports/devel/upp/upp/bazaar/plugin/gdal/frmts/pdf/ |
H A D | ogrpdflayer.cpp | 72 int nK = -1; in Fill() local 74 nK = poK->GetInt(); in Fill() 130 if (nK >= 0) in Fill() 132 OGRGeometry* poGeom = poDS->GetGeometryFromMCID(nK); in Fill()
|
/dports/graphics/py-gdal/gdal-3.3.3/frmts/pdf/ |
H A D | ogrpdflayer.cpp | 76 int nK = -1; in Fill() local 78 nK = poK->GetInt(); in Fill() 138 if (nK >= 0) in Fill() 140 OGRGeometry* poGeom = poDS->GetGeometryFromMCID(nK); in Fill()
|