Home
last modified time | relevance | path

Searched refs:_indices (Results 1 – 25 of 504) sorted by relevance

12345678910>>...21

/dports/math/linbox/linbox-1.6.3/linbox/blackbox/
H A Dpermutation.h71 { _indices.resize(n); in init()
73 _indices[i] = P[i]; in init()
103 _indices[(size_t)i] = i; in identity()
122 std::swap(_indices[(size_t)i], _indices[(size_t)j]);
132 _field(Mat._field),_indices (Mat._indices) in Permutation()
240 { for (k = 1, j = _indices[i]; i != j; ++k, j = _indices[j]) in det()
338 std::swap (_indices[i], _indices[j]); in permute()
464 for (i = n-2; i >= 0 and _indices[(size_t)i] >= _indices[(size_t)i+1]; --i); in next()
466 for (j = i+2; j < n and _indices[(size_t)i] <= _indices[(size_t)j]; ++j); in next()
467 std::swap(_indices[(size_t)i], _indices[(size_t)j-1]); in next()
[all …]
/dports/www/tikiwiki/tiki-21.2/vendor_bundled/vendor/zendframework/zendsearch/library/ZendSearch/Lucene/
H A DMultiSearcher.php33 protected $_indices; variable in ZendSearch\\Lucene\\MultiSearcher
43 $this->_indices = $indices;
45 foreach ($this->_indices as $index) {
59 $this->_indices[] = $index;
109 foreach ($this->_indices as $index) {
204 if (count($this->_indices) == 0) {
251 if (count($this->_indices) == 0) {
305 if (count($this->_indices) == 0) {
354 if (count($this->_indices) == 0) {
591 if (count($this->_indices) == 0) {
[all …]
/dports/math/gravity/Gravity-da941e9/include/gravity/
H A Dparam.h94 _indices = p._indices; in shallow_copy()
358 return (_indices && _indices->_ids); in is_indexed()
362 … if(_indices && ((_indices->_ids && _indices->_ids->size()>1) && _indices->_type!=matrix_)){ in is_matrix_indexed()
365 … return (_indices && ((_indices->_ids && _indices->_ids->size()>1) || _indices->_type==matrix_)); in is_matrix_indexed()
630 this->_indices = p._indices; in share_vals_ids()
735 res._indices->shallow_copy(_indices); in deep_copy()
772 _indices->shallow_copy(p._indices);
814 _indices = make_shared<indices>(*p._indices);
843 _indices = move(p._indices);
982 if (_indices && _indices->_type==matrix_) { in eval()
[all …]
/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/src/
H A Dtopology.cpp29 const IndexT* tri = &_indices[ii]; in topologyConvertTriListFlipWinding()
161 IndexT i0 = _indices[ii+0]; in topologyConvertTriStripToTriList()
162 IndexT i1 = _indices[ii+1]; in topologyConvertTriStripToTriList()
163 IndexT i2 = _indices[ii+2]; in topologyConvertTriStripToTriList()
183 IndexT i0 = _indices[0]; in topologyConvertLineStripToLineList()
187 IndexT i1 = _indices[ii]; in topologyConvertLineStripToLineList()
205 , const void* _indices in topologyConvert() argument
307 , const IndexT* _indices in calcSortKeys() argument
316 _indices += 3; in calcSortKeys()
341 , const IndexT* _indices in topologySortTriList() argument
[all …]
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/src/
H A Dtopology.cpp29 const IndexT* tri = &_indices[ii]; in topologyConvertTriListFlipWinding()
161 IndexT i0 = _indices[ii+0]; in topologyConvertTriStripToTriList()
162 IndexT i1 = _indices[ii+1]; in topologyConvertTriStripToTriList()
163 IndexT i2 = _indices[ii+2]; in topologyConvertTriStripToTriList()
183 IndexT i0 = _indices[0]; in topologyConvertLineStripToLineList()
187 IndexT i1 = _indices[ii]; in topologyConvertLineStripToLineList()
205 , const void* _indices in topologyConvert() argument
307 , const IndexT* _indices in calcSortKeys() argument
316 _indices += 3; in calcSortKeys()
341 , const IndexT* _indices in topologySortTriList() argument
[all …]
/dports/science/py-scipy/scipy-1.7.1/scipy/_lib/
H A D_disjoint_set.py91 self._indices = {}
101 return iter(self._indices)
104 return len(self._indices)
107 return x in self._indices
127 while self._indices[x] != self._indices[parents[x]]:
135 if x in self._indices:
141 self._indices[x] = len(self._indices)
163 if self._indices[xr] == self._indices[yr]:
167 if (sizes[xr], self._indices[yr]) < (sizes[yr], self._indices[xr]):
188 return self._indices[self[x]] == self._indices[self[y]]
[all …]
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/queso/test/unit/
H A Dmulti_dimensional_indexing.C59 _indices.resize(5); in setUp()
60 _indices[0] = 1; in setUp()
61 _indices[1] = 2; in setUp()
62 _indices[2] = 3; in setUp()
63 _indices[3] = 4; in setUp()
64 _indices[4] = 5; in setUp()
67 _indices[0] + in setUp()
68 _indices[1]*_n_points[0] + in setUp()
69 _indices[2]*_n_points[0]*_n_points[1] + in setUp()
90 CPPUNIT_ASSERT_EQUAL(_indices[d],indices_test[d]); in test_global_to_local()
[all …]
/dports/mail/horde-imp/imp-6.2.27/lib/
H A DIndices.php30 protected $_indices = array(); variable in IMP_Indices
129 if (empty($this->_indices)) {
136 $this->_indices[$key] = isset($this->_indices[$key])
156 $val = reset($this->_indices);
171 return $this->_indices;
270 ? $this->_indices[$offset]
278 unset($this->_indices[$offset]);
286 unset($this->_indices[$offset]);
336 return key($this->_indices);
342 next($this->_indices);
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Configuration.ConfigurationManager/src/System/Configuration/
H A DSettingsPropertyValueCollection.cs11 private Hashtable _indices = null; field in System.Configuration.SettingsPropertyValueCollection
17 _indices = new Hashtable(10, StringComparer.CurrentCultureIgnoreCase); in SettingsPropertyValueCollection()
30 _indices.Add(property.Name, pos); in Add()
44 object pos = _indices[name]; in Remove()
55 _indices.Remove(name); in Remove()
59 foreach (DictionaryEntry de in _indices) in Remove()
64 _indices[key] = ((int)_indices[key]) - 1; in Remove()
71 object pos = _indices[name];
92 return new SettingsPropertyValueCollection(_indices, _values); in Clone()
107 _indices.Clear(); in Clear()
[all …]
/dports/math/libmesh/libmesh-1.6.2/include/systems/
H A Dqoi_set.h97 QoISet() : _indices(), _weights() {} in QoISet()
112 _indices(indices), _weights() {} in QoISet()
176 std::vector<bool> _indices;
193 _indices(), _weights() in QoISet()
203 if (i >= _indices.size()) in add_index()
204 _indices.resize(i+1, true); in add_index()
205 _indices[i] = true; in add_index()
213 if (i >= _indices.size()) in remove_index()
214 _indices.resize(i+1, true); in remove_index()
215 _indices[i] = false; in remove_index()
[all …]
/dports/graphics/dilay/dilay-1.9.0/lib/src/dynamic/
H A Dfaces.cpp20 void DynamicFaces::resetCommitted () { this->_indices.clear (); } in resetCommitted()
24 if (this->_indices.empty ()) in commit()
26 this->_indices.swap (this->_uncommitted); in commit()
30 this->_indices.insert (this->_uncommitted.begin (), this->_uncommitted.end ()); in commit()
37 return this->_indices.find (i) != this->_indices.end (); in contains()
42 return this->_indices.empty () && this->_uncommitted.empty (); in isEmpty()
49 for (auto it = this->_indices.begin (); it != this->_indices.end ();) in filter()
53 it = this->_indices.erase (it); in filter()
H A Dfaces.hpp16 const Container& indices () const { return this->_indices; } in indices()
18 unsigned int numElements () const { return this->_indices.size (); } in numElements()
20 Container::iterator begin () { return this->_indices.begin (); } in begin()
21 Container::iterator end () { return this->_indices.end (); } in end()
22 Container::const_iterator begin () const { return this->_indices.begin (); } in begin()
23 Container::const_iterator end () const { return this->_indices.end (); } in end()
36 Container _indices; member in DynamicFaces
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/gles/
H A DPrimitiveIndexors24 IndexList _indices;
45 _indices.push_back(p1);
46 _indices.push_back(p2);
47 _indices.push_back(p3);
50 _indices.push_back(_remapping[p1]);
51 _indices.push_back(_remapping[p2]);
52 _indices.push_back(_remapping[p3]);
63 _indices.push_back(p1);
64 _indices.push_back(p2);
67 _indices.push_back(_remapping[p1]);
[all …]
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgPlugins/gles/
H A DPrimitiveIndexors22 IndexList _indices;
43 _indices.push_back(p1);
44 _indices.push_back(p2);
45 _indices.push_back(p3);
48 _indices.push_back(_remapping[p1]);
49 _indices.push_back(_remapping[p2]);
50 _indices.push_back(_remapping[p3]);
61 _indices.push_back(p1);
62 _indices.push_back(p2);
65 _indices.push_back(_remapping[p1]);
[all …]
/dports/math/gravity/Gravity-da941e9/src/
H A Dparam.cpp17 if(_indices->_type!=matrix_){ in delete_column()
20 for (size_t j = 0; j<_indices->_ids->size(); j++) { in delete_column()
21 if(_indices->_ids->at(j).size()<=i){ in delete_column()
24 deleted_col.add(_indices->_keys->at(_indices->_ids->at(j).at(i))); in delete_column()
28 new_row.push_back(_indices->_ids->at(j).at(k)); in delete_column()
30 _indices->_ids->at(j) = new_row; in delete_column()
38 if(_indices->_type!=matrix_){ in get_nnz_rows()
42 nnz_rows.first.resize(_indices->get_nb_rows(),false); in get_nnz_rows()
43 nnz_rows.second.resize(_indices->get_nb_rows(),false); in get_nnz_rows()
44 for (size_t i = 0; i<_indices->_ids->size(); i++) { in get_nnz_rows()
[all …]
H A Dfunc.cpp4270 f_cpy.update_var_indices(*vv->_indices, *v._indices); in replace()
4274 …if(!updated_ids && f_cpy._indices && !v.is_matrix_indexed() && vv->_indices->size() != f_cpy._indi… in replace()
4305 else if(vv->_indices->is_superset(*v._indices)){ /* vv has more indices */ in replace()
4307 diff_ids = vv->_indices->get_diff_refs(*v._indices); /* indices not in v */ in replace()
4341 f_cpy.update_var_indices(*vv->_indices, *v._indices); in replace()
4433 else if(v._indices->is_subset(*vv->_indices)){ /* vv has more indices */ in replace()
4519 f_cpy.update_var_indices(*vv->_indices, *v._indices); in replace()
4523 …if(!updated_ids && f_cpy._indices && !v.is_matrix_indexed() && vv->_indices->size() != f_cpy._indi… in replace()
4544 else if(vv->_indices->is_superset(*v._indices)){ /* vv has more indices */ in replace()
5562 if(_indices){ in keep_unique_keys()
[all …]
H A Dvar.cpp96 ids_vec[i] = *param_::_indices; in pairs_in_bags()
120 res[i]._real->_indices = res[i]._indices; in pairs_in_bags()
124 res[i]._imag->_indices = res[i]._indices; in pairs_in_bags()
128 res[i]._ang->_indices = res[i]._indices; in pairs_in_bags()
132 res[i]._mag->_indices = res[i]._indices; in pairs_in_bags()
149 ids_vec[i] = *param_::_indices; in in_bags()
215 lb.index_in(*this->_indices); in get_lb()
309 ub.index_in(*this->_indices); in get_ub()
435 key_it = _lb->_indices->_keys_map->find(key); in set_lb()
436 if(key_it== _lb->_indices->_keys_map->end()){ in set_lb()
[all …]
/dports/devel/py-javaproperties/javaproperties-0.5.2/javaproperties/
H A Dpropfile.py57 self._indices = OrderedDict()
69 for k,ix in six.iteritems(self._indices):
92 assert i in self._indices[line.key], \
98 return self._lines[self._indices[key][-1]].value
105 ixes = self._indices[key]
131 self._indices[key] = [ix]
137 for i in self._indices.pop(key):
141 return iter(self._indices)
144 return reversed(self._indices)
147 return len(self._indices)
[all …]
/dports/science/opensim-core/opensim-core-4.1/OpenSim/Simulation/SimbodyEngine/
H A DRollingOnSurfaceConstraint.cpp118 mutableThis->_indices.clear(); in extendAddToSystem()
120 mutableThis->_indices.push_back(contactY.getConstraintIndex()); in extendAddToSystem()
125 mutableThis->_numConstraintEquations = (int)_indices.size(); in extendAddToSystem()
131 assignConstraintIndex(_indices[0]); in extendAddToSystem()
141 updSystem().updMatterSubsystem().updConstraint(_indices[i]); in extendInitStateFromProperties()
187 updSystem().updMatterSubsystem().updConstraint(_indices[0]); in setContactPointForInducedAccelerations()
189 updSystem().updMatterSubsystem().updConstraint(_indices[1]); in setContactPointForInducedAccelerations()
191 updSystem().updMatterSubsystem().updConstraint(_indices[2]); in setContactPointForInducedAccelerations()
193 updSystem().updMatterSubsystem().updConstraint(_indices[3]); in setContactPointForInducedAccelerations()
301 updConstraint(_indices[0]). in isEnforced()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Web/UI/WebParts/
H A DPersonalizationStateInfoCollection.cs16 private Dictionary<Key, int> _indices; field in System.Web.UI.WebControls.WebParts.PersonalizationStateInfoCollection
29 _indices = new Dictionary<Key, int>(KeyComparer.Default); in PersonalizationStateInfoCollection()
47 if (!_indices.TryGetValue(key, out index)) {
75 if (_indices.ContainsKey(key)) { in Add()
88 _indices.Add(key, pos); in Add()
99 _indices.Clear(); in Clear()
123 if (!_indices.TryGetValue(key, out ipos)) { in Remove()
128 _indices.Remove(key); in Remove()
134 _indices.Add(key, ipos); in Remove()
140 foreach(KeyValuePair<Key,int> de in _indices) { in Remove()
[all …]
/dports/games/residualvm/residualvm-0.3.1/engines/stark/resources/
H A Dfloorface.cpp38 for (uint i = 0; i < ARRAYSIZE(_indices); i++) { in FloorFace()
39 _indices[i] = 0; in FloorFace()
135 return _indices[index]; in getVertexIndex()
172 return _indices[0] != 0 || _indices[1] != 0 || _indices[2] != 0; in hasVertices()
182 for (uint i = 0; i < ARRAYSIZE(_indices); i++) { in readData()
183 _indices[i] = stream->readSint16LE(); in readData()
188 for (uint i = 0; i < ARRAYSIZE(_indices); i++) { in readData()
199 for (uint i = 0; i < ARRAYSIZE(_indices); i++) { in onAllLoaded()
200 _vertices[i] = floor->getVertex(_indices[i]); in onAllLoaded()
205 …debug("indices: %d %d %d, distanceFromCamera %f, unk2 %f", _indices[0], _indices[1], _indices[2], … in printData()
/dports/misc/dartsim/dart-6.11.1/dart/dynamics/
H A DMetaSkeleton.cpp46 const std::vector<std::size_t>& _indices, in checkIndexArrayValidity() argument
52 if (_indices[i] >= dofs) in checkIndexArrayValidity()
78 const std::vector<std::size_t>& _indices, in checkIndexArrayAgreement() argument
100 const std::vector<std::size_t>& _indices, in setValuesFromVector() argument
170 const std::vector<std::size_t>& _indices, in getValuesFromVector() argument
173 Eigen::VectorXd values(_indices.size()); in getValuesFromVector()
374 this, _indices, "getCommands"); in getCommands()
424 this, _indices, "getPositions"); in getPositions()
563 this, _indices, "getVelocities"); in getVelocities()
702 this, _indices, "getAccelerations"); in getAccelerations()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/stark/resources/
H A Dfloorface.cpp38 for (uint i = 0; i < ARRAYSIZE(_indices); i++) { in FloorFace()
39 _indices[i] = 0; in FloorFace()
135 return _indices[index]; in getVertexIndex()
172 return _indices[0] != 0 || _indices[1] != 0 || _indices[2] != 0; in hasVertices()
192 for (uint i = 0; i < ARRAYSIZE(_indices); i++) { in readData()
193 _indices[i] = stream->readSint16LE(); in readData()
198 for (uint i = 0; i < ARRAYSIZE(_indices); i++) { in readData()
209 for (uint i = 0; i < ARRAYSIZE(_indices); i++) { in onAllLoaded()
210 _vertices[i] = floor->getVertex(_indices[i]); in onAllLoaded()
215 …debug("indices: %d %d %d, distanceFromCamera %f, unk2 %f", _indices[0], _indices[1], _indices[2], … in printData()
/dports/math/libmesh/libmesh-1.6.2/contrib/metaphysicl/src/numerics/include/metaphysicl/
H A Ddynamicsparsenumberbase.h49 _indices.resize(s); } in resize()
125 { return _indices; } in nude_indices()
131 { return _indices; } in nude_indices()
139 std::lower_bound(_indices.begin(), _indices.end(), i); in runtime_index_query()
153 std::lower_bound(_indices.begin(), _indices.end(), i); in runtime_index_of()
213 std::lower_bound(_indices.begin(), _indices.end(), i); in insert()
222 std::copy_backward(_indices.begin()+offset, _indices.begin()+old_size, _indices.end()); in insert()
283 (std::adjacent_find(_indices.begin(), _indices.end()) == in sparsity_union()
289 metaphysicl_assert(std::is_sorted(_indices.begin(), _indices.end())); in sparsity_union()
392 (std::adjacent_find(_indices.begin(), _indices.end()) == in sparsity_intersection()
[all …]
/dports/science/metaphysicl/MetaPhysicL-1.3.3/src/numerics/include/metaphysicl/
H A Ddynamicsparsenumberbase.h49 _indices.resize(s); } in resize()
125 { return _indices; } in nude_indices()
131 { return _indices; } in nude_indices()
139 std::lower_bound(_indices.begin(), _indices.end(), i); in runtime_index_query()
153 std::lower_bound(_indices.begin(), _indices.end(), i); in runtime_index_of()
213 std::lower_bound(_indices.begin(), _indices.end(), i); in insert()
222 std::copy_backward(_indices.begin()+offset, _indices.begin()+old_size, _indices.end()); in insert()
283 (std::adjacent_find(_indices.begin(), _indices.end()) == in sparsity_union()
289 metaphysicl_assert(std::is_sorted(_indices.begin(), _indices.end())); in sparsity_union()
392 (std::adjacent_find(_indices.begin(), _indices.end()) == in sparsity_intersection()
[all …]

12345678910>>...21