Home
last modified time | relevance | path

Searched refs:_shape (Results 1 – 25 of 1035) sorted by relevance

12345678910>>...42

/dports/devel/taskflow/taskflow-3.2.0/sandbox/tensorframe/
H A Dtensor.hpp69 std::vector<size_t> _shape; member in tf::Tensor
90 _chunk_shape (_shape.size()),
91 _chunk_grid (_shape.size()) {
99 _chunk_shape (_shape.size()),
108 _shape.begin(), _shape.end(), 1, std::multiplies<size_t>() in size()
124 return _shape.size(); in rank()
129 return _shape; in shape()
187 offset *= _shape[_shape.size() - (sizeof...(Is))]; in _flat_index()
199 os << _shape[i]; in dump()
226 if(M >= _shape[i]) { in _make_chunks()
[all …]
H A Dtensor_ops.hpp11 if(res._shape != lhs._shape || lhs._shape != rhs._shape) { in tensor_add()
/dports/cad/openroad/OpenROAD-2.0/src/OpenDB/src/db/
H A DdbSBox.cpp96 DIFF_FIELD(_shape._rect); in differences()
113 DIFF_OUT_FIELD(_shape._rect); in out()
141 _shape._rect.xMin(), in out()
142 _shape._rect.yMin(), in out()
143 _shape._rect.xMax(), in out()
144 _shape._rect.yMax()); in out()
179 return box->_shape._oct; in getOct()
236 new (&box->_shape._oct) Oct(); in create()
237 box->_shape._oct.init(p1, p2, width); in create()
288 block->add_rect(box->_shape._rect); in create()
[all …]
H A DdbBox.cpp87 if (isOct() && _shape._oct != _shape._oct) in operator ==()
89 else if (_shape._rect != _shape._rect) in operator ==()
144 if (isOct() && _shape._oct != _shape._oct) in equal()
146 else if (_shape._rect != _shape._rect) in equal()
212 return _shape._rect < rhs._shape._rect; in operator <()
234 DIFF_FIELD(_shape._oct); in differences()
236 DIFF_FIELD(_shape._rect); in differences()
255 DIFF_OUT_FIELD(_shape._oct); in out()
511 rect = box->_shape._rect; in getBox()
732 vbbox->_shape._rect.merge(box->_shape._rect); in create()
[all …]
H A DdbBox.h81 dbBoxShape _shape = {Rect()}; variable
138 new (&_shape._oct) Oct(); in _dbBox()
139 _shape._oct = b._shape._oct; in _dbBox()
141 new (&_shape._rect) Rect(); in _dbBox()
142 _shape._rect = b._shape._rect; in _dbBox()
156 stream << box._shape._oct;
158 stream << box._shape._rect;
171 new (&box._shape._oct) Oct();
172 stream >> box._shape._oct;
174 stream >> box._shape._rect;
/dports/editors/calligra/calligra-3.2.1/braindump/src/layouts/
H A DColumnLayout.cpp55 void ColumnLayout::shapeAdded(KoShape* _shape) in shapeAdded() argument
57 m_shapes.push_back(_shape); in shapeAdded()
60 void ColumnLayout::shapeRemoved(KoShape* _shape) in shapeRemoved() argument
62 m_shapes.removeAll(_shape); in shapeRemoved()
75 void ColumnLayout::shapeGeometryChanged(KoShape* _shape) in shapeGeometryChanged() argument
77 Q_UNUSED(_shape) in shapeGeometryChanged()
78 Q_ASSERT(m_shapes.contains(_shape)); in shapeGeometryChanged()
93 foreach(KoShape * _shape, m_shapes) { in relayout()
94 …qDebug() << _shape << _shape->absolutePosition(KoFlake::TopLeftCorner).y() << " " << _shape->posit… in relayout()
/dports/graphics/py-toyplot/toyplot-0.19.0/toyplot/
H A Dmarker.py20 self._shape = shape
29 return self._shape
56 if other._shape is not None:
57 result._shape = other._shape
71 …return self._shape == other._shape and self._mstyle == other._mstyle and self._shape == other._sha…
74 return hash((self._shape, self._mstyle, self._size, self._angle, self._label, self._lstyle))
88 " shape='%s'"% xml.sax.saxutils.escape(self._shape) if self._shape else "",
110 if self._shape in ["o", "oo", "o|", "o/", "o-", "o\\", "o+", "ox", "o*"]:
114 if self._shape in ["s"]:
119 if self._shape and self._shape[0] == "r":
[all …]
/dports/science/siconos/siconos-4.4.0/mechanics/src/occ/
H A DOccContactShape.hpp41 : _shape(createSPtrTopoDS_Shape(shape)) in OccContactShape()
48 : _shape(createSPtrTopoDS_Shape(const_cast<TopoDS_Shape&>(shape))) in OccContactShape()
55 : _shape(shape.shape()) {}; in OccContactShape()
63 SP::TopoDS_Shape shape() const { return this->_shape;}; in shape()
67 TopoDS_Shape& data() const { return *this->_shape;}; in data()
73 this->_shape = shape; in setShape()
81 this->_shape = createSPtrTopoDS_Shape(data); in setData()
141 SP::TopoDS_Shape _shape; member
/dports/math/cgal/CGAL-5.3/include/CGAL/Scale_space_reconstruction_3/
H A DAlpha_shape_mesher.h127 Shape* _shape; variable
177 _shape (nullptr), in _separate_shells()
210 … for( All_cells_iterator cit = _shape->all_cells_begin(); cit != _shape->all_cells_end(); ++cit ) in operator()
330 if (_shape != nullptr) in deinit_shape()
332 delete _shape; in deinit_shape() local
333 _shape = nullptr; in deinit_shape()
351 switch(_shape->classify (*fit)) in collect_facets()
376 switch (_shape->classify(*fit)) in collect_facets_quick()
436 : _shape->mirror_facet (f); in mark_opposite_handled()
565 for (Cell_iterator cit = _shape->cells_begin (); cit != _shape->cells_end (); ++ cit) in detect_bubbles()
[all …]
/dports/graphics/gnash/gnash-2b3bdede0305c4fc3ad21a0a4197330606c9b880/libcore/
H A DBitmap.cpp43 _shape.setBounds(SWFRect(0, 0, in Bitmap()
58 _shape.setBounds(def->get_frame_size()); in Bitmap()
92 const size_t fillLeft = _shape.addFillStyle(fill); in construct()
100 _shape.add_path(bmpath); in construct()
101 _shape.setBounds(SWFRect(0, 0, w, h)); in construct()
102 _shape.finalize(); in construct()
121 _shape.display(renderer, xform); in display()
141 return _shape.getBounds(); in getBounds()
154 _shape.clear(); in update()
H A DMorphShape.cpp35 _shape(_def->shape1()) in MorphShape()
56 if (!_shape.getBounds().point_test(lp.x, lp.y)) return false; in pointInShape()
58 return _shape.pointTest(lp.x, lp.y, wm); in pointInShape()
68 _def->display(renderer, _shape, xform); in display()
82 SWFRect bounds = _shape.getBounds(); in getBounds()
90 _shape.setLerp(_def->shape1(), _def->shape2(), currentRatio()); in morph()
H A DDynamicShape.cpp41 _shape.clear(); in clear()
51 renderer.drawShape(_shape, xform); in display()
86 _shape.addSubshape(_currsubshape); in endFill()
124 _shape.addSubshape(_currsubshape); in startNewPath()
153 _shape.addSubshape(_currsubshape); in finalize()
204 SWFRect bounds = _shape.getBounds(); in lineTo()
216 _shape.setBounds(bounds); in lineTo()
235 SWFRect bounds = _shape.getBounds(); in curveTo()
250 _shape.setBounds(bounds); in curveTo()
/dports/devel/libdap/libdap-3.20.8/
H A DArray.cc79 _shape = a._shape; in _duplicate()
106 for (Dim_citer i = _shape.begin(); i != _shape.end(); i++) { in update_length()
432 std::vector<dimension>::iterator i = _shape.begin(), e = _shape.end(); in update_dimension_pointers()
525 _shape.push_back(d); in append_dim()
547 _shape.insert(_shape.begin(), d); in prepend_dim()
556 _shape.insert(_shape.begin(), d); in prepend_dim()
566 _shape.clear(); in clear_all_dims()
576 std::vector<dimension>::iterator i = _shape.begin(), e = _shape.end(); in rename_dim()
597 for (Dim_iter i = _shape.begin(); i != _shape.end(); i++) { in reset_constraint()
869 for (Dim_iter i = _shape.begin(); i != _shape.end(); i++) {
[all …]
/dports/devel/ChipmunkPhysics/Chipmunk-7.0.1/objectivec/src/
H A DChipmunkShape.m191 @synthesize shape = _shape;
197 _shape = [shape retain];
205 [_shape release];
212 cpCircleShape _shape;
221 - (cpShape *)shape {return (cpShape *)&_shape;}
240 cpSegmentShape _shape;
248 - (cpShape *)shape {return (cpShape *)&_shape;}
253 cpSegmentShapeInit(&_shape, body.body, a, b, radius);
274 cpPolyShape _shape;
292 - (cpShape *)shape {return (cpShape *)&_shape;}
[all …]
/dports/editors/calligra/calligra-3.2.1/braindump/src/
H A DLayout.h40 void addShape(KoShape* _shape);
41 void removeShape(KoShape* _shape);
51 virtual void shapesAdded(QList<KoShape*> _shape);
55 virtual void shapeAdded(KoShape* _shape) = 0;
59 virtual void shapeRemoved(KoShape* _shape) = 0;
63 virtual void shapeGeometryChanged(KoShape* _shape) = 0;
H A DLayout.cpp136 void Layout::addShape(KoShape* _shape) in addShape() argument
138 Q_ASSERT(!d->shapes.contains(_shape)); in addShape()
139 d->shapes.push_back(_shape); in addShape()
140 shapeAdded(_shape); in addShape()
141 _shape->addDependee(d); in addShape()
145 void Layout::removeShape(KoShape* _shape) in removeShape() argument
147 _shape->removeDependee(d); in removeShape()
148 d->shapes.removeAll(_shape); in removeShape()
149 shapeRemoved(_shape); in removeShape()
/dports/math/py-pandas/pandas-1.2.5/pandas/util/
H A D_doctools.py24 def _shape(self, df: pd.DataFrame) -> Tuple[int, int]: member in TablePlotter
37 vcells = max(sum(self._shape(df)[0] for df in left), self._shape(right)[0])
38 hcells = max(self._shape(df)[1] for df in left) + self._shape(right)[1]
40 vcells = max([self._shape(df)[0] for df in left] + [self._shape(right)[0]])
41 hcells = sum([self._shape(df)[1] for df in left] + [self._shape(right)[1]])
76 max_left_cols = max(self._shape(df)[1] for df in left)
77 max_left_rows = max(self._shape(df)[0] for df in left)
86 max_rows = max(self._shape(df)[0] for df in left + [right])
92 sp = self._shape(df)
/dports/science/py-pyosf/pyosf-1.0.5/pyosf/tests/files_orig/visual/
H A Daperture.py108 self._shape = BaseShapeStim(win=self.win, vertices=vertices,
112 self.vertices = self._shape.vertices
145 self._shape.draw()
148 self._shape.draw(keepMatrix=True) #draw without push/pop matrix
168 self._shape.size = size # a ShapeStim
186 self._shape.ori = ori # a ShapeStim
205 self._shape.pos = self.pos # a ShapeStim
230 return self._shape.posPix
235 return self._shape.sizePix
244 if self._shape._needVertexUpdate:
[all …]
/dports/graphics/py-imageio/imageio-2.9.0/imageio/plugins/
H A Dspe.py270 self._shape = (info["ydim"], info["xdim"])
284 l //= self._shape[0] * self._shape[1] * self._dtype.itemsize
370 self._meta["frame_shape"] = self._shape
426 count=self._shape[0] * self._shape[1] * self._len,
428 data = data.reshape((self._len,) + self._shape)
432 + index * self._shape[0] * self._shape[1] * self._dtype.itemsize
435 self._file, dtype=self._dtype, count=self._shape[0] * self._shape[1]
437 data = data.reshape(self._shape)
/dports/graphics/opensubdiv/OpenSubdiv-3_4_4/examples/common/
H A DobjAnim.cpp36 ObjAnim::ObjAnim() : _shape(0) { in ObjAnim()
41 delete _shape; in ~ObjAnim()
49 if ( _positions.empty() || (! _shape)) { in InterpolatePositions()
125 anim->_shape = shape; in Create()
129 if (shape->verts.size() != anim->_shape->verts.size()) { in Create()
134 if (shape->nvertsPerFace.size() != anim->_shape->nvertsPerFace.size()) { in Create()
139 if (shape->faceverts.size() != anim->_shape->faceverts.size()) { in Create()
/dports/science/py-chainer/chainer-7.8.0/chainer/functions/array/
H A Dbroadcast.py68 self._shape = tuple(shape)
73 ndim = type_check.make_variable(len(self._shape), 'len(shape)')
79 if shape[i] == self._shape[i] or shape[i] == 1:
81 expect = 'in_type[0].shape[%d] == %d' % (i, self._shape[i])
82 if self._shape[i] != 1:
95 return xp.broadcast_to(x, self._shape),
98 dummy = xp.empty(self._shape)
/dports/net-p2p/bazarr/bazarr-1.0.2/libs/rich/
H A Dlive_render.py33 self._shape: Optional[Tuple[int, int]] = None
49 if self._shape is not None:
50 _, height = self._shape
70 if self._shape is not None:
71 _, height = self._shape
104 self._shape = shape
/dports/textproc/py-rich/rich-10.16.1/rich/
H A Dlive_render.py37 self._shape: Optional[Tuple[int, int]] = None
53 if self._shape is not None:
54 _, height = self._shape
74 if self._shape is not None:
75 _, height = self._shape
107 self._shape = shape
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osg/
H A DShapeDrawable.cpp45 if (_shape==shape) return; in setShape()
47 _shape = shape; in setShape()
81 if (dynamic_cast<KdTree*>(_shape.get())!=0) return; in build()
93 if (_shape) in build()
96 _shape->accept(dsv); in build()
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/interfaces/cython/cantera/
H A Dcomposite.py526 if len(self._shape) == 1:
544 or np.array(v).shape[:len(self._shape)] == self._shape):
618 elif new.shape[:len(self._shape)] != self._shape:
657 if len(self._shape) != 1:
757 if len(self._shape) != 1:
817 if self._shape != (0,) and self._shape != (rows,):
929 if self._shape == (0,):
933 self._shape = (rows,)
1381 a = np.empty(self._shape)
1382 b = np.empty(self._shape)
[all …]

12345678910>>...42