/dports/audio/surge-synthesizer-lv2/surge-release_1.9.0/src/headless/ |
H A D | UnitTestUtilities.cpp | 78 int nS, nC; in frequencyForNote() local 84 REQUIRE(nS >= samplerate * seconds); in frequencyForNote() 88 int nSTrim = (int)(nS / 2 * 0.8); in frequencyForNote() 89 int start = (int)(nS / 2 * 0.05); in frequencyForNote() 102 int nS, nC; in frequencyAndRMSForNote() local 112 int nSTrim = (int)(nS / 2 * 0.8); in frequencyAndRMSForNote() 113 int start = (int)(nS / 2 * 0.05); in frequencyAndRMSForNote() 127 int nS, nC; in frequencyForEvents() local 133 REQUIRE(startSample < nS); in frequencyForEvents() 134 REQUIRE(endSample < nS); in frequencyForEvents() [all …]
|
/dports/math/qposases/qpOASES-3.2.1/src/ |
H A D | SQProblemSchur.cpp | 242 nS = rhs.nS; in copy() 723 if ( nS < 0 || nS==nSmax ) in addConstraint() 1190 if ( nS < 0 || nS==nSmax ) in addBound() 1599 if ( nS < 0 || nS==nSmax ) in removeConstraint() 1864 if ( nS < 0 || nS==nSmax ) in removeBound() 2305 Q_[(nS-1)+(nS-1)*nSmax] = 1.0; in updateSchurQR() 2366 computeGivens( Q_[nS+nS*nSmax], Q_[nS+(i-1)*nSmax], Q_[nS+nS*nSmax], Q_[nS+(i-1)*nSmax], c, s ); in updateSchurQR() 2379 if ( (( (nS - idxDel) % 2 == 1 ) && ( Q_[nS+nS*nSmax] > 0.0 )) || in updateSchurQR() 2380 (( (nS - idxDel) % 2 == 0 ) && ( Q_[nS+nS*nSmax] < 0.0 )) ) in updateSchurQR() 3203 S[nS*nSmax + nS] = sdiag; in addToSchurComplement() [all …]
|
/dports/math/casadi/casadi-3.5.5/external_packages/qpOASES/src/ |
H A D | SQProblemSchur.cpp | 252 nS = rhs.nS; in copy() 733 if ( nS < 0 || nS==nSmax ) in addConstraint() 1200 if ( nS < 0 || nS==nSmax ) in addBound() 1609 if ( nS < 0 || nS==nSmax ) in removeConstraint() 1874 if ( nS < 0 || nS==nSmax ) in removeBound() 2315 Q_[(nS-1)+(nS-1)*nSmax] = 1.0; in updateSchurQR() 2376 … computeGivens( Q_[nS+nS*nSmax], Q_[nS+(i-1)*nSmax], Q_[nS+nS*nSmax], Q_[nS+(i-1)*nSmax], c, s ); in updateSchurQR() 2389 if ( (( (nS - idxDel) % 2 == 1 ) && ( Q_[nS+nS*nSmax] > 0.0 )) || in updateSchurQR() 2390 (( (nS - idxDel) % 2 == 0 ) && ( Q_[nS+nS*nSmax] < 0.0 )) ) in updateSchurQR() 3211 S[nS*nSmax + nS] = sdiag; in addToSchurComplement() [all …]
|
/dports/science/siesta/siesta-4.1.5/Src/ |
H A D | m_ts_electrode.F90 | 1013 Gq => zwork(nS*9+1:nS*9+nuS*nq) 1109 H00 => zHS(( iqpt-1)*nS+1: iqpt *nS) 1110 S00 => zHS(( nq+iqpt-1)*nS+1:( nq+iqpt)*nS) 1111 H01 => zHS((2*nq+iqpt-1)*nS+1:(2*nq+iqpt)*nS) 1112 S01 => zHS((3*nq+iqpt-1)*nS+1:(3*nq+iqpt)*nS) 1170 H00 => zHS(( iqpt-1)*nS+1: iqpt *nS) 1171 S00 => zHS(( nq+iqpt-1)*nS+1:( nq+iqpt)*nS) 1172 H01 => zHS((2*nq+iqpt-1)*nS+1:(2*nq+iqpt)*nS) 1173 S01 => zHS((3*nq+iqpt-1)*nS+1:(3*nq+iqpt)*nS) 1177 GS => Gq(( iqpt-1)*nS+1: iqpt *nS) [all …]
|
/dports/biology/mothur/mothur-1.46.1/source/calculators/ |
H A D | metroig.cpp | 22 int nS = (int) floor(gsl_vector_get(x, 2)); in nLogLikelihood0() local 49 dLog1 = (nS - ptData->nL)*dLog0; in nLogLikelihood0() 51 dLog2 = - gsl_sf_lnfact(nS - ptData->nL); in nLogLikelihood0() 53 dLog3 = gsl_sf_lnfact(nS); in nLogLikelihood0() 61 double negLogLikelihood0(double dAlpha, double dBeta, int nS, void * params) in negLogLikelihood0() argument 91 dLog1 = (nS - ptData->nL)*dLog0; in negLogLikelihood0() 93 dLog2 = - gsl_sf_lnfact(nS - ptData->nL); in negLogLikelihood0() 95 dLog3 = gsl_sf_lnfact(nS); in negLogLikelihood0() 115 int nS = 0, nSDash = 0, nIter = 0; in metropolis0() local 123 nS = (int) floor(gsl_vector_get(ptX,2)); in metropolis0() [all …]
|
H A D | metrolognormal.cpp | 25 int nS = (int) floor(gsl_vector_get(x, 2)); in nLogLikelihood1() local 53 dLogL -= gsl_sf_lnfact(nS - ptData->nL); in nLogLikelihood1() 55 dLogL += gsl_sf_lnfact(nS); in nLogLikelihood1() 65 double negLogLikelihood1(double dMDash, double dV, int nS, void * params) in negLogLikelihood1() argument 96 if(nS > ptData->nL){ in negLogLikelihood1() 97 dLogL += (nS - ptData->nL)*dLog0; in negLogLikelihood1() 100 dLogL -= gsl_sf_lnfact(nS - ptData->nL); in negLogLikelihood1() 102 dLogL += gsl_sf_lnfact(nS); in negLogLikelihood1() 124 int nS = 0, nSDash = 0,nIter = 0; in metropolis1() local 135 nS = (int) floor(gsl_vector_get(ptX,2)); in metropolis1() [all …]
|
H A D | metrologstudent.cpp | 22 int nS = (int) floor(gsl_vector_get(x, 3)); in nLogLikelihood2() local 56 dLog1 = (nS - ptData->nL)*dLog0; in nLogLikelihood2() 58 dLog2 = - gsl_sf_lnfact(nS - ptData->nL); in nLogLikelihood2() 60 dLog3 = gsl_sf_lnfact(nS); in nLogLikelihood2() 102 dLog1 = (nS - ptData->nL)*dLog0; in negLogLikelihood() 104 dLog2 = - gsl_sf_lnfact(nS - ptData->nL); in negLogLikelihood() 106 dLog3 = gsl_sf_lnfact(nS); in negLogLikelihood() 124 int nS = 0, nSDash = 0, nIter = 0; in metropolis2() local 132 nS = (int) floor(gsl_vector_get(ptX,3)); in metropolis2() 153 dutils.getProposal(ptGSLRNG, ptXDash, ptX, &nSDash, nS, ptParams); in metropolis2() [all …]
|
H A D | metrosichel.cpp | 23 int nS = (int) floor(gsl_vector_get(x, 3)); in nLogLikelihood3() local 52 dLog1 = (nS - ptData->nL)*dLog0; in nLogLikelihood3() 54 dLog2 = - gsl_sf_lnfact(nS - ptData->nL); in nLogLikelihood3() 56 dLog3 = gsl_sf_lnfact(nS); in nLogLikelihood3() 94 dLog1 = (nS - ptData->nL)*dLog0; in negLogLikelihood3() 96 dLog2 = - gsl_sf_lnfact(nS - ptData->nL); in negLogLikelihood3() 98 dLog3 = gsl_sf_lnfact(nS); in negLogLikelihood3() 116 int nS = 0, nSDash = 0, nIter = 0; in metropolis3() local 124 nS = (int) floor(gsl_vector_get(ptX,3)); in metropolis3() 144 dutils.getProposal(ptGSLRNG, ptXDash, ptX, &nSDash, nS, ptParams); in metropolis3() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/core/attr/ |
H A D | hints.cxx | 44 SwDelText::SwDelText( sal_Int32 nS, sal_Int32 nL ) in SwDelText() argument 45 : SwMsgPoolItem( RES_DEL_TXT ), nStart( nS ), nLen( nL ) in SwDelText() 51 MoveText::MoveText(SwTextNode *const pD, sal_Int32 const nD, sal_Int32 const nS, sal_Int32 const nL) in MoveText() argument 52 : pDestNode(pD), nDestStart(nD), nSourceStart(nS), nLen(nL) in MoveText() 56 RedlineDelText::RedlineDelText(sal_Int32 const nS, sal_Int32 const nL) in RedlineDelText() argument 57 : nStart(nS), nLen(nL) in RedlineDelText() 61 RedlineUnDelText::RedlineUnDelText(sal_Int32 const nS, sal_Int32 const nL) in RedlineUnDelText() argument 62 : nStart(nS), nLen(nL) in RedlineUnDelText() 68 SwUpdateAttr::SwUpdateAttr( sal_Int32 nS, sal_Int32 nE, sal_uInt16 nW ) in SwUpdateAttr() argument 69 : SwMsgPoolItem( RES_UPDATE_ATTR ), m_nStart( nS ), m_nEnd( nE ), m_nWhichAttr( nW ) in SwUpdateAttr() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/core/attr/ |
H A D | hints.cxx | 44 SwDelText::SwDelText( sal_Int32 nS, sal_Int32 nL ) in SwDelText() argument 45 : SwMsgPoolItem( RES_DEL_TXT ), nStart( nS ), nLen( nL ) in SwDelText() 51 MoveText::MoveText(SwTextNode *const pD, sal_Int32 const nD, sal_Int32 const nS, sal_Int32 const nL) in MoveText() argument 52 : pDestNode(pD), nDestStart(nD), nSourceStart(nS), nLen(nL) in MoveText() 56 RedlineDelText::RedlineDelText(sal_Int32 const nS, sal_Int32 const nL) in RedlineDelText() argument 57 : nStart(nS), nLen(nL) in RedlineDelText() 61 RedlineUnDelText::RedlineUnDelText(sal_Int32 const nS, sal_Int32 const nL) in RedlineUnDelText() argument 62 : nStart(nS), nLen(nL) in RedlineUnDelText() 68 SwUpdateAttr::SwUpdateAttr( sal_Int32 nS, sal_Int32 nE, sal_uInt16 nW ) in SwUpdateAttr() argument 69 : SwMsgPoolItem( RES_UPDATE_ATTR ), m_nStart( nS ), m_nEnd( nE ), m_nWhichAttr( nW ) in SwUpdateAttr() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sd/source/ui/slidesorter/controller/ |
H A D | SlsAnimationFunction.cxx | 52 const double nS (1-nT); in EvaluateComponent() local 59 const double nV01 (nS*nV0 + nT*nV1); in EvaluateComponent() 60 const double nV12 (nS*nV1 + nT*nV2); in EvaluateComponent() 61 const double nV23 (nS*nV2 + nT*nV3); in EvaluateComponent() 63 const double nV012 (nS*nV01 + nT*nV12); in EvaluateComponent() 64 const double nV123 (nS*nV12 + nT*nV23); in EvaluateComponent() 66 const double nV0123 (nS*nV012 + nT*nV123); in EvaluateComponent()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sd/source/ui/slidesorter/controller/ |
H A D | SlsAnimationFunction.cxx | 48 const double nS (1-nT); in EvaluateComponent() local 55 const double nV01 (nS*nV0 + nT*nV1); in EvaluateComponent() 56 const double nV12 (nS*nV1 + nT*nV2); in EvaluateComponent() 57 const double nV23 (nS*nV2 + nT*nV3); in EvaluateComponent() 59 const double nV012 (nS*nV01 + nT*nV12); in EvaluateComponent() 60 const double nV123 (nS*nV12 + nT*nV23); in EvaluateComponent() 62 const double nV0123 (nS*nV012 + nT*nV123); in EvaluateComponent()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/svx/source/dialog/ |
H A D | framelink.cxx | 39 Style::Style( double nP, double nD, double nS, SvxBorderLineStyle nType, double fScale ) in Style() argument 44 Set( nP, nD, nS ); in Style() 47 …n, const Color& rColorGap, bool bUseGapColor, double nP, double nD, double nS, SvxBorderLineStyle … in Style() argument 52 Set( rColorPrim, rColorSecn, rColorGap, bUseGapColor, nP, nD, nS ); in Style() 80 void Style::Set( double nP, double nD, double nS ) in Set() argument 89 mfPrim = rtl::math::round(nP ? nP : nS, 2); in Set() 90 mfDist = rtl::math::round((nP && nS) ? nD : 0, 2); in Set() 91 mfSecn = rtl::math::round((nP && nD) ? nS : 0, 2); in Set() 94 …nst Color& rColorSecn, const Color& rColorGap, bool bUseGapColor, double nP, double nD, double nS ) in Set() argument 100 Set( nP, nD, nS ); in Set()
|
/dports/science/clhep/2.4.1.0/CLHEP/RandomObjects/test/ |
H A D | testVectorDists.cc | 62 int nS; in testRandMultiGauss() local 64 cin >> nMu >> nS; in testRandMultiGauss() 65 if ( nMu != nS ) { in testRandMultiGauss() 69 cin >> nMu >> nS; in testRandMultiGauss() 71 int dim = (nMu >= nS) ? nMu : nS; in testRandMultiGauss() 74 HepSymMatrix S(nS); in testRandMultiGauss() 91 for (row = 1; row <= nS; row++) { in testRandMultiGauss() 92 cout << row << " {" << nS - row + 1 << " numbers}: "; in testRandMultiGauss() 93 for (col = row; col <= nS; col++) { in testRandMultiGauss() 156 HepSymMatrix Sumxy(nS); in testRandMultiGauss()
|
/dports/math/R-cran-robustbase/robustbase/tests/ |
H A D | small-sample.R | 16 nS <- Sim ## if(n < 20) Sim else round(10*Sim/n) globalVar 17 cat("\nn = ",n,"\n------\nno.Sim. = ",nS,"\n") 18 cpu[as.character(n)] <- system.time(for(i in 1:nS) { 30 print(c(mean(sn), sd(sn)/sqrt(nS), quantile(sn, p = (1:3)/4))) 31 print(c(mean(qn), sd(qn)/sqrt(nS), quantile(qn, p = (1:3)/4)))
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/svx/source/dialog/ |
H A D | framelink.cxx | 54 Style::Style( double nP, double nD, double nS, SvxBorderLineStyle nType, double fScale ) : in Style() argument 59 Set( nP, nD, nS ); in Style() 62 …n, const Color& rColorGap, bool bUseGapColor, double nP, double nD, double nS, SvxBorderLineStyle … in Style() argument 67 Set( rColorPrim, rColorSecn, rColorGap, bUseGapColor, nP, nD, nS ); in Style() 89 void Style::Set( double nP, double nD, double nS ) in Set() argument 100 pTarget->mfPrim = rtl::math::round(nP ? nP : nS, 2); in Set() 101 pTarget->mfDist = rtl::math::round((nP && nS) ? nD : 0, 2); in Set() 102 pTarget->mfSecn = rtl::math::round((nP && nD) ? nS : 0, 2); in Set() 105 …nst Color& rColorSecn, const Color& rColorGap, bool bUseGapColor, double nP, double nD, double nS ) in Set() argument 113 Set( nP, nD, nS ); in Set()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/chart2/source/view/main/ |
H A D | DataPointSymbolSupplier.cxx | 38 for(sal_Int32 nS=0;nS<ShapeFactory::getSymbolCount();nS++) in create2DSymbolList() local 40 pShapeFactory->createSymbol2D( xGroupShapes, aPos, rSize, nS, 0, 0 ); in create2DSymbolList()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/chart2/source/view/main/ |
H A D | DataPointSymbolSupplier.cxx | 38 for(sal_Int32 nS=0;nS<ShapeFactory::getSymbolCount();nS++) in create2DSymbolList() local 40 pShapeFactory->createSymbol2D( xGroupShapes, aPos, rSize, nS, 0, 0 ); in create2DSymbolList()
|
/dports/math/minizinc/libminizinc-2.5.5/tests/spec/examples/ |
H A D | timetabling.mzn | 25 int: nS; % Number of students 31 array[1..nS, 1..nCS] of 1..nC: Cs; % Courses of each student 34 array[1..nS, 1..nCS] of var 1..nSC: x; % Sections assigned 39 forall (i in 1..nS) ( 54 | i in 1..nS, j in 1..nCS ] 64 nS=20;
|
/dports/graphics/nurbs++/nurbs++-3.0.11/nurbs/ |
H A D | nurbsS_sp.h | 51 NurbsSurfaceSP(const NurbsSurface<T,N>& nS); 52 NurbsSurfaceSP(const NurbsSurfaceSP<T,N>& nS); 140 inline NurbsSurfaceSP<T,N>::NurbsSurfaceSP(const NurbsSurface<T,N>& nS) : NurbsSurface<T,N>(nS) { in NurbsSurfaceSP() argument 154 inline NurbsSurfaceSP<T,N>::NurbsSurfaceSP(const NurbsSurfaceSP<T,N>& nS) : NurbsSurface<T,N>(nS) … in NurbsSurfaceSP() argument 155 maxU = nS.maxU ; in NurbsSurfaceSP() 156 maxV = nS.maxV ; in NurbsSurfaceSP() 157 maxAtU_ = nS.maxAtU_ ; in NurbsSurfaceSP() 158 maxAtV_ = nS.maxAtV_ ; in NurbsSurfaceSP()
|
/dports/science/pynn/PyNN-0.10.0/pyNN/neuron/nmodl/ |
H A D | gsfa_grr.mod | 22 (nS) = (nanosiemens) 27 q_r = 3214.0 (nS) : relative refractory quantal conductance 28 q_s = 14.48 (nS) : SFA quantal conductance 42 g_s (nS) 43 g_r (nS)
|
/dports/science/afni/afni-AFNI_21.3.16/src/R_scripts/ |
H A D | 3dISC.R | 775 tt <- cc[1]*sqrt(nS-1)/(cc[2]*sqrt(2*nS-1)) # new t-value 781 tt <- (vv*sqrt(nS-1))/(se*sqrt(2*nS-1)) 818 tt <- (vv*sqrt(nS-1))/(se*sqrt(2*nS-1)) 911 NN <- nS*(nS-1) 916 cat(nS, 'subjects in total:', Sa, '\n') 924 for(ii in 1:(nS-1)) 925 for(jj in (ii+1):nS) { 1124 DM=lop$dataStr, gltM=lop$gltM, intercept=intercept, nF=nF, nS=nS, tag=0), c(2,1)) 1136 DM=lop$dataStr, gltM=lop$gltM, intercept=intercept, nF=nF, nS=nS, tag=0), c(2,1)) 1150 DM=lop$dataStr, gltM=lop$gltM, intercept=intercept, nF=nF, nS=nS, tag=0), c(2,3,1)) [all …]
|
/dports/science/nest/nest-simulator-3.1/examples/nest/Brette_et_al_2007/ |
H A D | hh_coba.sli | 60 /g_Na 20000.0 nS % Sodium conductance [nS] 61 /g_K 6000.0 nS % K Conductance [nS] 62 /g_L 10.0 nS % Leak Conductance [nS] 78 /weight 6.0 nS % excitatory synaptic conductance 83 /weight -67.0 nS % inhibitory synaptic conductance
|
/dports/cad/ghdl/ghdl-1.0.0/testsuite/gna/issue332/ |
H A D | irqc_tb.vhd | 98 wait for 205 nS; 104 wait for 20 nS; 106 wait for 20 nS; 108 wait for 20 nS; 123 wait for 200 nS; 127 wait for 200 nS;
|
/dports/sysutils/frand/frand-0.1/lib/StreamSampler/ |
H A D | StreamSampler.h | 580 if (nS < this->m_nSetSize) in DrawNext() 581 for (uint64_t i = 1; i <= nS; ++i) in DrawNext() 587 this->m_vnSkip[nSS]+= nS; in DrawNext() 623 uint64_t& nS = this->m_vnSkip[nSS]; in DrawNext() local 633 ++nS; in DrawNext() 634 fHs *= static_cast<double>(nTerm+nS) / (this->m_nElements + 1 + nS); in DrawNext() 657 uint64_t nNumer = (this->m_nSetSize < nS) ? nTerm+nS : this->m_nElements + 1; in DrawNext() 700 uint64_t& nS = this->m_vnSkip[nSS]; in DrawNext() local 710 ++nS; in DrawNext() 711 fHs *= static_cast<double>(nTerm + nS) / (this->m_nElements + 1 + nS); in DrawNext() [all …]
|