Home
last modified time | relevance | path

Searched refs:setConstant (Results 1 – 25 of 28) sorted by relevance

12

/external/eigen/test/
Dbandmatrix.cpp29 m.diagonal().setConstant(123); in bandmatrix()
30 dm1.diagonal().setConstant(123); in bandmatrix()
33 m.diagonal(i).setConstant(static_cast<RealScalar>(i)); in bandmatrix()
34 dm1.diagonal(i).setConstant(static_cast<RealScalar>(i)); in bandmatrix()
38 m.diagonal(-i).setConstant(-static_cast<RealScalar>(i)); in bandmatrix()
39 dm1.diagonal(-i).setConstant(-static_cast<RealScalar>(i)); in bandmatrix()
46 m.col(i).setConstant(static_cast<RealScalar>(i+1)); in bandmatrix()
47 dm1.col(i).setConstant(static_cast<RealScalar>(i+1)); in bandmatrix()
Dcwiseop.cpp71 VERIFY_IS_APPROX(m4.setConstant(s1), m3); in cwiseops()
72 VERIFY_IS_APPROX(m4.setConstant(rows,cols,s1), m3); in cwiseops()
80 VERIFY_IS_APPROX(v3.setConstant(rows, s1), VectorType::Constant(rows,s1)); in cwiseops()
/external/eigen/Eigen/src/Core/
DCwiseNullaryOp.h324 setConstant(value);
332 EIGEN_STRONG_INLINE Derived& DenseBase<Derived>::setConstant(const Scalar& value)
348 PlainObjectBase<Derived>::setConstant(Index size, const Scalar& value)
351 return setConstant(value);
367 PlainObjectBase<Derived>::setConstant(Index rows, Index cols, const Scalar& value)
370 return setConstant(value);
501 return setConstant(Scalar(0));
518 return setConstant(Scalar(0));
536 return setConstant(Scalar(0));
627 return setConstant(Scalar(1));
[all …]
DTriangularMatrix.h210 void fill(const Scalar& value) { setConstant(value); }
212 TriangularView& setConstant(const Scalar& value)
215 TriangularView& setZero() { return setConstant(Scalar(0)); }
217 TriangularView& setOnes() { return setConstant(Scalar(1)); }
DPlainObjectBase.h519 using Base::setConstant;
520 Derived& setConstant(Index size, const Scalar& value);
521 Derived& setConstant(Index rows, Index cols, const Scalar& value);
DDenseBase.h342 Derived& setConstant(const Scalar& value);
/external/eigen/bench/
Dvdw_new.cpp46 interactions1.setConstant(2.4); in main()
47 interactions2.setConstant(rab); in main()
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/
DCamera.java327 worldPlane[i].setConstant(cam.worldPlane[i].getConstant()); in copyFrom()
1227 worldPlane[LEFT_PLANE].setConstant(location.dot(leftPlaneNormal)); in onFrameChange()
1236 worldPlane[RIGHT_PLANE].setConstant(location.dot(rightPlaneNormal)); in onFrameChange()
1245 worldPlane[BOTTOM_PLANE].setConstant(location.dot(bottomPlaneNormal)); in onFrameChange()
1254 worldPlane[TOP_PLANE].setConstant(location.dot(topPlaneNormal)); in onFrameChange()
1257 worldPlane[LEFT_PLANE].setConstant(worldPlane[LEFT_PLANE].getConstant() + frustumLeft); in onFrameChange()
1258 … worldPlane[RIGHT_PLANE].setConstant(worldPlane[RIGHT_PLANE].getConstant() - frustumRight); in onFrameChange()
1259 worldPlane[TOP_PLANE].setConstant(worldPlane[TOP_PLANE].getConstant() - frustumTop); in onFrameChange()
1260 … worldPlane[BOTTOM_PLANE].setConstant(worldPlane[BOTTOM_PLANE].getConstant() + frustumBottom); in onFrameChange()
1266 worldPlane[FAR_PLANE].setConstant(-(dirDotLocation + frustumFar)); in onFrameChange()
[all …]
/external/eigen/doc/snippets/
DMatrix_setConstant_int_int.cpp2 m.setConstant(3, 3, 5);
DMatrix_setConstant_int.cpp2 v.setConstant(3, 5);
/external/eigen/Eigen/src/Eigen2Support/Geometry/
DAlignedBox.h61 m_min.setConstant( (std::numeric_limits<Scalar>::max)()); in setNull()
62 m_max.setConstant(-(std::numeric_limits<Scalar>::max)()); in setNull()
DScaling.h55 explicit inline Scaling(const Scalar& s) { m_coeffs.setConstant(s); } in Scaling()
/external/eigen/test/eigen2/
Deigen2_cwiseop.cpp64 VERIFY_IS_APPROX(m4.setConstant(s1), m3); in cwiseops()
65 VERIFY_IS_APPROX(m4.setConstant(rows,cols,s1), m3); in cwiseops()
73 VERIFY_IS_APPROX(v3.setConstant(rows, s1), VectorType::Constant(rows,s1)); in cwiseops()
/external/eigen/unsupported/test/
DNonLinearOptimization.cpp171 x.setConstant(n, 1.); in testLmder1()
200 x.setConstant(n, 1.); in testLmder()
285 x.setConstant(n, -1.); in testHybrj1()
317 x.setConstant(n, -1.); in testHybrj()
323 solver.diag.setConstant(n, 1.); in testHybrj()
374 x.setConstant(n, -1.); in testHybrd1()
401 x.setConstant(n, -1.); in testHybrd()
408 solver.diag.setConstant(n, 1.); in testHybrd()
476 x.setConstant(n, 1.); in testLmstr1()
505 x.setConstant(n, 1.); in testLmstr()
[all …]
/external/jmonkeyengine/engine/src/core-effects/com/jme3/water/
DSimpleWaterProcessor.java383 this.plane.setConstant(plane.getConstant()); in setPlane()
400 … reflectionClipPlane.setConstant(reflectionClipPlane.getConstant() + reflectionClippingOffset); in updateClipPlanes()
402 … refractionClipPlane.setConstant(refractionClipPlane.getConstant() + refractionClippingOffset); in updateClipPlanes()
/external/llvm/include/llvm/
DGlobalVariable.h146 void setConstant(bool Val) { isConstantGlobal = Val; } in setConstant() function
/external/eigen/Eigen/src/Geometry/
DAlignedBox.h96 m_min.setConstant( ScalarTraits::highest() ); in setEmpty()
97 m_max.setConstant( ScalarTraits::lowest() ); in setEmpty()
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DPlane.java133 public void setConstant(float constant) { in setConstant() method in Plane
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/
DHybridNonLinearSolver.h136 diag.setConstant(n, 1.); in hybrj1()
371 diag.setConstant(n, 1.); in hybrd1()
/external/eigen/Eigen/src/Eigenvalues/
DRealSchur.h370 shiftInfo.setConstant(Scalar(0.964)); in computeShift()
/external/eigen/doc/
DQuickReference.dox221 x.setConstant(value);
239 x.setConstant(rows, cols, value);
257 x.setConstant(size, value);
/external/clang/lib/CodeGen/
DCGDecl.cpp230 GV->setConstant(false); in AddInitializerToStaticVarDecl()
264 GV->setConstant(CGM.isTypeConstant(D.getType(), true)); in AddInitializerToStaticVarDecl()
DCodeGenModule.cpp1235 GV->setConstant(isTypeConstant(D->getType(), false)); in GetOrCreateLLVMGlobal()
1662 GV->setConstant(!NeedsGlobalCtor && !NeedsGlobalDtor && in EmitGlobalVarDefinition()
1673 GV->setConstant(false); in EmitGlobalVarDefinition()
/external/llvm/lib/Linker/
DLinkModules.cpp739 DGVar->setConstant(true); in linkGlobalProto()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp1987 GV->setConstant(true); in ProcessInternalGlobal()
2895 (*I)->setConstant(true); in EvaluateStaticConstructor()

12