Home
last modified time | relevance | path

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

12

/external/ceres-solver/internal/ceres/
Dresidual_block_test.cc67 jacobian.setConstant(k); in Evaluate()
121 VectorRef(residuals, 3).setConstant(0.0); in TEST()
127 jacobian_rx.setConstant(-1.0); in TEST()
128 jacobian_ry.setConstant(-1.0); in TEST()
129 jacobian_rz.setConstant(-1.0); in TEST()
149 VectorRef(residuals, 3).setConstant(0.0); in TEST()
150 jacobian_rx.setConstant(-1.0); in TEST()
151 jacobian_ry.setConstant(-1.0); in TEST()
152 jacobian_rz.setConstant(-1.0); in TEST()
193 jacobian.col(j).setConstant(j); in Evaluate()
[all …]
Devaluator_test.cc86 jacobian.col(j).setConstant(kFactor * (j + 1)); in Evaluate()
150 residuals.setConstant(-2000); in EvaluateAndCompare()
153 gradient.setConstant(-3000); in EvaluateAndCompare()
211 sparse_matrix->num_nonzeros()).setConstant(value); in SetSparseMatrixConstant()
/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.cpp108 VERIFY_IS_APPROX(m4.setConstant(s1), m3); in cwiseops()
109 VERIFY_IS_APPROX(m4.setConstant(rows,cols,s1), m3); in cwiseops()
117 VERIFY_IS_APPROX(v3.setConstant(rows, s1), VectorType::Constant(rows,s1)); in cwiseops()
/external/eigen/Eigen/src/Core/
DCwiseNullaryOp.h324 setConstant(val);
332 EIGEN_STRONG_INLINE Derived& DenseBase<Derived>::setConstant(const Scalar& val)
348 PlainObjectBase<Derived>::setConstant(Index size, const Scalar& val)
351 return setConstant(val);
367 PlainObjectBase<Derived>::setConstant(Index nbRows, Index nbCols, const Scalar& val)
370 return setConstant(val);
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)); }
/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/Eigen/src/MetisSupport/
DMetisSupport.h38 visited.setConstant(-1); in get_symmetrized_graph()
69 visited.setConstant(-1); in get_symmetrized_graph()
/external/eigen/doc/snippets/
DMatrix_setConstant_int_int.cpp2 m.setConstant(3, 3, 5);
DMatrix_setConstant_int.cpp2 v.setConstant(3, 5);
/external/eigen/test/eigen2/
Deigen2_cwiseop.cpp61 VERIFY_IS_APPROX(m4.setConstant(s1), m3); in cwiseops()
62 VERIFY_IS_APPROX(m4.setConstant(rows,cols,s1), m3); in cwiseops()
70 VERIFY_IS_APPROX(v3.setConstant(rows, s1), VectorType::Constant(rows,s1)); in cwiseops()
/external/eigen/Eigen/src/SparseCore/
DSparseColEtree.h75 firstRowElt.setConstant(nc);
189 first_kid.setConstant(-1); in treePostorder()
/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/unsupported/test/
DNonLinearOptimization.cpp173 x.setConstant(n, 1.); in testLmder1()
202 x.setConstant(n, 1.); in testLmder()
287 x.setConstant(n, -1.); in testHybrj1()
319 x.setConstant(n, -1.); in testHybrj()
325 solver.diag.setConstant(n, 1.); in testHybrj()
376 x.setConstant(n, -1.); in testHybrd1()
403 x.setConstant(n, -1.); in testHybrd()
410 solver.diag.setConstant(n, 1.); in testHybrd()
478 x.setConstant(n, 1.); in testLmstr1()
507 x.setConstant(n, 1.); in testLmstr()
[all …]
Dlevenberg_marquardt.cpp66 x.setConstant(n, 1.); in testLmder1()
95 x.setConstant(n, 1.); in testLmder()
168 x.setConstant(n, 1.); in testLmdif1()
198 x.setConstant(n, 1.); in testLmdif()
/external/eigen/Eigen/src/SparseLU/
DSparseLU.h513 repfnz.setConstant(-1); in factorize()
514 panel_lsub.setConstant(-1); in factorize()
534 m_perm_r.indices().setConstant(-1); in factorize()
535 marker.setConstant(-1); in factorize()
538 m_glu.supno(0) = emptyIdxLU; m_glu.xsup.setConstant(0); in factorize()
DSparseLU_relax_snode.h52 relax_end.setConstant(emptyIdxLU); in relax_snode()
DSparseLU_heap_relax_snode.h67 relax_end.setConstant(emptyIdxLU); in heap_relax_snode()
/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/IR/
DGlobalVariable.h145 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()
373 diag.setConstant(n, 1.); in hybrd1()

12