Home
last modified time | relevance | path

Searched refs:shape2 (Results 1 – 25 of 923) sorted by relevance

12345678910>>...37

/dports/misc/elki/elki-release0.7.1-1166-gfb1fffdf3/elki-core-math/src/main/java/de/lmu/ifi/dbs/elki/math/statistics/distribution/
H A DKappaDistribution.java48 double shape1, shape2; field in KappaDistribution
76 this.shape2 = shape2; in KappaDistribution()
77 if(shape2 >= 0.) { in KappaDistribution()
103 this.shape2 = shape2; in KappaDistribution()
104 if(shape2 >= 0.) { in KappaDistribution()
210 return shape2 == 0 ? 1 : 0.; in cdf()
217 if(shape2 == 0.) { in cdf()
269 if(shape2 == 0.) { in logcdf()
296 if(shape2 <= 0.) { in quantile()
309 if(shape2 != 0.) { in quantile()
[all …]
/dports/graphics/krita/krita-4.4.8/libs/flake/tests/
H A DTestShapeReorderCommand.cpp38 MockShape shape2; in testZIndexSorting() local
44 shape2.setZIndex(5); in testZIndexSorting()
51 shapes.append(&shape2); in testZIndexSorting()
68 MockShape shape2; in testRunThroughSorting() local
74 shape2.setZIndex(5); in testRunThroughSorting()
112 shape2->setZIndex(5); in testParentChildSorting()
173 delete shape2; in testParentChildSorting()
186 shape2.setZIndex(2); in testBringToFront()
223 shape2.setZIndex(2); in testSendToBack()
260 shape2.setZIndex(2); in testMoveUp()
[all …]
H A DTestShapeAt.cpp35 MockShape shape2; in test() local
52 shape2.setPosition(QPointF(80, 80)); in test()
53 shape2.setSize(QSizeF(50, 50)); in test()
54 shape2.setZIndex(1); in test()
55 manager.addShape(&shape2); in test()
58 QCOMPARE(manager.shapeAt(QPointF(90, 90)), &shape2); in test()
59 QCOMPARE(manager.shapeAt(QPointF(105, 105)), &shape2); // the one on top in test()
65 manager.selection()->select(&shape2); in test()
68 QCOMPARE(manager.shapeAt(QPointF(90, 90)), &shape2); in test()
80 QCOMPARE(manager.shapeAt(QPointF(90, 90)), &shape2); in test()
[all …]
H A DTestShapePainting.cpp35 MockShape *shape2 = new MockShape(); in testPaintShape() local
39 container->addShape(shape2); in testPaintShape()
58 QCOMPARE(shape2->paintedCount, 1); in testPaintShape()
63 shape2->paintedCount = 0; in testPaintShape()
68 QCOMPARE(shape2->paintedCount, 0); in testPaintShape()
78 shape2->paintedCount = 0; in testPaintShape()
151 shape2->setZIndex(0); in testPaintOrder()
153 top->addShape(shape2); in testPaintOrder()
183 QVERIFY(order[2] == shape2); in testPaintOrder()
200 QVERIFY(order[2] == shape2); in testPaintOrder()
[all …]
/dports/editors/calligra/calligra-3.2.1/libs/flake/tests/
H A DTestShapeReorderCommand.cpp40 MockShape shape2; in testZIndexSorting() local
46 shape2.setZIndex(5); in testZIndexSorting()
53 shapes.append(&shape2); in testZIndexSorting()
70 MockShape shape2; in testRunThroughSorting() local
76 shape2.setZIndex(5); in testRunThroughSorting()
114 shape2->setZIndex(5); in testParentChildSorting()
175 delete shape2; in testParentChildSorting()
188 shape2.setZIndex(2); in testBringToFront()
225 shape2.setZIndex(2); in testSendToBack()
262 shape2.setZIndex(2); in testMoveUp()
[all …]
H A DTestShapeAt.cpp34 MockShape shape2; in test() local
51 shape2.setPosition(QPointF(80, 80)); in test()
52 shape2.setSize(QSizeF(50, 50)); in test()
53 shape2.setZIndex(1); in test()
54 manager.addShape(&shape2); in test()
57 QCOMPARE(manager.shapeAt(QPointF(90, 90)), &shape2); in test()
58 QCOMPARE(manager.shapeAt(QPointF(105, 105)), &shape2); // the one on top in test()
64 manager.selection()->select(&shape2); in test()
67 QCOMPARE(manager.shapeAt(QPointF(90, 90)), &shape2); in test()
79 QCOMPARE(manager.shapeAt(QPointF(90, 90)), &shape2); in test()
[all …]
H A DTestShapePainting.cpp36 MockShape *shape2 = new MockShape(); in testPaintShape() local
40 container->addShape(shape2); in testPaintShape()
60 QCOMPARE(shape2->paintedCount, 1); in testPaintShape()
65 shape2->paintedCount = 0; in testPaintShape()
70 QCOMPARE(shape2->paintedCount, 0); in testPaintShape()
80 shape2->paintedCount = 0; in testPaintShape()
88 QCOMPARE(shape2->paintedCount, 1); in testPaintShape()
155 shape2->setZIndex(0); in testPaintOrder()
157 top->addShape(shape2); in testPaintOrder()
188 QVERIFY(order[2] == shape2); in testPaintOrder()
[all …]
/dports/graphics/mapserver/mapserver-7.6.4/
H A Dmapgeos.c995 shape2->geometry = (GEOSGeom) msGEOSShape2Geometry(shape2); in msGEOSUnion()
1022 shape2->geometry = (GEOSGeom) msGEOSShape2Geometry(shape2); in msGEOSIntersection()
1049 shape2->geometry = (GEOSGeom) msGEOSShape2Geometry(shape2); in msGEOSDifference()
1076 shape2->geometry = (GEOSGeom) msGEOSShape2Geometry(shape2); in msGEOSSymDifference()
1111 shape2->geometry = (GEOSGeom) msGEOSShape2Geometry(shape2); in msGEOSContains()
1142 shape2->geometry = (GEOSGeom) msGEOSShape2Geometry(shape2); in msGEOSOverlaps()
1173 shape2->geometry = (GEOSGeom) msGEOSShape2Geometry(shape2); in msGEOSWithin()
1204 shape2->geometry = (GEOSGeom) msGEOSShape2Geometry(shape2); in msGEOSCrosses()
1235 shape2->geometry = (GEOSGeom) msGEOSShape2Geometry(shape2); in msGEOSIntersects()
1287 shape2->geometry = (GEOSGeom) msGEOSShape2Geometry(shape2); in msGEOSTouches()
[all …]
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/src/operator/
H A Dl2_normalization.cc84 for (int shape2 = 0; shape2 < static_cast<int>(dshape[2]); shape2++) { in Forward() local
85 norm[shape0][shape2] = DType(this->param_.eps); in Forward()
87 norm[shape0][shape2] += data[shape0][shape1][shape2] * data[shape0][shape1][shape2]; in Forward()
89 norm[shape0][shape2] = std::sqrt(norm[shape0][shape2]); in Forward()
91 out[shape0][shape1][shape2] = data[shape0][shape1][shape2] / norm[shape0][shape2]; in Forward()
110 for (int shape2 = 0; shape2 < static_cast<int>(dshape[2]); shape2++) { in Forward() local
111 norm[shape0][shape1] += data[shape0][shape1][shape2] * data[shape0][shape1][shape2]; in Forward()
114 for (int shape2 = 0; shape2 < static_cast<int>(dshape[2]); shape2++) { in Forward() local
115 out[shape0][shape1][shape2] = data[shape0][shape1][shape2] / norm[shape0][shape1]; in Forward()
/dports/misc/mxnet/incubator-mxnet-1.9.0/src/operator/
H A Dl2_normalization.cc84 for (int shape2 = 0; shape2 < static_cast<int>(dshape[2]); shape2++) { in Forward() local
85 norm[shape0][shape2] = DType(this->param_.eps); in Forward()
87 norm[shape0][shape2] += data[shape0][shape1][shape2] * data[shape0][shape1][shape2]; in Forward()
89 norm[shape0][shape2] = std::sqrt(norm[shape0][shape2]); in Forward()
91 out[shape0][shape1][shape2] = data[shape0][shape1][shape2] / norm[shape0][shape2]; in Forward()
110 for (int shape2 = 0; shape2 < static_cast<int>(dshape[2]); shape2++) { in Forward() local
111 norm[shape0][shape1] += data[shape0][shape1][shape2] * data[shape0][shape1][shape2]; in Forward()
114 for (int shape2 = 0; shape2 < static_cast<int>(dshape[2]); shape2++) { in Forward() local
115 out[shape0][shape1][shape2] = data[shape0][shape1][shape2] / norm[shape0][shape1]; in Forward()
/dports/science/wxmacmolplt/wxmacmolplt-7.7-43-g9a46f7a/src/ming-src/blocks/
H A Dmorph.c38 SWFShape shape2; member
52 SWFShape shape2 = morph->shape2; in completeSWFMorphBlock() local
60 SWFShape_end(shape2); in completeSWFMorphBlock()
66 if(shape_version != SWFShape_getVersion(shape2)) in completeSWFMorphBlock()
90 if(flags != SWFShape_getFlags(shape2)) in completeSWFMorphBlock()
100 SWFShape_getFills(shape2, &fills2, &nFills2); in completeSWFMorphBlock()
107 SWFShape_getLines(shape2, &lines2, &nLines2); in completeSWFMorphBlock()
173 return morph->shape2; in SWFMorph_getShape2()
196 morph->shape2 = newSWFShape(); in newSWFMorphShape()
197 BLOCK(morph->shape2)->type = SWF_END; in newSWFMorphShape()
[all …]
/dports/graphics/ming/libming-ming-0_4_8/src/blocks/
H A Dmorph.c38 SWFShape shape2; member
52 SWFShape shape2 = morph->shape2; in completeSWFMorphBlock() local
60 SWFShape_end(shape2); in completeSWFMorphBlock()
66 if(shape_version != SWFShape_getVersion(shape2)) in completeSWFMorphBlock()
90 if(flags != SWFShape_getFlags(shape2)) in completeSWFMorphBlock()
100 SWFShape_getFills(shape2, &fills2, &nFills2); in completeSWFMorphBlock()
107 SWFShape_getLines(shape2, &lines2, &nLines2); in completeSWFMorphBlock()
173 return morph->shape2; in SWFMorph_getShape2()
196 morph->shape2 = newSWFShape(); in newSWFMorphShape()
197 BLOCK(morph->shape2)->type = SWF_END; in newSWFMorphShape()
[all …]
/dports/graphics/p5-ming/libming-ming-0_4_8/src/blocks/
H A Dmorph.c38 SWFShape shape2; member
52 SWFShape shape2 = morph->shape2; in completeSWFMorphBlock() local
60 SWFShape_end(shape2); in completeSWFMorphBlock()
66 if(shape_version != SWFShape_getVersion(shape2)) in completeSWFMorphBlock()
90 if(flags != SWFShape_getFlags(shape2)) in completeSWFMorphBlock()
100 SWFShape_getFills(shape2, &fills2, &nFills2); in completeSWFMorphBlock()
107 SWFShape_getLines(shape2, &lines2, &nLines2); in completeSWFMorphBlock()
173 return morph->shape2; in SWFMorph_getShape2()
196 morph->shape2 = newSWFShape(); in newSWFMorphShape()
197 BLOCK(morph->shape2)->type = SWF_END; in newSWFMorphShape()
[all …]
/dports/graphics/py-ming/libming-ming-0_4_8/src/blocks/
H A Dmorph.c38 SWFShape shape2; member
52 SWFShape shape2 = morph->shape2; in completeSWFMorphBlock() local
60 SWFShape_end(shape2); in completeSWFMorphBlock()
66 if(shape_version != SWFShape_getVersion(shape2)) in completeSWFMorphBlock()
90 if(flags != SWFShape_getFlags(shape2)) in completeSWFMorphBlock()
100 SWFShape_getFills(shape2, &fills2, &nFills2); in completeSWFMorphBlock()
107 SWFShape_getLines(shape2, &lines2, &nLines2); in completeSWFMorphBlock()
173 return morph->shape2; in SWFMorph_getShape2()
196 morph->shape2 = newSWFShape(); in newSWFMorphShape()
197 BLOCK(morph->shape2)->type = SWF_END; in newSWFMorphShape()
[all …]
/dports/science/chrono/chrono-7.0.1/src/tests/unit_tests/collision/
H A Dutest_COLL_narrow_prims.cpp370 shape2->position = pos2; in TEST_P()
372 shape2->rotation = rot2; in TEST_P()
427 shape2->position = pos2; in TEST_P()
429 shape2->rotation = rot2; in TEST_P()
485 shape2->position = pos2; in TEST_P()
487 shape2->rotation = rot2; in TEST_P()
552 shape2->position = pos2; in TEST_P()
554 shape2->rotation = rot2; in TEST_P()
618 shape2->position = pos2; in TEST_P()
620 shape2->rotation = rot2; in TEST_P()
[all …]
/dports/graphics/libprojectm/projectm-3.1.12/src/NativePresets/
H A DRovastarDriftingChaos.cpp20 Shape shape1, shape2, shape3; member in RovastarDriftingChaos
29 drawables.push_back(&shape2); in RovastarDriftingChaos()
42 shape2.sides = 32; in RovastarDriftingChaos()
43 shape2.radius=0.40000; in RovastarDriftingChaos()
44 shape2.a = 1.0; in RovastarDriftingChaos()
45 shape2.a2 = 0.3; in RovastarDriftingChaos()
46 shape2.border_r = 1.0; in RovastarDriftingChaos()
47 shape2.border_g = 1.0; in RovastarDriftingChaos()
48 shape2.border_b = 1.0; in RovastarDriftingChaos()
49 shape2.border_a = 0.2; in RovastarDriftingChaos()
[all …]
H A DRLGFractalDrop7c.cpp20 Shape shape1,shape2,shape3,shape4; member in RLGFractalDrop7c
29 drawables.push_back(&shape2); in RLGFractalDrop7c()
75 shape2.sides =100; in RLGFractalDrop7c()
76 shape2.additive = true; in RLGFractalDrop7c()
77 shape2.textured = true; in RLGFractalDrop7c()
79 shape2.radius = 0.897961; in RLGFractalDrop7c()
80 shape2.ang = 3.644249; in RLGFractalDrop7c()
81 shape2.a = 0.5; in RLGFractalDrop7c()
82 shape2.a2 = 1; in RLGFractalDrop7c()
118 shape2.x = 0.37 + 0.07*sin(movement*0.15+3); in Render()
[all …]
H A DRovastarDarkSecret.cpp53 shape2.sides = 4; in RovastarDarkSecret()
54 shape2.additive = true; in RovastarDarkSecret()
55 shape2.radius=1.621747; in RovastarDarkSecret()
56 shape2.textured = true; in RovastarDarkSecret()
57 shape2.tex_zoom = 0.424973; in RovastarDarkSecret()
58 shape2.a = 1; in RovastarDarkSecret()
59 shape2.border_a = 0.0; in RovastarDarkSecret()
60 shape2.r = 1; in RovastarDarkSecret()
61 shape2.g = 0; in RovastarDarkSecret()
62 shape2.b = 1; in RovastarDarkSecret()
[all …]
/dports/graphics/tesseract/tesseract-5.0.0/unittest/
H A Dshapetable_test.cc79 Shape shape2; in TEST_F()
80 EXPECT_TRUE(shape2.DeSerialize(&tfp)); in TEST_F()
81 Expect352(101, shape2); in TEST_F()
83 EXPECT_TRUE(shape1.IsSubsetOf(shape2)); in TEST_F()
84 EXPECT_TRUE(shape2.IsSubsetOf(shape1)); in TEST_F()
89 Expect352(101, shape2); in TEST_F()
103 Shape shape2; in TEST_F()
108 EXPECT_FALSE(shape1.IsSubsetOf(shape2)); in TEST_F()
109 EXPECT_FALSE(shape2.IsSubsetOf(shape1)); in TEST_F()
111 shape1.AddShape(shape2); in TEST_F()
[all …]
/dports/math/R-cran-VGAM/VGAM/man/
H A DlinoUC.Rd15 dlino(x, shape1, shape2, lambda = 1, log = FALSE)
16 plino(q, shape1, shape2, lambda = 1, lower.tail = TRUE, log.p = FALSE)
17 qlino(p, shape1, shape2, lambda = 1, lower.tail = TRUE, log.p = FALSE)
18 rlino(n, shape1, shape2, lambda = 1)
28 \item{shape1, shape2, lambda}{ see \code{\link{lino}}. }
83 lambda <- 0.4; shape1 <- exp(1.3); shape2 <- exp(1.3)
85 plot(x, dlino(x, shape1 = shape1, shape2 = shape2, lambda = lambda),
90 lines(x, plino(x, shape1 = shape1, shape2 = shape2, l = lambda), col = "red")
92 Q <- qlino(probs, shape1 = shape1, shape2 = shape2, lambda = lambda)
93 lines(Q, dlino(Q, shape1 = shape1, shape2 = shape2, lambda = lambda),
[all …]
H A DkumarUC.Rd14 dkumar(x, shape1, shape2, log = FALSE)
15 pkumar(q, shape1, shape2, lower.tail = TRUE, log.p = FALSE)
16 qkumar(p, shape1, shape2, lower.tail = TRUE, log.p = FALSE)
17 rkumar(n, shape1, shape2)
26 \item{shape1, shape2}{ positive shape parameters. }
62 shape1 <- 2; shape2 <- 2; nn <- 201; # shape1 <- shape2 <- 0.5;
64 plot(x, dkumar(x, shape1, shape2), type = "l", las = 1, ylim = c(0,1.5),
65 ylab = paste("fkumar(shape1 = ", shape1, ", shape2 = ", shape2, ")"),
69 lines(x, pkumar(x, shape1, shape2), col = "orange")
71 Q <- qkumar(probs, shape1, shape2)
[all …]
H A DdagumUC.Rd16 ddagum(x, scale = 1, shape1.a, shape2.p, log = FALSE)
17 pdagum(q, scale = 1, shape1.a, shape2.p, lower.tail = TRUE, log.p = FALSE)
18 qdagum(p, scale = 1, shape1.a, shape2.p, lower.tail = TRUE, log.p = FALSE)
19 rdagum(n, scale = 1, shape1.a, shape2.p)
26 \item{shape1.a, shape2.p}{shape parameters.}
79 shape1.a <- 1; shape2.p <- 2
81 max(abs(pdagum(qdagum(p = probs, shape1.a = shape1.a, shape2.p = shape2.p),
82 shape1.a = shape1.a, shape2.p = shape2.p) - probs))
89 lines(x, ddagum(x, shape1.a = shape1.a, shape2.p = 2), col = "blue")
90 lines(x, ddagum(x, shape1.a = shape1.a, shape2.p = 5), col = "green")
[all …]
/dports/graphics/ming/libming-ming-0_4_8/ch/demos/
H A Dgradient.c11 SWFShape shape2; in main() local
39 shape2= newSWFShape(); in main()
46 fill2= SWFShape_addGradientFill(shape2, grad_2, SWFFILL_RADIAL_GRADIENT); in main()
49 SWFShape_setRightFill(shape2, fill2); in main()
50 SWFShape_drawLineTo(shape2, 320.00, 0.00); in main()
51 SWFShape_drawLineTo(shape2, 320.00, 240.00); in main()
52 SWFShape_drawLineTo(shape2, 0.00, 240.00); in main()
53 SWFShape_drawLineTo(shape2, 0.00, 0.00); in main()
55 timeline= SWFMovie_add(movie, (SWFBlock) shape2); in main()
/dports/graphics/p5-ming/libming-ming-0_4_8/ch/demos/
H A Dgradient.c11 SWFShape shape2; in main() local
39 shape2= newSWFShape(); in main()
46 fill2= SWFShape_addGradientFill(shape2, grad_2, SWFFILL_RADIAL_GRADIENT); in main()
49 SWFShape_setRightFill(shape2, fill2); in main()
50 SWFShape_drawLineTo(shape2, 320.00, 0.00); in main()
51 SWFShape_drawLineTo(shape2, 320.00, 240.00); in main()
52 SWFShape_drawLineTo(shape2, 0.00, 240.00); in main()
53 SWFShape_drawLineTo(shape2, 0.00, 0.00); in main()
55 timeline= SWFMovie_add(movie, (SWFBlock) shape2); in main()
/dports/graphics/py-ming/libming-ming-0_4_8/ch/demos/
H A Dgradient.c11 SWFShape shape2; in main() local
39 shape2= newSWFShape(); in main()
46 fill2= SWFShape_addGradientFill(shape2, grad_2, SWFFILL_RADIAL_GRADIENT); in main()
49 SWFShape_setRightFill(shape2, fill2); in main()
50 SWFShape_drawLineTo(shape2, 320.00, 0.00); in main()
51 SWFShape_drawLineTo(shape2, 320.00, 240.00); in main()
52 SWFShape_drawLineTo(shape2, 0.00, 240.00); in main()
53 SWFShape_drawLineTo(shape2, 0.00, 0.00); in main()
55 timeline= SWFMovie_add(movie, (SWFBlock) shape2); in main()

12345678910>>...37