Home
last modified time | relevance | path

Searched refs:nV (Results 1 – 25 of 1331) sorted by relevance

12345678910>>...54

/dports/math/qposases/qpOASES-3.2.1/src/
H A DOQPinterface.cpp63 nV = dims[1]; in readOqpDimensions()
104 *H = new real_t[nV*nV]; in readOqpData()
304 real_t* H_cpy = new real_t[nV*nV]; in solveOqpBenchmark()
305 memcpy( H_cpy,_H, ((uint_t)(nV*nV))*sizeof(real_t) ); in solveOqpBenchmark()
312 H = Hs = new SymSparseMat(nV, nV, nV, H_cpy); in solveOqpBenchmark()
313 A = new SparseMatrixRow(nC, nV, nV, A_cpy); in solveOqpBenchmark()
319 H = new SymDenseMat(nV, nV, nV, const_cast<real_t *>(H_cpy)); in solveOqpBenchmark()
474 real_t* H_cpy = new real_t[nV*nV]; in solveOqpBenchmark()
475 memcpy( H_cpy,_H, ((uint_t)(nV*nV))*sizeof(real_t) ); in solveOqpBenchmark()
480 H = Hs = new SymSparseMat(nV, nV, nV, H_cpy); in solveOqpBenchmark()
[all …]
H A DFlipper.cpp122 nV = _nV; in init()
147 memcpy( _R,R, nV*nV*sizeof(real_t) ); in get()
150 memcpy( _Q,Q, nV*nV*sizeof(real_t) ); in get()
178 R = new real_t[nV*nV]; in set()
180 memcpy( R,_R, nV*nV*sizeof(real_t) ); in set()
186 Q = new real_t[nV*nV]; in set()
188 memcpy( Q,_Q, nV*nV*sizeof(real_t) ); in set()
247 if ( nV > nC ) in getDimT()
250 return nV*nV; in getDimT()
H A DQProblemB.cpp215 if ( nV == 0 ) in reset()
223 for( i=0; i<nV*nV; ++i ) in reset()
264 if ( nV == 0 ) in init()
313 if ( nV == 0 ) in init()
362 if ( nV == 0 ) in init()
749 H->times(1, 1.0, _x, nV, 0.0, Hx, nV); in getObjVal()
1373 for( i=0; i<nV*nV; ++i ) in computeCholesky()
1818 real_t* _H = new real_t[nV * nV]; in setupQPdataFromFile()
1819 returnvalue = readFromFile( _H, nV,nV, H_file ); in setupQPdataFromFile()
2899 H->times(1, -1.0, x, nV, 1.0, g, nV); in setupAuxiliaryQPgradient()
[all …]
/dports/math/casadi/casadi-3.5.5/external_packages/qpOASES/src/
H A DOQPinterface.cpp63 nV = dims[1]; in readOqpDimensions()
104 *H = new real_t[nV*nV]; in readOqpData()
304 real_t* H_cpy = new real_t[nV*nV]; in solveOqpBenchmark()
305 memcpy( H_cpy,_H, ((uint_t)(nV*nV))*sizeof(real_t) ); in solveOqpBenchmark()
312 H = Hs = new SymSparseMat(nV, nV, nV, H_cpy); in solveOqpBenchmark()
313 A = new SparseMatrixRow(nC, nV, nV, A_cpy); in solveOqpBenchmark()
319 H = new SymDenseMat(nV, nV, nV, const_cast<real_t *>(H_cpy)); in solveOqpBenchmark()
474 real_t* H_cpy = new real_t[nV*nV]; in solveOqpBenchmark()
475 memcpy( H_cpy,_H, ((uint_t)(nV*nV))*sizeof(real_t) ); in solveOqpBenchmark()
480 H = Hs = new SymSparseMat(nV, nV, nV, H_cpy); in solveOqpBenchmark()
[all …]
H A DFlipper.cpp122 nV = _nV; in init()
147 memcpy( _R,R, nV*nV*sizeof(real_t) ); in get()
150 memcpy( _Q,Q, nV*nV*sizeof(real_t) ); in get()
178 R = new real_t[nV*nV]; in set()
180 memcpy( R,_R, nV*nV*sizeof(real_t) ); in set()
186 Q = new real_t[nV*nV]; in set()
188 memcpy( Q,_Q, nV*nV*sizeof(real_t) ); in set()
247 if ( nV > nC ) in getDimT()
250 return nV*nV; in getDimT()
H A DQProblemB.cpp209 if ( nV == 0 ) in reset()
217 for( i=0; i<nV*nV; ++i ) in reset()
258 if ( nV == 0 ) in init()
307 if ( nV == 0 ) in init()
356 if ( nV == 0 ) in init()
743 H->times(1, 1.0, _x, nV, 0.0, Hx, nV); in getObjVal()
1367 for( i=0; i<nV*nV; ++i ) in computeCholesky()
1812 real_t* _H = new real_t[nV * nV]; in setupQPdataFromFile()
1813 returnvalue = readFromFile( _H, nV,nV, H_file ); in setupQPdataFromFile()
2893 H->times(1, -1.0, x, nV, 1.0, g, nV); in setupAuxiliaryQPgradient()
[all …]
/dports/math/qposases/qpOASES-3.2.1/testing/cpp/
H A Dtest_constraintProduct1.cpp67 nV = _nV; in MpcConstraintProduct()
77 nV = rhs.nV; in MpcConstraintProduct()
92 nV = rhs.nV; in operator =()
108 maxI = getMin( maxI,nV ); in operator ()()
134 int_t nQP, nV, nC, nEC; in main() local
161 QProblem qp( nV,nC ); in main()
163 qp.init( H,&(g[k*nV]),A,&(lb[k*nV]),&(ub[k*nV]),&(lbA[k*nC]),&(ubA[k*nC]),nWSR,&cputime ); in main()
172 QProblem qpCP( nV,nC ); in main()
175 qpCP.init( H,&(g[k*nV]),A,&(lb[k*nV]),&(ub[k*nV]),&(lbA[k*nC]),&(ubA[k*nC]),nWSR,&cputime ); in main()
188 for( int ii=0; ii<nV; ++ii ) in main()
[all …]
H A Dtest_constraintProduct2.cpp67 nV = _nV; in MpcConstraintProduct()
77 nV = rhs.nV; in MpcConstraintProduct()
92 nV = rhs.nV; in operator =()
108 maxI = getMin( maxI,nV ); in operator ()()
131 int_t nQP, nV, nC, nEC; in main() local
147 readOqpData( path, nQP,nV,nC,nEC, in main()
158 QProblem qp( nV,nC ); in main()
160 qp.init( H,&(g[k*nV]),A,&(lb[k*nV]),&(ub[k*nV]),&(lbA[k*nC]),&(ubA[k*nC]),nWSR,&cputime ); in main()
169 QProblem qpCP( nV,nC ); in main()
172 qpCP.init( H,&(g[k*nV]),A,&(lb[k*nV]),&(ub[k*nV]),&(lbA[k*nC]),&(ubA[k*nC]),nWSR,&cputime ); in main()
[all …]
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/Source/
H A DMA_MIPSIV_Templates.cpp10 m_codeGen->PushRel(offsetof(CMIPS, m_State.nGPR[m_nRS].nV[0])); in Template_Add32()
11 m_codeGen->PushRel(offsetof(CMIPS, m_State.nGPR[m_nRT].nV[0])); in Template_Add32()
19 m_codeGen->PullRel(offsetof(CMIPS, m_State.nGPR[m_nRD].nV[1])); in Template_Add32()
22 m_codeGen->PullRel(offsetof(CMIPS, m_State.nGPR[m_nRD].nV[0])); in Template_Add32()
31 m_codeGen->PushRel64(offsetof(CMIPS, m_State.nGPR[m_nRS].nV[0])); in Template_Add64()
32 m_codeGen->PushRel64(offsetof(CMIPS, m_State.nGPR[m_nRT].nV[0])); in Template_Add64()
34 m_codeGen->PullRel64(offsetof(CMIPS, m_State.nGPR[m_nRD].nV[0])); in Template_Add64()
41 m_codeGen->PushRel(offsetof(CMIPS, m_State.nGPR[m_nRS].nV[0])); in Template_Sub32()
42 m_codeGen->PushRel(offsetof(CMIPS, m_State.nGPR[m_nRT].nV[0])); in Template_Sub32()
50 m_codeGen->PullRel(offsetof(CMIPS, m_State.nGPR[m_nRD].nV[1])); in Template_Sub32()
[all …]
H A DMA_MIPSIV.cpp277 m_codeGen->PullRel(offsetof(CMIPS, m_State.nGPR[31].nV[0])); in JAL()
313 m_codeGen->PushRel(offsetof(CMIPS, m_State.nGPR[m_nRS].nV[0])); in ADDI()
322 m_codeGen->PullRel(offsetof(CMIPS, m_State.nGPR[m_nRT].nV[0])); in ADDI()
371 m_codeGen->PushRel(offsetof(CMIPS, m_State.nGPR[m_nRS].nV[0])); in ANDI()
375 m_codeGen->PullRel(offsetof(CMIPS, m_State.nGPR[m_nRT].nV[0])); in ANDI()
390 m_codeGen->PushRel(offsetof(CMIPS, m_State.nGPR[m_nRS].nV[0])); in ORI()
393 m_codeGen->PullRel(offsetof(CMIPS, m_State.nGPR[m_nRT].nV[0])); in ORI()
409 m_codeGen->PushRel(offsetof(CMIPS, m_State.nGPR[m_nRS].nV[0])); in XORI()
412 m_codeGen->PullRel(offsetof(CMIPS, m_State.nGPR[m_nRT].nV[0])); in XORI()
415 m_codeGen->PushRel(offsetof(CMIPS, m_State.nGPR[m_nRS].nV[1])); in XORI()
[all …]
/dports/math/qposases/qpOASES-3.2.1/interfaces/matlab/
H A DqpOASES_sequence.cpp87 Bounds bounds(nV); in QProblemB_init()
155 Bounds bounds(nV); in SQProblem_init()
239 nOutputs,plhs,nV,0 ); in QProblemB_hotstart()
488 nWSRin = 5*nV; in mexFunction()
573 nWSRin = 5*(nV+nC); in mexFunction()
614 R = new real_t[nV*nV]; in mexFunction()
615 convertFortranToC( R_for, nV,nV, R ); in mexFunction()
736 nWSRin = 5*nV; in mexFunction()
772 nWSRin = 5*(nV+nC); in mexFunction()
927 nWSRin = 5*(nV+nC); in mexFunction()
[all …]
H A DqpOASES.cpp87 Bounds bounds(nV); in QProblem_qpOASES()
149 g_current = &(g[k*nV]); in QProblem_qpOASES()
151 lb_current = &(lb[k*nV]); in QProblem_qpOASES()
166 nOutputs,plhs,nV,nC ); in QProblem_qpOASES()
200 Bounds bounds(nV); in QProblemB_qpOASES()
241 g_current = &(g[k*nV]); in QProblemB_qpOASES()
254 nOutputs,plhs,nV ); in QProblemB_qpOASES()
290 uint_t nV=0, nC=0, nP=0; in mexFunction() local
528 R = new real_t[nV*nV]; in mexFunction()
529 convertFortranToC( R_for, nV,nV, R ); in mexFunction()
[all …]
H A DqpOASES_matlab_utils.cpp403 for ( j=0; j<nV; ++j ) in convertFortranToC()
796 if ( nV > 0 ) in obtainOutputs()
860 *Hir = new sparse_int_t[mat_jc[nV] + nV]; in setupHessianMatrix()
862 *Hv = new real_t[mat_jc[nV] + nV]; in setupHessianMatrix()
888 (*Hjc)[nV] = (sparse_int_t)(mat_jc[nV]) + nfill; in setupHessianMatrix()
891 *H = sH = new SymSparseMat(nV, nV, *Hir, *Hjc, *Hv); in setupHessianMatrix()
898 real_t* H_mem = new real_t[nV*nV]; in setupHessianMatrix()
899 memcpy( H_mem,H_for, nV*nV*sizeof(real_t) ); in setupHessianMatrix()
901 *H = new SymDenseMat( nV,nV,nV, H_mem ); in setupHessianMatrix()
933 for (i = 0; i < nV + 1; i++) in setupConstraintMatrix()
[all …]
/dports/math/qposases/qpOASES-3.2.1/interfaces/octave/
H A DqpOASES_sequence.cpp87 Bounds bounds(nV); in QProblemB_init()
155 Bounds bounds(nV); in SQProblem_init()
239 nOutputs,plhs,nV,0 ); in QProblemB_hotstart()
483 nWSRin = 5*nV; in mexFunction()
568 nWSRin = 5*(nV+nC); in mexFunction()
609 R = new real_t[nV*nV]; in mexFunction()
610 convertFortranToC( R_for, nV,nV, R ); in mexFunction()
725 nWSRin = 5*nV; in mexFunction()
761 nWSRin = 5*(nV+nC); in mexFunction()
916 nWSRin = 5*(nV+nC); in mexFunction()
[all …]
H A DqpOASES.cpp76 Bounds bounds(nV); in QProblem_qpOASES()
138 g_current = &(g[k*nV]); in QProblem_qpOASES()
140 lb_current = &(lb[k*nV]); in QProblem_qpOASES()
155 nOutputs,plhs,nV,nC ); in QProblem_qpOASES()
188 Bounds bounds(nV); in QProblemB_qpOASES()
229 g_current = &(g[k*nV]); in QProblemB_qpOASES()
242 nOutputs,plhs,nV ); in QProblemB_qpOASES()
278 uint_t nV=0, nC=0, nP=0; in mexFunction() local
511 R = new real_t[nV*nV]; in mexFunction()
512 convertFortranToC( R_for, nV,nV, R ); in mexFunction()
[all …]
H A DqpOASES_octave_utils.cpp393 for ( j=0; j<nV; ++j )
786 if ( nV > 0 )
850 *Hir = new sparse_int_t[mat_jc[nV] + nV];
852 *Hv = new real_t[mat_jc[nV] + nV];
878 (*Hjc)[nV] = (sparse_int_t)(mat_jc[nV]) + nfill;
881 *H = sH = new SymSparseMat(nV, nV, *Hir, *Hjc, *Hv);
888 real_t* H_mem = new real_t[nV*nV];
889 memcpy( H_mem,H_for, nV*nV*sizeof(real_t) );
891 *H = new SymDenseMat( nV,nV,nV, H_mem );
923 for (i = 0; i < nV + 1; i++)
[all …]
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/Source/ee/
H A DMA_EE.cpp1313 offset[0] = offsetof(CMIPS, m_State.nGPR[m_nRT].nV[2]); in PEXEW()
1314 offset[1] = offsetof(CMIPS, m_State.nGPR[m_nRT].nV[1]); in PEXEW()
1316 offset[3] = offsetof(CMIPS, m_State.nGPR[m_nRT].nV[3]); in PEXEW()
1323 offset[0] = offsetof(CMIPS, m_State.nGPR[m_nRT].nV[2]); in PEXEW()
1324 offset[1] = offsetof(CMIPS, m_State.nGPR[m_nRT].nV[1]); in PEXEW()
1325 offset[2] = offsetof(CMIPS, m_State.nGPR[m_nRT].nV[0]); in PEXEW()
1326 offset[3] = offsetof(CMIPS, m_State.nGPR[m_nRT].nV[3]); in PEXEW()
1345 offset[0] = offsetof(CMIPS, m_State.nGPR[m_nRT].nV[1]); in PROT3W()
1346 offset[1] = offsetof(CMIPS, m_State.nGPR[m_nRT].nV[2]); in PROT3W()
1348 offset[3] = offsetof(CMIPS, m_State.nGPR[m_nRT].nV[3]); in PROT3W()
[all …]
H A DPS2OS.cpp1177 hi.nV[0] = m_ee.m_State.nHI[0]; in ThreadSaveContext()
1178 hi.nV[1] = m_ee.m_State.nHI[1]; in ThreadSaveContext()
1179 hi.nV[2] = m_ee.m_State.nHI1[0]; in ThreadSaveContext()
1180 hi.nV[3] = m_ee.m_State.nHI1[1]; in ThreadSaveContext()
1181 lo.nV[0] = m_ee.m_State.nLO[0]; in ThreadSaveContext()
1182 lo.nV[1] = m_ee.m_State.nLO[1]; in ThreadSaveContext()
1183 lo.nV[2] = m_ee.m_State.nLO1[0]; in ThreadSaveContext()
1210 m_ee.m_State.nHI[0] = hi.nV[0]; in ThreadLoadContext()
1211 m_ee.m_State.nHI[1] = hi.nV[1]; in ThreadLoadContext()
1214 m_ee.m_State.nLO[0] = lo.nV[0]; in ThreadLoadContext()
[all …]
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/tools/PsfPlayer/Source/psp/
H A DMA_ALLEGREX.cpp53 m_codeGen->PushRel(offsetof(CMIPS, m_State.nGPR[m_nRS].nV[0])); in MAX()
54 m_codeGen->PushRel(offsetof(CMIPS, m_State.nGPR[m_nRT].nV[0])); in MAX()
58 m_codeGen->PushRel(offsetof(CMIPS, m_State.nGPR[m_nRT].nV[0])); in MAX()
59 m_codeGen->PullRel(offsetof(CMIPS, m_State.nGPR[m_nRD].nV[0])); in MAX()
63 m_codeGen->PushRel(offsetof(CMIPS, m_State.nGPR[m_nRS].nV[0])); in MAX()
64 m_codeGen->PullRel(offsetof(CMIPS, m_State.nGPR[m_nRD].nV[0])); in MAX()
72 m_codeGen->PushRel(offsetof(CMIPS, m_State.nGPR[m_nRS].nV[0])); in MIN()
73 m_codeGen->PushRel(offsetof(CMIPS, m_State.nGPR[m_nRT].nV[0])); in MIN()
77 m_codeGen->PushRel(offsetof(CMIPS, m_State.nGPR[m_nRS].nV[0])); in MIN()
103 m_codeGen->PushRel(offsetof(CMIPS, m_State.nGPR[m_nRS].nV[0])); in EXT()
[all …]
/dports/cad/opencascade/opencascade-7.6.0/src/BOPAlgo/
H A DBOPAlgo_PaveFiller_4.cxx61 myIV=nV; in SetIndices()
67 nV=myIV; in Indices()
203 nVx=nV; in PerformVF()
212 pMV->Add(nV); in PerformVF()
217 pMV->Add(nV); in PerformVF()
272 nV = itMV.Value(); in PerformVF()
320 nV=aEE.IndexNew(); in TreatVerticesEE()
321 if (aMI.Add(nV)) { in TreatVerticesEE()
322 aLIV.Append(nV); in TreatVerticesEE()
353 aIt.Value(nV, nF); in TreatVerticesEE()
[all …]
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/deps/CodeGen/tests/
H A DMdCallTest.cpp25 result += value.nV[i]; in MdInputFunction()
42 result.nV[i] = (1 << i); in MdOutputFunction()
94 context.value0.nV[0] = 8; in Run()
95 context.value0.nV[1] = 4; in Run()
96 context.value0.nV[2] = 2; in Run()
97 context.value0.nV[3] = 1; in Run()
99 context.value1.nV[0] = 16; in Run()
100 context.value1.nV[1] = 8; in Run()
101 context.value1.nV[2] = 4; in Run()
102 context.value1.nV[3] = 2; in Run()
[all …]
/dports/math/vtk8/VTK-8.2.0/Examples/VisualizationAlgorithms/Cxx/
H A DTubesWithVaryingRadiusAndColors.cxx35 unsigned int nV = 256; // No. of vertices in main() local
46 for(i = 0; i < nV; i++) in main()
51 vZ = h * i / nV; in main()
57 lines->InsertNextCell(nV); in main()
58 for (i = 0; i < nV; i++) in main()
72 tubeRadius->SetNumberOfTuples(nV); in main()
73 for (i=0 ;i<nV ; i++) in main()
87 colors->SetNumberOfTuples(nV); in main()
88 for (i = 0; i < nV ;i++) in main()
91 int(255 * i/ (nV - 1)), in main()
[all …]
/dports/math/vtk6/VTK-6.2.0/Examples/VisualizationAlgorithms/Cxx/
H A DTubesWithVaryingRadiusAndColors.cxx35 unsigned int nV = 256; // No. of vertices in main() local
46 for(i = 0; i < nV; i++) in main()
51 vZ = h * i / nV; in main()
57 lines->InsertNextCell(nV); in main()
58 for (i = 0; i < nV; i++) in main()
72 tubeRadius->SetNumberOfTuples(nV); in main()
73 for (i=0 ;i<nV ; i++) in main()
87 colors->SetNumberOfTuples(nV); in main()
88 for (i = 0; i < nV ;i++) in main()
91 int(255 * i/ (nV - 1)), in main()
[all …]
/dports/math/qposases/qpOASES-3.2.1/testing/matlab/auxFiles/
H A DgenerateRandomQp.m22 qpData.nV = qpFeatures.nV;
27 xFeas = rand( qpFeatures.nV,1 );
30 %yOpt = zeros( qpFeatures.nV+qpFeatures.nC,1 );
37 qpData.H = 100 * rand( qpData.nV,qpData.nV ) - 50;
41 qpData.H = 100 * rand( qpData.nV,round(qpData.nV/2) ) - 50;
45 qpData.H = eye( qpData.nV );
48 qpData.H = zeros( qpData.nV,qpData.nV );
56 qpData.g = 1000 * rand( qpFeatures.nV,1 ) - 500;
61 qpData.Ain = 100 * rand( qpData.nC,qpData.nV ) - 50;
79 qpData.lb = xFeas - 3*rand( qpData.nV,1 );
[all …]
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/Source/ui_qt/DebugSupport/FrameDebugger/
H A DGifPacketView.cpp96 uint64 temp = (input.nV[0] & 0xFF); in DumpPacked()
97 temp |= (input.nV[1] & 0xFF) << 8; in DumpPacked()
98 temp |= (input.nV[2] & 0xFF) << 16; in DumpPacked()
99 temp |= (input.nV[3] & 0xFF) << 24; in DumpPacked()
112 uint64 temp = (input.nV[0] & 0x7FFF); in DumpPacked()
113 temp |= (input.nV[1] & 0x7FFF) << 16; in DumpPacked()
120 uint64 temp = (input.nV[0] & 0xFFFF); in DumpPacked()
121 temp |= (input.nV[1] & 0xFFFF) << 16; in DumpPacked()
122 temp |= (uint64)(input.nV[2] & 0x0FFFFFF0) << 28; in DumpPacked()
130 uint64 temp = (input.nV[0] & 0xFFFF); in DumpPacked()
[all …]

12345678910>>...54