Home
last modified time | relevance | path

Searched refs:tmpVec (Results 1 – 25 of 117) sorted by relevance

12345

/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/queso/src/basic/src/
H A DScalarFunctionSynchronizer.C162 V tmpVec(m_auxVec); in callFunction()
164 tmpVec[i] = bufferDouble[i]; in callFunction()
166 internalValues = new V(tmpVec); in callFunction()
188 V tmpVec(m_auxVec); in callFunction()
190 tmpVec[i] = bufferDouble[i]; in callFunction()
192 internalDirection = new V(tmpVec); in callFunction()
360 V tmpVec(m_auxVec); in callFunction()
362 tmpVec[i] = bufferDouble[i]; in callFunction()
364 internalValues = new V(tmpVec); in callFunction()
386 V tmpVec(m_auxVec); in callFunction()
[all …]
H A DVectorSpace.C210 V tmpVec(*m_zeroVector); in newProposalMatrix()
223 tmpVec[i] = std::pow( fabs((*auxVec)[i])*0.05,2. ); in newProposalMatrix()
224 if ((tmpVec[i] == 0. ) || in newProposalMatrix()
225 (tmpVec[i] == INFINITY) || in newProposalMatrix()
226 (tmpVec[i] == NAN )) { in newProposalMatrix()
227 tmpVec[i] = 1.; in newProposalMatrix()
231 tmpVec[i] = 1.; in newProposalMatrix()
235 tmpVec[i] = 1.; in newProposalMatrix()
238 tmpVec[i] = variance; in newProposalMatrix()
242 return newDiagMatrix(tmpVec); in newProposalMatrix()
/dports/cad/opencascade/opencascade-7.6.0/src/Vrml/
H A DVrml_Texture2Transform.cxx20 gp_Vec2d tmpVec(0,0); in Vrml_Texture2Transform() local
21 myTranslation = tmpVec; in Vrml_Texture2Transform()
22 myCenter = tmpVec; in Vrml_Texture2Transform()
26 tmpVec.SetCoord(1,1); in Vrml_Texture2Transform()
27 myScaleFactor = tmpVec; in Vrml_Texture2Transform()
H A DVrml_WWWInline.cxx22 gp_Vec tmpVec(0,0,0); in Vrml_WWWInline() local
23 myBboxSize = tmpVec; in Vrml_WWWInline()
24 myBboxCenter = tmpVec; in Vrml_WWWInline()
H A DVrml_TextureCoordinate2.cxx22 gp_Vec2d tmpVec(0,0); in IMPLEMENT_STANDARD_RTTIEXT() local
23 myPoint = new TColgp_HArray1OfVec2d(1,1,tmpVec); in IMPLEMENT_STANDARD_RTTIEXT()
H A DVrml_LOD.cxx24 gp_Vec tmpVec(0,0,0); in IMPLEMENT_STANDARD_RTTIEXT() local
25 myCenter = tmpVec; in IMPLEMENT_STANDARD_RTTIEXT()
H A DVrml_PerspectiveCamera.cxx24 gp_Vec tmpVec(0,0,1); in Vrml_PerspectiveCamera() local
25 myPosition = tmpVec; in Vrml_PerspectiveCamera()
H A DVrml_OrthographicCamera.cxx24 gp_Vec tmpVec(0,0,1); in Vrml_OrthographicCamera() local
25 myPosition = tmpVec; in Vrml_OrthographicCamera()
/dports/science/PETSc/petsc-3.14.1/src/dm/impls/plex/tests/
H A Dex26.c367 Vec tmpVec; in main() local
378 ierr = DMGetGlobalVector(dmUA, &tmpVec);CHKERRQ(ierr); in main()
379 ierr = VecCopy(UA, tmpVec);CHKERRQ(ierr); in main()
383 ierr = VecSet(tmpVec, -1000.0);CHKERRQ(ierr); in main()
385 ierr = VecAXPY(UA, -1.0, tmpVec);CHKERRQ(ierr); in main()
392 ierr = VecCopy(UA2, tmpVec);CHKERRQ(ierr); in main()
396 ierr = VecSet(tmpVec, -1000.0);CHKERRQ(ierr); in main()
398 ierr = VecAXPY(UA2, -1.0, tmpVec);CHKERRQ(ierr); in main()
444 ierr = DMGetGlobalVector(dmS, &tmpVec);CHKERRQ(ierr); in main()
445 ierr = VecSet(tmpVec, -1000.0);CHKERRQ(ierr); in main()
[all …]
/dports/science/teem/teem-1.11.0-src/src/gage/
H A Dsclanswer.c49 double tmpMat[9], tmpVec[3], hevec[9], heval[3]; in _gageSclAnswer() local
221 ELL_3MV_MUL(tmpVec, hess, norm); in _gageSclAnswer()
237 ELL_3MV_MUL(tmpVec, gten, norm); in _gageSclAnswer()
238 len = ELL_3V_LEN(tmpVec); in _gageSclAnswer()
241 ELL_3MV_MUL(tmpVec, gten, gp1); in _gageSclAnswer()
242 len = ELL_3V_LEN(tmpVec); in _gageSclAnswer()
245 ELL_3MV_MUL(tmpVec, gten, gp2); in _gageSclAnswer()
246 len = ELL_3V_LEN(tmpVec); in _gageSclAnswer()
304 ell_3m_1d_nullspace_d(tmpVec, tmpMat); in _gageSclAnswer()
305 ELL_3V_COPY(pvl->directAnswer[gageSclCurvDir1], tmpVec); in _gageSclAnswer()
[all …]
H A DvecGage.c289 tmpVec[0] = hesAns[21] - hesAns[15]; in _gageVecAnswer()
290 tmpVec[1] = hesAns[ 6] - hesAns[18]; in _gageVecAnswer()
291 tmpVec[2] = hesAns[ 9] - hesAns[ 3]; in _gageVecAnswer()
293 norm*ELL_3V_DOT(tmpVec, curlAns); in _gageVecAnswer()
295 tmpVec[0] = hesAns[22] - hesAns[16]; in _gageVecAnswer()
296 tmpVec[1] = hesAns[ 7] - hesAns[19]; in _gageVecAnswer()
297 tmpVec[2] = hesAns[10] - hesAns[ 4]; in _gageVecAnswer()
299 norm*ELL_3V_DOT(tmpVec, curlAns); in _gageVecAnswer()
301 tmpVec[0] = hesAns[23] - hesAns[17]; in _gageVecAnswer()
302 tmpVec[1] = hesAns[ 8] - hesAns[20]; in _gageVecAnswer()
[all …]
/dports/textproc/libabw/libabw-0.1.3/src/lib/
H A DABWCollector.cpp38 std::vector<std::string> tmpVec; in parsePropString() local
39 boost::algorithm::split(tmpVec, i, boost::is_any_of(":"), boost::token_compress_on); in parsePropString()
40 if (tmpVec.size() == 2) in parsePropString()
41 props[tmpVec[0]] = tmpVec[1]; in parsePropString()
/dports/science/ergo/ergo-3.8/source/test/
H A Dcsr_matrix_test.cc85 std::vector<int> tmpVec; in main() local
86 get_identical_rand_numbers(n, nnz_per_row, tmpVec); in main()
87 assert(tmpVec.size() == (size_t)nnz_per_row); in main()
90 colind[count] = tmpVec[i]; in main()
/dports/java/bouncycastle15/crypto-169/core/src/main/java/org/bouncycastle/pqc/crypto/rainbow/
H A DRainbowSigner.java82 short[] tmpVec = new short[msg.length]; in initSign() local
84 tmpVec = cf.addVect(((RainbowPrivateKeyParameters)this.key).getB1(), msg); in initSign()
87 short[] Y_ = cf.multiplyMatrix(((RainbowPrivateKeyParameters)this.key).getInvA1(), tmpVec); in initSign()
123 short[] tmpVec; in generateSignature() local
175 tmpVec = cf.addVect(((RainbowPrivateKeyParameters)this.key).getB2(), x); in generateSignature()
176 … signature = cf.multiplyMatrix(((RainbowPrivateKeyParameters)this.key).getInvA2(), tmpVec); in generateSignature()
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/queso/src/misc/src/
H A DArrayOfOneDTables.C95 const std::vector<double>& tmpVec = *(tmp->m_oneDTables(i,0)); in print() local
96 os << m_prefix << i << "_values_sub" << m_env.subIdString() << " = zeros(" << tmpVec.size() in print()
101 for (unsigned int j = 0; j < tmpVec.size(); ++j) { in print()
102 os << tmpVec[j] << " "; in print()
/dports/games/armagetronad/armagetronad-0.2.8.3.5/src/tron/
H A DgParticles.cpp81 glCoord tmpVec; in GiveBirth() local
94 tmpVec = svector; in GiveBirth()
103 newParticle.vec = tmpVec; in GiveBirth()
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/queso/src/core/src/
H A DBoostInputOptionsParser.C129 std::vector<double> tmpVec(0, 0.0); in getOption()
132 MiscReadDoublesFromString(optionValue, tmpVec); in getOption()
134 for (unsigned int i = 0; i < tmpVec.size(); i++) { in getOption()
135 value.insert((unsigned int) tmpVec[i]); // Why cast?! in getOption()
/dports/math/ensmallen/ensmallen-2.17.0/include/ensmallen_bits/fw/
H A Datoms.hpp52 arma::vec tmpVec(1); in AddAtom() local
53 tmpVec(0) = tmp; in AddAtom()
54 atomSqTerm.insert_rows(0, tmpVec); in AddAtom()
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/queso/src/stats/src/
H A DJointPdf.C133 V tmpVec(m_domainSet.vectorSpace().zeroVector()); in commonComputeLogOfNormalizationFactor()
136 tmpVec.cwSetUniform(boxSubset->minValues(),boxSubset->maxValues()); in commonComputeLogOfNormalizationFactor()
137 sum += this->actualValue(tmpVec,NULL,NULL,NULL,NULL); in commonComputeLogOfNormalizationFactor()
/dports/graphics/dynamechs/dynamechs_4.0pre1/dm/
H A DdmMDHLink.cpp949 SpatialVector tmpVec; in xformZetak() local
950 tmpVec[0] = m_zeta[0]; in xformZetak()
951 tmpVec[1] = m_zeta[1]; in xformZetak()
952 tmpVec[2] = m_zeta[2]; in xformZetak()
953 tmpVec[3] = m_zeta[3]; in xformZetak()
954 tmpVec[4] = m_zeta[4]; in xformZetak()
955 tmpVec[5] = m_zeta[5]; in xformZetak()
957 tmpVec[m_joint_axis_index] += tmp; in xformZetak()
961 zetak[i] -= Xik[j][i]*tmpVec[j]; in xformZetak()
H A DdmQuaternionLink.cpp757 SpatialVector tmpVec; in xformZetak() local
758 tmpVec[0] = m_zeta[0] + tmp1[0]; in xformZetak()
759 tmpVec[1] = m_zeta[1] + tmp1[1]; in xformZetak()
760 tmpVec[2] = m_zeta[2] + tmp1[2]; in xformZetak()
761 tmpVec[3] = m_zeta[3]; in xformZetak()
762 tmpVec[4] = m_zeta[4]; in xformZetak()
763 tmpVec[5] = m_zeta[5]; in xformZetak()
767 zetak[i] -= Xik[j][i]*tmpVec[j]; in xformZetak()
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/queso/test/test_SequenceOfVectors/
H A Dtest_unifiedPositionsOfMaximum.C65 QUESO::GslVector tmpVec(paramSpace.zeroVector()); in main()
69 maxs.getPositionValues(0, tmpVec); in main()
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/interfaces/json-rpc/
H A DPlaylistOperations.cpp207 auto tmpVec = new std::vector<int>(); in Swap() local
208 tmpVec->push_back(static_cast<int>(parameterObject["position1"].asInteger())); in Swap()
209 tmpVec->push_back(static_cast<int>(parameterObject["position2"].asInteger())); in Swap()
210 …ssenger::GetInstance().PostMsg(TMSG_PLAYLISTPLAYER_SWAP, playlist, -1, static_cast<void*>(tmpVec)); in Swap()
/dports/math/apache-commons-math/commons-math3-3.6.1-src/src/main/java/org/apache/commons/math3/optimization/general/
H A DLevenbergMarquardtOptimizer.java395 double[] tmpVec = weightedResidual; in doOptimize() local
397 oldRes = tmpVec; in doOptimize()
398 tmpVec = currentObjective; in doOptimize()
400 oldObj = tmpVec; in doOptimize()
495 tmpVec = weightedResidual; in doOptimize()
497 oldRes = tmpVec; in doOptimize()
498 tmpVec = currentObjective; in doOptimize()
500 oldObj = tmpVec; in doOptimize()
/dports/math/apache-commons-math/commons-math3-3.6.1-src/src/main/java/org/apache/commons/math3/optim/nonlinear/vector/jacobian/
H A DLevenbergMarquardtOptimizer.java406 double[] tmpVec = weightedResidual; in doOptimize() local
408 oldRes = tmpVec; in doOptimize()
409 tmpVec = currentObjective; in doOptimize()
411 oldObj = tmpVec; in doOptimize()
504 tmpVec = weightedResidual; in doOptimize()
506 oldRes = tmpVec; in doOptimize()
507 tmpVec = currentObjective; in doOptimize()
509 oldObj = tmpVec; in doOptimize()

12345